Notifications are not being handled
See original GitHub issueAs previously discussed in https://github.com/microsoft/language-server-protocol/issues/993, I have just discovered that neither connection.onDidChangeTextDocument
, connection.onDidCloseTextDocument
, nor connection.onDidOpenTextDocument
are being run when a notification is sent (which I can observe happening with the verbose mode).
Any idea on why this might be happening? connection.onCodeAction
, connection.onDidChangeConfiguration
and connection.onInitialize
are all working!
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
5 ways to fix iPhone notifications when you're not receiving them
You can fix an iPhone that's not getting notifications by restarting it or making sure notifications are turned on.
Read more >Why Are Notification Poorly Handled, and What Can Be Done ...
Emails and Notifications Are Not the Same. Firstly, most services consider notifications and email to be the same thing.
Read more >Notifications Not Shown - Mobile Push
Common reasons why Mobile Push notifications are not showing on your device.
Read more >Use notifications on your iPhone or iPad - Apple Support
Go to Settings and tap Notifications. · Select an app under Notification Style. · Under Alerts, choose the alert style that you want....
Read more >Not Getting Gmail Notifications? 10 Ways to Fix
On both Android and iOS, you can change the global setting for how notifications should be handled. It may be that it's not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@afonsojramos there is no need to use a
TextDocuments
instance. You can do everything yourself on the connection. TheTextDocuments
has some nice helper code for incremental text document updates.You can also keep the opened documents in memory and validate them if you have that requirement.