@@ -17,6 +17,19 @@ function getWorkspaceRootPath(): string {
1717}
1818
1919export function activate ( context : vscode . ExtensionContext ) {
20+ //testing
21+
22+ const config = vscode . workspace . getConfiguration ( 'remote.tunnels' ) ;
23+
24+ // Beispielhafte Einstellungen abrufen und anzeigen
25+ const portMappings = config . get ( 'portMappings' ) ;
26+ const auth = config . get ( 'auth' ) ;
27+ const connectionTimeout = config . get ( 'connectionTimeout' ) ;
28+
29+ console . log ( 'portMappings: ' , portMappings ) ;
30+ console . log ( 'auth: ' , auth ) ;
31+ console . log ( 'connectionTimeout: ' , connectionTimeout ) ;
32+
2033 const sidebarProvider = new SidebarProvider ( context . extensionUri , context ) ;
2134 const noCurrentWorkspaceProvider = new NoCurrentWorkspaceProvider ( context . extensionUri ) ;
2235 const rootPath : string = getWorkspaceRootPath ( ) ;
@@ -36,8 +49,6 @@ export function activate(context: vscode.ExtensionContext) {
3649 const machineId = vscode . env . machineId ;
3750 console . log ( 'machine id ' + machineId ) ;
3851
39- const config = vscode . workspace . getConfiguration ( 'remote.tunnels' ) ;
40-
4152 console . log ( 'config ' + JSON . stringify ( config ) ) ;
4253
4354 context . subscriptions . push (
@@ -225,4 +236,6 @@ export function activate(context: vscode.ExtensionContext) {
225236
226237
227238// This method is called when your extension is deactivated
228- export function deactivate ( ) { }
239+ export function deactivate ( ) {
240+
241+ }
0 commit comments