Author Topic: Language Server Protocol feature request  (Read 1992 times)

rowbearto

  • Senior Community Member
  • Posts: 2076
  • Hero Points: 126
Language Server Protocol feature request
« on: November 08, 2018, 05:28:44 pm »
Would be nice if SlickEdit could support Language Server Protocol for things like "diagnostics", "find references", "goto definition", "autocomplete", "hover" (code browsing operations). There have been various other threads about this, but not sure I've seen one yet in the "Features and/or Improvements" board.

Notice that Apple just announced they will support Language Server Protocol in XCode:

https://forums.swift.org/t/new-lsp-language-service-supporting-swift-and-c-family-languages-for-any-editor-and-platform/17024

Various other editors/IDEs already support it: VIM, Emacs, Sublime, VS Code, Zeus

Github and Facebook are collaborating on implementing it in Atom-IDE: https://jaxenter.com/atom-ide-language-server-137153.html

I rolled my own SE macro and scripts to support LSP which I use with the cquery code browser based on Clang, and there are many cases where it does a better job of filtering out references of overloads and same names symbols in C++. cquery also performs preprocessing of header files while SlickEdit doesn't do preprocessing.

See other threads:
https://community.slickedit.com/index.php?topic=16514.0
https://community.slickedit.com/index.php/topic,15799.0.html
https://community.slickedit.com/index.php/topic,16412.msg63183.html#msg63183
https://community.slickedit.com/index.php/topic,16412.msg63571.html#msg63571l
« Last Edit: November 23, 2018, 03:41:30 pm by rowbearto »

rowbearto

  • Senior Community Member
  • Posts: 2076
  • Hero Points: 126
Re: Language Server Protocol feature request
« Reply #1 on: December 10, 2018, 04:08:51 pm »
FYI: QtCreator just implemented Language Server Protocol in its latest release:

http://blog.qt.io/blog/2018/12/06/qt-creator-4-8-0-released/

rowbearto

  • Senior Community Member
  • Posts: 2076
  • Hero Points: 126
Re: Language Server Protocol feature request
« Reply #2 on: January 12, 2022, 11:02:52 pm »
I would like to ask again for Language Server Protocol support.

I'm now trying to browse a large C++ codebase that makes extensive use of 'auto' and C++ templates and SlickEdit's tagging engine is having some issues, some of which I have reported, others are complex for me to make a small test case.

I think that LSP servers like clangd and ccls are more mature now and may be able to fill in where SE's tagging falls short. These LSP engines also make use of clang compiler itself.