4

Is it possible to use Sublime text for professional purpose in java?

Cœur
  • 37,241
  • 25
  • 195
  • 267
abaini01
  • 87
  • 1
  • 4
  • 8

5 Answers5

4

Definitely possible, when I first tried to learn java I just used vim and a small ant script, but for enterprise serious development you have to choose one of the big three: IntelliJ IDEA, Netbeans , Eclipse.

See also :

Community
  • 1
  • 1
Salah Eddine Taouririt
  • 24,925
  • 20
  • 60
  • 96
3

With ant build scripts it's definitely possible, and if you don't like the bloat of the IDEs mentioned in the other answers Sublime is a great tool for editing. You can use a combination of exuberant-ctags and the CTags for Sublime plugin. I haven't used it, but Eclim promises Eclipse-like features for Java, and there's an ST2 plugin called Subclim that should work for you. Good luck!


The other answers so far all seem to indicate that an IDE is necessary at some point, and I'm not going to argue that point too far. Java is not my main work language, but some IDEs I've used in the past have the feature of reloading files that have been modified elsewhere, and I would hope that NetBeans has the same feature (I haven't used it in a while). You could set up a workflow where you do much of your regular editing in ST2, but building, major refactoring, etc. could be done in the IDE. It's certainly not an all-or-nothing situation. Use the best tool for the job you're doing now, and try not to get the keyboard shortcuts too confused. BTW, ST2's are completely customizable, as hopefully you're aware...

Community
  • 1
  • 1
MattDMo
  • 100,794
  • 21
  • 241
  • 231
0

Yes of course it is possible. Any text editor would be sufficient. Would I recommend it? No, stick to an IDE like Eclipse or IntelliJ for the myriad of features that help you catch errors far earlier than the compilation/run phase. Not to mention refactoring and introspection tools.

SimonC
  • 6,590
  • 1
  • 23
  • 40
0

No, it is not. Theoretically possible, however the reality couldn't be more different... It's great for JavaScript apps, but for Java you should go with one of the IDEs @tarrsalah listed already.

Balint Bako
  • 2,500
  • 1
  • 14
  • 13
0

I use it only doing simple fix on code. We are using svn branches and trunk. and usualy I got eclipse prjects on th trunk. And when I need to fix a problem on a branch I use sublime text

tsamaya
  • 376
  • 2
  • 13