Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way add auto completion support for Java to Sublime Text 2?

is there a way to add auto-completion support for Java functions and libraries to Sublime Text 2, like Eclipse has?

like image 233
Alperen Elhan Avatar asked Feb 20 '12 22:02

Alperen Elhan


People also ask

How do I enable auto completion in Sublime Text?

By default, Sublime Text will automatically show the completions popup when a user is editing source code or markup, but not within prose in comments, strings or markups. Pressing the Esc key will hide the completions popup. To manually show the completions popup, press Ctrl+Space.

Does Sublime Text have autocomplete?

From the Sublime Text docs: Auto complete shows the completion popup as you type, so you can fill in long words by typing only a few characters. It's enabled by default for source code and HTML (but only after entering a < character).

How do I add IntelliSense to Sublime Text?

Go to Preferences -> Settings - User and add the following (remove the last comma if it's the last entry in the array): "auto_complete": true, "auto_complete_commit_on_tab": true, "auto_complete_selector": "source, meta. tag", // you can make this "source - comment, meta.


1 Answers

You can try out my plugin: Display-Functions (Java). It adds function autocompletion for files in the current directory. It's pretty powerful, too. I have debated adding support for import but have not seen a high enough demand. If that's important though, let me know.

You can install it through Package Control or from Github: https://github.com/BoundInCode/Display-Functions

like image 86
Liam Cain Avatar answered Oct 25 '22 23:10

Liam Cain