Skip to content

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

Merged
TylerLeonhardt merged 2 commits into
PowerShell:masterfrom
TylerLeonhardt:fix-diagnostics-untitled-files
Nov 13, 2019
Merged

TylerLeonhardt merged 2 commits into
PowerShell:masterfrom
TylerLeonhardt:fix-diagnostics-untitled-files

Conversation

@TylerLeonhardt

Copy link
Copy Markdown
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