Lama-LSPLanguage Server for Lama based on vscode lsp-sample and Lama Language Extension. Features
FunctionalityThis Language Server works for Lama language. It has the following language features:
When you place the cursor on a symbol, all of its appearances in the code will also be highlighted.
Using the "Go to Definition" function (F12 by default), the cursor will be moved to the code location where the symbol was defined.
If you use the "Go to References" function (Shift+F12 by default), it will give you a list of places in the code where the given symbol occurs. If you further click on one of the occurences, the cursor will be moved to its location.
When using the "Rename Symbol" function (F2), a pop-up box will appear in which you must enter a new symbol name. When you finish typing and press Enter, all occurrences of the symbol will be replaced by the entered value.
When you move the cursor over a function, a pop-up window will appear with information about the function (name, arguments and comment, if it was left when declaring the function)
Lsp server also supports file diagnostics for various language errors.
|