mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 09:35:38 -05:00
Benjin/delete (#11054)
* Adding delete to package.json * checkpoint * Delete file working * Working for nested folders * Added file/folder deletion test * addressing feedback * Swapping QuickPick for modal * Adding Exclude functionality * reverting change to package.json
This commit is contained in:
@@ -88,7 +88,7 @@ export function sortFileFolderNodes(a: (FolderNode | FileNode), b: (FolderNode |
|
||||
* Converts a full filesystem URI to a project-relative URI that's compatible with the project tree
|
||||
*/
|
||||
function fsPathToProjectUri(fileSystemUri: vscode.Uri, projectNode: ProjectRootTreeItem): vscode.Uri {
|
||||
const projBaseDir = path.dirname(projectNode.project.projectFilePath);
|
||||
const projBaseDir = projectNode.project.projectFolderPath;
|
||||
let localUri = '';
|
||||
|
||||
if (fileSystemUri.fsPath.startsWith(projBaseDir)) {
|
||||
|
||||
Reference in New Issue
Block a user