We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f7829a commit b0d9b50Copy full SHA for b0d9b50
lib/grammars/java.coffee
@@ -11,16 +11,16 @@ args = (filepath, jar) ->
11
module.exports =
12
13
Java:
14
- 'File Based':
15
- command: 'bash'
+ 'File Based': {
+ command
16
args: (context) ->
17
className = GrammarUtils.Java.getClassName context
18
classPackages = GrammarUtils.Java.getClassPackage context
19
sourcePath = GrammarUtils.Java.getProjectPath context
20
if windows
21
return ["/c javac -Xlint #{context.filename} && java #{className}"]
22
else ['-c', "javac -sourcepath '#{sourcePath}' -d /tmp '#{context.filepath}' && java -cp /tmp #{classPackages}#{className}"]
23
-
+ }
24
Kotlin:
25
'Selection Based': {
26
command
0 commit comments