You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I am trying to use yaml as LanguageID. I can see (from monaco.languages.getLanguages()) that there are some pre-defined languages that are already loaded into monaco. This list also contains yaml.
Now I have my DSL built upon yaml (I have specific keys and values domain). When I'm trying to integrate my react app with my language server, I'm not getting few functionalities (eg. textDocument/completion). I logged the messages on the server and I wasn't getting textDocument/completion method being triggered from client side (Though few other methods like textDocument/didChange, textDocument/publishDiagnostics, textDocument/foldingRange) were getting triggered.
So I am trying to use yaml as LanguageID. I can see (from monaco.languages.getLanguages()) that there are some pre-defined languages that are already loaded into monaco. This list also contains yaml.
Now I have my DSL built upon yaml (I have specific keys and values domain). When I'm trying to integrate my react app with my language server, I'm not getting few functionalities (eg. textDocument/completion). I logged the messages on the server and I wasn't getting textDocument/completion method being triggered from client side (Though few other methods like textDocument/didChange, textDocument/publishDiagnostics, textDocument/foldingRange) were getting triggered.
Yeah. It does declare the capability. If I try to use the same language server and language client with different languageID config, its working. Its just that, with yaml as LanguageID, its not.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So I am trying to use
yaml
as LanguageID. I can see (frommonaco.languages.getLanguages()
) that there are some pre-defined languages that are already loaded into monaco. This list also containsyaml
.Now I have my DSL built upon
yaml
(I have specific keys and values domain). When I'm trying to integrate my react app with my language server, I'm not getting few functionalities (eg.textDocument/completion
). I logged the messages on the server and I wasn't gettingtextDocument/completion
method being triggered from client side (Though few other methods liketextDocument/didChange
,textDocument/publishDiagnostics
,textDocument/foldingRange
) were getting triggered.What could be the fix.
Beta Was this translation helpful? Give feedback.
All reactions