File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -75,11 +75,18 @@ If the port is taken, DAP will try the next port."
7575 (const never)))
7676
7777(defcustom dap-java-hot-reload 'always
78- " How to perfor hot reload."
78+ " How to perform hot reload."
7979 :group 'dap-java
8080 :type '(choice (const always)
8181 (const never)))
8282
83+ (defcustom dap-java-terminal 'internalConsole
84+ " Default java terminal."
85+ :group 'dap-java
86+ :type '(choice (const 'integratedTerminal )
87+ (const 'externalTerminal )
88+ (const 'internalConsole )))
89+
8390(defcustom dap-java-test-additional-args ()
8491 " Additional arguments for JUnit standalone runner."
8592 :group 'dap-java
@@ -161,7 +168,7 @@ Please check whether the server is configured propertly"))
161168 (dap--put-if-absent :cwd (lsp-java--get-root))
162169 (dap--put-if-absent :stopOnEntry :json-false )
163170 (dap--put-if-absent :host " localhost" )
164- (dap--put-if-absent :console " internalConsole " )
171+ (dap--put-if-absent :console ( symbol-name dap-java-terminal) )
165172 (dap--put-if-absent :request " launch" )
166173 (dap--put-if-absent :modulePaths (vector ))
167174 (dap--put-if-absent :classPaths
You can’t perform that action at this time.
0 commit comments