• Post Reply Bookmark Topic Watch Topic
  • New Topic

Recommended text editor for writing Java  RSS feed

 
ras oscar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just finished my first java command line program. I have come to appreciate the limitations of wordpad and notepad when editing Java code. I would like some recommendations for a text editor that will produce clean code, with line numbers . Auto formatting would be a plus but is not necessary.  I am NOT looking for an IDE. I have used Netbeans and am not yet ready to resume that path.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66306
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps you should check out Sublime Text.
 
Pete Letkeman
Ranch Foreman
Posts: 904
26
Android Chrome IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe try Visual Studio Code, which you can read about here https://en.wikipedia.org/wiki/Visual_Studio_Code.
Visual Studio Code is not an IDE, it's only a source code editor according to Wikipedia.
It's free, cross platform and can support a variety of different programming languages.

In looking at this once more I came across this posting VS Code versus Atom versus VIM versus  Sublime.
So it is in the same realm as Sublime which was mentioned by Bear previously.
 
Anthony Voelker
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would say the best IDE would be IntelliJ. There is a community edition available for free and a Ultimate edition that is paid but free to students.

Best text editor? There are plenty of good text editors. My favorite would be Atom.io or Sublime.
 
Jericho Brown
Greenhorn
Posts: 1
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ras oscar wrote:.. I am NOT looking for an IDE ...


Out of curiosity, why? Is there something you dislike about IDEs?
 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch , Anthony Voelker and Jericho Brown.

We have an FAQ about editors. You do need an editor which helps with indentation; you will find things so much easier with such formatting aids. Are you using Windows®? If so, I think the best is NotePad++, though I rarely use Windows® and there might be something newer.
 
salvin francis
Bartender
Posts: 1653
37
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:think the best is NotePad++, though I rarely use Windows® and there might be something newer.

I still use windows. Yes NotePad++ is still the best.
 
Anthony Voelker
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
salvin francis wrote:
Campbell Ritchie wrote:think the best is NotePad++, though I rarely use Windows® and there might be something newer.

I still use windows. Yes NotePad++ is still the best.


better than Atom.io or Sublime....doubful but a text editor is a text editor. They all do similar things just depends what you get comfortable with. Personally, I would rather write code in IntelliJ or Eclipse, but that's just because I am more comfortable with working in those environments.
 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OP specifically asked for a text editor not an IDE.
 
ras oscar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jericho Brown wrote:
ras oscar wrote:.. I am NOT looking for an IDE ...


Out of curiosity, why? Is there something you dislike about IDEs?


I have been trying to learn java on my own for a couple years. Worked with the Netbeans interface and continually got lost in my own code. Finally decided to go back to basics and do a few exercises from the command prompt. For me at my present greenhorn status, NetBeans simply removes me too much from the plumbing of java. I speculate I will return to Netbeans eventually, but I want to learn Java first.
 
David Simkulette
Ranch Hand
Posts: 67
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The Big Three are IntelliJ Netbeans and Eclipse


...and IntelliJ is the best.


*ducks*
-
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!