Dan Hansen

Results 29 comments of Dan Hansen
trafficstars

Here's an example: ```viml function! JavaStartDebugCallback(err, port) execute "cexpr! 'Java debug started on port: " . a:port . "'" call vimspector#LaunchWithSettings({ "configuration": "Java Attach", "AdapterPort": a:port }) endfunction function! JavaStartDebug()...

Yeah, you'll need to get the [Java Debug](https://github.com/Microsoft/java-debug) extension loaded into jdt.ls. Currently Vimspector won't do this for you. The [vscode-java-debug](https://github.com/microsoft/vscode-java-debug) plugin does it [like this](https://github.com/microsoft/vscode-java-debug/blob/master/package.json#L48). See the [jdt.ls extension...

Oh, here's the `.vimspector.json` I'm using with this setup to attached to an existing Java process that's waiting for a debug connection. ```json { "adapters": { "java-debug-server": { "name": "vscode-java",...

> With coc and vimspector, I don't ever need to touch my ide anymore. this! Let's hope the process keeps on getting better and smoother thanks to all the hard...

Sure, I'll give it a shot. And thanks for the clarification above. Its the responsibility of the code that starts jdt.ls to provide the config to enable the java-debug server...

@puremourning I had some progress started on the readme for [coc-java-debug](https://github.com/dansomething/coc-java-debug/blob/master/README.md) so I just pushed that up. Feel free to copy/tweak or link to that for the vimspector wiki.

I'm having a similar problem to this where multiple interfaces are active, but only one has an address assigned yet two mac addresses are being reported by ARP. Has anybody...

@fedepaol I'll take a look. Thanks for the quick response!

@rohitbishnoi have you tried the [Groovy language server](https://github.com/neoclide/coc.nvim/wiki/Language-servers#groovy) integration with coc.nvim?

Depending on the static methods you're trying to use you may need to set the `java.completion.favoriteStaticMembers` configuration. By default it completes static members in these paths: ```json [ "org.junit.Assert.*", "org.junit.Assume.*",...