actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
435 stars 94 forks source link

Intellisense in Debug Console #183

Closed Sedas25 closed 2 years ago

Sedas25 commented 2 years ago

Hi actboy168, Is it possible to get Intellisense active in the Debug Console? My language server is the one from Sumneko.

See the Orange Arrow

Greets Sedas

image

actboy168 commented 2 years ago

For now this is difficult. This requires DA and language server to work together. DAP and LSP are two separate protocols. Specific to VSCode, it also doesn't have any protocol associated with it. So it is difficult for a DA to use the functions of another language server. In most mainstream languages (such as js, python, golang, etc.) in VSCode, DA and language server are actually included in the same extension, so they can solve this problem through private protocols. This also led to the lack of motivation for the VSCode team to actually solve this problem. Unfortunately lua-debug is just a DA, it doesn't include a language server.

Sedas25 commented 2 years ago

Ok thank you :) Then I'll see if I can program something ^^