microsoft / VSExtensibility

A repo for upcoming changes to extensibility in Visual Studio, the new extensibility model, and language server protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rename / Move a file

LeeMSilver opened this issue · comments

From issue #321 - 'For renames/moves, you should go through project query API, removing/adding the file as the project system has to be aware of changes in most cases as well.'

Since (a) WorkspacesExtensibility.UpdateProjectsAsync() and (b) ITextDocumentEditor.Rename() can both rename a file, show I use (a), (b), or both when renaming?

We are discussing this internally and I will update here with the findings and we will apply updates to docs as well. For code files in .Net Core projects this shouldn't matter as files are included via globbing already.

OK - thanks for the update.