Skip to content

Fix diagnostics not showing in untitled files and now also show CodeLens #1098

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

Merged

Conversation

TylerLeonhardt
Copy link
Member

fixes PowerShell/vscode-powershell#2290

It's both a fix (Diagnostics showing up in Untitled files again)
and a feature (CodeLens showing up in Untitled files now)

It does ask a greater question of - can scriptFiles have a reference to their Uri object now since O# does an awesome job at giving us the Uris for files already.

Also I feel like the tests might have covered this regression... I really need to sit down and bring those back.

@TylerLeonhardt TylerLeonhardt merged commit e5a5557 into PowerShell:master Nov 13, 2019
@TylerLeonhardt TylerLeonhardt deleted the fix-diagnostics-untitled-files branch November 13, 2019 00:44
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

Successfully merging this pull request may close these issues.

No diagnostics or code lens in untitled files
2 participants