Skip to content

Conversation

andyleejordan
Copy link
Member

@andyleejordan andyleejordan commented Jun 15, 2021

Fixes #1495, #1498, and #1476.

This was actually the documented parameter, but at some point it changed to take
a file. It was better to use the `_workspaceService` service directly and safely
attempt to get the file than to require the user to do that beforehand.
Used by the `MonacoLanguageClient`. Because it has no real file backing, we had
to check that no file was returned in the prior commit.
As it can fail if the editor is being re-initialized.
@andyleejordan
Copy link
Member Author

@rjmholt Applied.

@andyleejordan andyleejordan enabled auto-merge June 15, 2021 22:14
@ghost ghost added Area-Language Server Issue-Bug A bug to squash. labels Jun 15, 2021
@andyleejordan andyleejordan linked an issue Jun 15, 2021 that may be closed by this pull request
andyleejordan and others added 2 commits June 15, 2021 19:39
Co-authored-by: Robert Holt <rjmholt_msft@outlook.com>
@andyleejordan andyleejordan merged commit f5006ae into master Jun 16, 2021
@andyleejordan andyleejordan deleted the andschwa/fixes branch June 16, 2021 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants