Skip to content

textDocument/didOpen #1438

Answered by msujew
ballcoach12 asked this question in Q&A
Apr 4, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @ballcoach12,

Langium handles both didOpen and didChange using the same callback, see here (even though it says onDidChangeContent it actually fires on both events). Calling the textDocument/didOpen notification with the appropriate arguments should bring the desired effect.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ballcoach12
Comment options

Answer selected by ballcoach12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants