json - How do you automatically import java libraries in sublime text 3? -


i'm not sure if library right term mean things put @ start of code this: "import javax.swing.jframe;". wanted thing automatically put in @ start of code downloaded javaimports package here: https://packagecontrol.io/packages/javaimports

i went sublime text 3 settings , in right hand side panel, pasted in code:

"settings": { "java_import_path": [     "default/java/import/path/src.zip",     "path/to/library.jar" ] } 

however, gave me errors saying there trailing characters removed curly braces , word "settings":. saved , went java code in sublime text , pressed ctrl + alt + , in console, said this:

file "./python3.3/zipfile.py", line 921, in __init__ filenotfounderror: [errno 2] no such file or directory:  'default/java/import/path/src.zip' 

i'd grateful if tell me how fix this. thanks.

when said add:

"settings": {     "java_import_path":     [         "default/java/import/path/src.zip",         "path/to/library.jar"     ] } 

it wasn't being literal. files won't exist on computer.

what want go jdk directory , find src.zip filepath. put in settings. me, be:

"settings": {     "java_import_path":     [         "/library/java/javavirtualmachines/jdk1.8.0_121.jdk/contents/home/src.zip"     ] } 

but i'm on mac , yours different.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -