Commit graph

8 commits

Author SHA1 Message Date
Ben Jackson
b3c86bc757 Use the original java test code 2020-07-16 08:04:03 +01:00
Ben Jackson
bdca96f663 Fix up java test 2020-07-11 14:06:32 +01:00
Ben Jackson
dc3deadb26 Use java 11 2020-05-16 22:55:01 +01:00
Ben Jackson
0452329203 Update java debugger plugin 2020-05-13 17:18:57 +01:00
Ben Jackson
ccf427a7c8 Update java instructions now YCM has nice API for it 2020-05-07 22:28:31 +01:00
Ben Jackson
287286cadb Add way to install a different java debugger, though it doens't work well 2020-01-21 22:25:11 +00:00
Ben Jackson
3ce0185328 Add more code to test app for java 2019-02-12 21:44:00 +00:00
Ben Jackson
14603ae72f Support java debugging
The java architecture is a little different:

- the debugger is a jdt.ls extension bundle.
- to start the server, you send a startDebugSession command to jdt.ls
- this returns a tcl port to connect to for DAP

Loading of jdt.ls and the extension are out of scope for vimspector
currently and instead you can tell it to ask you for a port to connect
to.

After connexting to that port, vimspector works as normal.

To support TCP/IP was pretty simple: we provide the same API from
vimscript as the job-based (stdin/out) comms layer, but instead just
directly use a channel.

The only wrinkle was that the java debug adapter broke the protocol on
runInTerminal and didn't return a 'cwd', so we make one up.
2018-12-20 00:29:45 +00:00