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 };