Skip to content

Conversation

@Cosifne
Copy link
Member

@Cosifne Cosifne commented Apr 27, 2023

In VS we also check the project path when adding a document https://sourceroslyn.io/#Microsoft.VisualStudio.LanguageServices/ProjectSystem/VisualStudioWorkspaceImpl.cs,887

But in LSP we only check document path, this would cause problem when the document is added the the project by using
https://sourceroslyn.io/#Microsoft.CodeAnalysis.Workspaces/Workspace/Solution/Project.cs,664
Because the file path is not required.

@Cosifne Cosifne requested a review from a team as a code owner April 27, 2023 20:57
@ghost ghost added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 27, 2023
@Cosifne Cosifne changed the title Create file based on project path if the file path is null in LSP code action hanlder Create file based on project path if the file path is null in LSP code action handler Apr 27, 2023
@Cosifne Cosifne enabled auto-merge May 1, 2023 17:43
@Cosifne Cosifne merged commit 2cfd4b2 into dotnet:main May 1, 2023
@ghost ghost added this to the Next milestone May 1, 2023
@Cosifne Cosifne modified the milestones: Next, 17.7 P2 May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants