#eclipse_jdtls can be a real pita

!MESSAGE file:///[clipped]/Groups.java does not resolve to a ICompilationUnit

In 2019: "After cleaning the language server workspace,..."

Yeah, clear the workspace early and often.

Probably: My .classpath was wrecked. I fixed it in the project directory, but, hey, the language server seems to prefer to use some shit cache, even through multiple restarts.

I know it is maintained by volunteers, but 😩 .

https://github.com/redhat-developer/vscode-java/issues/667#issuecomment-500679147

#java #languageserver

Does not resolve to a ICompilationUnit · Issue #667 · redhat-developer/vscode-java

RedHat Language for Java is just not working No linter, no code suggestions, no "popups" on hovering, anything I'm able to get the following error: [Error - 21:08:10] 08-Oct-2018 21:08:10 file:///h...

GitHub
Expert LSP first release candidate is coming out really soon. Subscribe to now-empty RSS feed to know first!

https://expert-lsp.org/feed.xml

#elixir #languageserver

Ra mắt Quadlet LSP v0.7.0: hỗ trợ thư mục lồng nhau, sửa lỗi, cung cấp syntax highlight, completion, go‑to definition. Có plugin cho Neovim, VS Code, Zed. Mời cộng đồng đóng góp ý tưởng và bug. #Podman #Quadlet #LanguageServer #OpenSource #CôngNghệ #PhátTriển

https://www.reddit.com/r/selfhosted/comments/1qghayi/podman_quadlet_languager_server_new_release/

"[Helix] Spellchecking in Git commits with Harper"

https://blog.skyplabs.net/posts/helix-git-commit/

"Unlike Vim, Helix doesn't include a spell checker natively. However, Helix has built-in support for LSP, which makes it easy to pair it with an LSP-based spell checker such as Harper. All you need is tweaking a bit your languages.toml Helix configuration file as explained in the official documentation."

#Helix #Vim #LSP #LanguageServer #Harper #SpellChecking #Linux #Git #GitCommit #VCS #Dotfiles

[Helix] Spellchecking in Git commits with Harper - Skyper's blog

Personal blog about IT, Electronics, InfoSec, Hacking, Bug Hunting...

Eclipse Fun:

1. Language server jdtls code formatting: needs XML file exported from eclipse.
2. Command line JavaCodeFormatter (https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftasks-231.htm) wants a properties file for -config

I used

xq <eclipse-formatter.xml | jq -Mr '.profiles.profile.setting[] | ."@id" + "=" + ."@value"' >config.props

and all worked but the indent with spaces. It used tabs. Reason:

- XML export uses value="SPACE"
- the property file needs ...=space

🤦‍♀️

#java #eclipsejdtls #codeFormatter #languageServer

Help - Eclipse Platform

With clangd as an lsp how do you deal with any but the simplest build systems?

For instance, in MicroPython there are 24 "ports" and most of them have multiple "boards" or "variants". Altogether there are 200+ boards and variants put together.

There are probably a half dozen different compilers used for different CPU architectures, different builds have radically different compiler flags, and some files are included in all 200+ of those builds.

Oh and did I mention that some use make and some use cmake? (besides the ones that use west, but I am gonna just choose not to care about those right now)

I know how to pick ONE make-based build and make a complier_commands.json for it using bear, but it's going to only give me a tiny sliver of the whole picture.

Yes, one encounters the same problems when trying to validate changes via compiling, but since I'm new to language servers and clangd in particular I feel like I should ask.

(If it makes a difference I'm using neovim 0.11.3)

#lsp #languageServer #clang #clangd #askFedi

Maybe this #ProofOfConcept is useful for your, if you do #Jenkins pipeline scripts, but your editor doesn't have a proper plugin to validate these scripts.

https://github.com/hasselmm/JenkinsLanguageServer

#LanguageServer #QtCreator

GitHub - hasselmm/JenkinsLanguageServer: A primitive language server that validates Jenkinsfile syntax using your Jenkins server's REST API.

A primitive language server that validates Jenkinsfile syntax using your Jenkins server's REST API. - hasselmm/JenkinsLanguageServer

GitHub

What's not to like about eclipse-jdtls. It works just great with Emacs Eglot, except when it does not:

"Workspace restored, but some problems occurred.\nnull"

Result: the server does not provide any errors.

What can be more infuriating than no error message at all? An error message like this: "na na nana na, I know there is a problem but I won't tell you!"

#emacs #eglot #eclipsejdtls #languageserver