| Author |
simple java code editor...
|
kasun chathuranga
Greenhorn
Joined: Apr 27, 2006
Posts: 22
|
|
I am using Ubuntu 7.10 on my PC. I want to use a simple java code editor rather than Netbeans or Eclipse. It's better if the editor provides some user friendly things like when type the left bracket, it will auto generate the right bracket and place the cursor in the middle of those. The key words are getting highlighted and small things you know... I have used such kind a editor on windows called "phpdesigner". Can somebody direct me to a free editor which runs on Ubuntu environment. thank you!
|
 |
f. nikita thomas
Ranch Hand
Joined: Mar 02, 2008
Posts: 87
|
|
|
if you google around you'll find many opensource ide's and editors. jedit comes to mind ...
|
Imagination is more important than knowledge "Albert Einstein"
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32687
|
|
|
If you are using the gnome desktop, then gedit with automatic indentation and syntax highlighting set is a very nice editor. I use it all the time.
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8263
|
|
|
I use JEdit for scripts and simple projects. It's cross platform (yea, java) so you can have the same environment in both Windows and *nix. It has a pretty good plugin library so you can add features as you need them (code completion, XML schema checking, hex editor, compiler integration to name a few).
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12924
|
|
You could just use gedit, the default text editor on your Ubuntu system. It does syntax highlighting for Java. A very nice, lightweight IDE which is very easy to use is Geany. It's in the Ubuntu repository, so it's easy to install:
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Brian Moakley
Greenhorn
Joined: Apr 12, 2007
Posts: 11
|
|
|
I used to use Kate back in the day. I liked it because it had a console embedded in the application so I could code and compile. Note, It does require the KDE libraries (btw).
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32687
|
|
|
Yes, Kate would require KDE; Kate Konqueror and Kedit work on the K desktop and gedit works on Gnome. I shall try Geany, as Jesper Young suggests; I often use Ubuntu.
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Nedit can also have syntax highlighting enabled. You'll have to do this manually once I think, then save the configuration. I don't really know since I don't program in Linux that much anymore, and if I do it's using VIM.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
G. Red
Greenhorn
Joined: Apr 10, 2008
Posts: 6
|
|
I like VIM / Gvim. It does a lot and is pretty compact, and almost always included any *nix install. However, NetBeans is awesome. You should use it (or a similar IDE) if at all possible.
|
 |
kasun chathuranga
Greenhorn
Joined: Apr 27, 2006
Posts: 22
|
|
thank x a lot!! Geany is the editor which i'm looking for....
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8263
|
|
Originally posted by Campbell Ritchie: Yes, Kate would require KDE; Kate Konqueror and Kedit work on the K desktop and gedit works on Gnome.
Just to be picky, Kate requires KDE libraries and Gedit requires Gnome libraries. You can run Gedit in KDE and Kate in Gnome if the required libraries (not necessarily the complete desktop manager) are present. For another example, Gimp, the popular image manipulation tool, is written using the Gnome libraries (GTK, Glib, and so on) and runs just fine in KDE (Kubuntu, in my case).
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32687
|
|
Originally posted by Joe Ess: Kate requires KDE libraries and Gedit requires Gnome libraries.
Oh, I never knew that. Thank you.
|
 |
 |
|
|
subject: simple java code editor...
|
|
|