Use FilePath in VisualStudioWorkspaceImpl.AddDocumentToProjectItems
AddDocumentToProjectItems accepts a filePath argument but none of its callers pass one, even though there's one on DocumentInfo. If a filePath is provided, don't attempt to retrieve the FULL_NAME from the hierarchy to synthesize filePath. Empirically, it looks like DocumentInfo.FilePath usually (always?) returns null. Context: we'd like to pass a non-null value in TypeScript as part of our Move-to-File implementation.
Showing
想要评论请 注册 或 登录