We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In WorkSpaceService.cs
PowerShellEditorServices/src/PowerShellEditorServices/Services/Workspace/WorkspaceService.cs
Lines 193 to 197 in a12edc9
Consider adding
case: "inmemory":
as this is the default for the MonacoLanguageClient
Additionally for this to work, consider the following change to prevent a FileNotFoundException in CodeActionHandler.cs
PowerShellEditorServices/src/PowerShellEditorServices/Services/TextDocument/Handlers/CodeActionHandler.cs
Line 60 in a12edc9
IReadOnlyDictionary<string, MarkerCorrection> corrections = null; try { var file = _workspaceService.GetFile(request.TextDocument.Uri); corrections = await _analysisService.GetMostRecentCodeActionsForFileAsync(file).ConfigureAwait(false); } catch (Exception ex) //if (corrections == null) { return Array.Empty<CommandOrCodeAction>(); }
The text was updated successfully, but these errors were encountered:
This seems reasonable to do. Any reason in particular you didn't open a PR for these changes (or those in #1495)?
Sorry, something went wrong.
andyleejordan
Successfully merging a pull request may close this issue.
In WorkSpaceService.cs
PowerShellEditorServices/src/PowerShellEditorServices/Services/Workspace/WorkspaceService.cs
Lines 193 to 197 in a12edc9
Consider adding
as this is the default for the MonacoLanguageClient
Additionally for this to work, consider the following change to prevent a FileNotFoundException in CodeActionHandler.cs
PowerShellEditorServices/src/PowerShellEditorServices/Services/TextDocument/Handlers/CodeActionHandler.cs
Line 60 in a12edc9
The text was updated successfully, but these errors were encountered: