diff --git a/packages/plugins/connection-manager/extension.ts b/packages/plugins/connection-manager/extension.ts index e4cd6d46..23ed8b76 100644 --- a/packages/plugins/connection-manager/extension.ts +++ b/packages/plugins/connection-manager/extension.ts @@ -168,6 +168,9 @@ export class ConnectionManagerPlugin implements IExtensionPlugin { if (Config.sessionFilesFolder && Config.sessionFilesFolder != '') { baseFolder = Uri.file(Config.sessionFilesFolder); + if(!path.isAbsolute(Config.sessionFilesFolder) && workspace.workspaceFolders && workspace.workspaceFolders.length){ + baseFolder = path.resolve(workspace.workspaceFolders[0].uri, Config.sessionFilesFolder) + } } const sessionFilePath = path.resolve(baseFolder.fsPath, getSessionBasename(conn.name));