From 98bc33a6d0487cf2be967a28e0271c942cceb0ee Mon Sep 17 00:00:00 2001 From: Ana Silva Date: Tue, 13 Aug 2024 16:38:23 +0200 Subject: [PATCH] Disable compact folder feature removed --- src/devtools/main.ts | 2 -- src/editor/dependencies.ts | 12 +----------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/devtools/main.ts b/src/devtools/main.ts index 7097bab..2e95eb7 100644 --- a/src/devtools/main.ts +++ b/src/devtools/main.ts @@ -60,8 +60,6 @@ async function handleDevToolsRequirements(/*isDevToolsProject: boolean*/): Promi } log("info", "SFMC DevTools is installed."); - // Deactivates Compact folders for command right execution - editorDependencies.deactivateCompactFolders(); // init DevTools Commands DevToolsCommands.init(); return; diff --git a/src/editor/dependencies.ts b/src/editor/dependencies.ts index e2ad812..89c3332 100644 --- a/src/editor/dependencies.ts +++ b/src/editor/dependencies.ts @@ -39,18 +39,8 @@ async function activateExtensionDependencies(dependencies: string | string[]) { } } -function deactivateCompactFolders() { - const workspaceConfiguration = editorWorkspace.handleWorkspaceConfiguration("explorer", "Workspace"); - const isCompactFoldersEnabled: boolean = Boolean(workspaceConfiguration.get("compactFolders", true)); - if (isCompactFoldersEnabled) { - // Disable Compact Folders - workspaceConfiguration.set("compactFolders", false); - } -} - const editorDependencies = { - activateExtensionDependencies, - deactivateCompactFolders + activateExtensionDependencies }; export { editorDependencies };