Skip to content

PublishDiagnostics for closed document #950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
angelozerr opened this issue Apr 3, 2025 · 2 comments
Closed

PublishDiagnostics for closed document #950

angelozerr opened this issue Apr 3, 2025 · 2 comments

Comments

@angelozerr
Copy link

Today PublishDiagnostics is done only for opened document.

It would be have a settings to publish also closed document:

  • when language server starts
  • when an opened file is updated and impact some closed document.

Publishing closed document will give the capability to show errors in the Problem view of any Editor/IDE which support that like vscode or IntelliJ.

The TypeScript support (based on tsserver only) from vscode does that.

@SCWells72
Copy link

Isn't this the same request as #358?

@angelozerr
Copy link
Author

@SCWells72 you are right, I close the issue.

Duplicate of #358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants