Replies: 2 comments 15 replies
-
I'm sorry, but we can't help with this. The TypeScript code in our repository is open source with the MIT license, but the language server backing that code is closed source and proprietary. The language server binaries we release with our extension are not licensed for use in products outside the Visual Studio family. |
Beta Was this translation helpful? Give feedback.
-
Hi @hildenc1 . The legend for semantic tokens used by the C/C++ extension can be found in this repo. Is it possible that the |
Beta Was this translation helpful? Give feedback.
-
We are currently trying to add vscode editing support to the eclipse eTrice project (https://www.eclipse.org/etrice/).
We got the intial highlighting and code completion for the "room" language to work using the lsp. Now we would like to add code completion to the action code blocks within the room language. Those blocks are written in c. We already tried to setup Request-Forwarding to use the existing c language support provided by the cpptools.
Unfortunately vscode.executeCompletionItemProvider command does not return any suggestions. If we save the content of the virtual c file we are creating the saved file can be opened and the completion works as expected. But even if we pass the uri of the saved temporary file to the command we get an empty result.
I noticed that semantic tokens are provided for the standalone file but not for the embedded c code. I am not sure if that could be an issue. But, I could not figure out how to delegate semantic token creation (using provideDocumentSemanticTokens ) as I need the legend to register the provider (which I don't have for the cpptools).Is there any documentation / example on how to get code completion from the cpptools in an embedded language? Or has anyone done that successfully and is willing to share is path to success?
If not maybe someone has some more insights into what is needed for the cpp tools to produce completion suggestions?
Beta Was this translation helpful? Give feedback.
All reactions