Skip to content

Instantly share code, notes, and snippets.

@jamesthompson
Created October 26, 2012 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesthompson/3961742 to your computer and use it in GitHub Desktop.
Save jamesthompson/3961742 to your computer and use it in GitHub Desktop.
Sublime Java Settings
{
// You probably want to configure this to something of your own
// ${home}, ${env:<variable>}, ${project_path:} and ${folder:} tokens can be used in the sublimejava_classpath option.
//
// ${home} is replaced with the value of the HOME environment variable.
//
// ${env:<variable>} is replaced with the "variable" environment variable.
//
// ${project_path:} tries to find a file with the given name in all the registered project folders and
// returns the first file found, or the original file name if none is found.
// Example: ${project_path:main.cpp} tries to find a file named "main.cpp" relative
// to the current project's folders. If none is found, it is replaced with "main.cpp".
//
// ${folder:} is replaced with the dirname of the given path.
// Example: ${folder:/path/to/file} is replaced with "/path/to".
//
// Replacement is done sequentially, first all ${project_path:} are resolved, then ${home} and
// ${env:<variable>} tokens, and then the ${folder:} are replaced,
"sublimejava_classpath": ["/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/",
"/Users/James/Documents/Code/JavaFX/rt/lib/jfxrt.jar"
],
"sublimejava_dotcomplete": true,
// When set to true will inhibit the completions suggested
// by default by Sublime Text 2 if SublimeJava can't
// find anything to complete
"completioncommon_inhibit_sublime_completions": true,
// When set to true will shorten class names in the completion list
// by removing the package name.
"completioncommon_shorten_names": true
}
@jamesthompson
Copy link
Author

PATH setting for Sublime Java.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment