mirror of
				https://github.com/We-Dont-Byte/Mind_Reader.git
				synced 2025-02-04 10:38:42 +00:00 
			
		
		
		
	added change theme feature
This commit is contained in:
		
							
								
								
									
										3
									
								
								.vscode/extensions.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.vscode/extensions.json
									
									
									
									
										vendored
									
									
								
							@@ -2,6 +2,7 @@
 | 
			
		||||
	// See http://go.microsoft.com/fwlink/?LinkId=827846
 | 
			
		||||
	// for the documentation about the extensions.json format
 | 
			
		||||
	"recommendations": [
 | 
			
		||||
		"dbaeumer.vscode-eslint"
 | 
			
		||||
		"dbaeumer.vscode-eslint",
 | 
			
		||||
		"theme.dracula"
 | 
			
		||||
	]
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										11
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								package.json
									
									
									
									
									
								
							@@ -42,6 +42,10 @@
 | 
			
		||||
			{
 | 
			
		||||
				"command": "mind-reader.resetEditorScale",
 | 
			
		||||
				"title": "Reset Editor Scale"
 | 
			
		||||
			},
 | 
			
		||||
			{
 | 
			
		||||
				"command": "mind-reader.selectTheme",
 | 
			
		||||
				"title": "Select Theme"
 | 
			
		||||
			}
 | 
			
		||||
		],
 | 
			
		||||
 | 
			
		||||
@@ -83,7 +87,12 @@
 | 
			
		||||
                    "command": "mind-reader.resetEditorScale",
 | 
			
		||||
                    "group": "mind-reader",
 | 
			
		||||
                    "when": "activeEditor"
 | 
			
		||||
                }
 | 
			
		||||
                },
 | 
			
		||||
				{
 | 
			
		||||
					"command": "mind-reader.selectTheme",
 | 
			
		||||
					"group": "mind-reader",
 | 
			
		||||
					"when": "activeEditor"
 | 
			
		||||
				}
 | 
			
		||||
			]
 | 
			
		||||
		},
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -45,6 +45,13 @@ export function activate(context: vscode.ExtensionContext) {
 | 
			
		||||
      vscode.commands.executeCommand('workbench.action.zoomReset');
 | 
			
		||||
    })
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
  // Select Theme
 | 
			
		||||
  context.subscriptions.push(
 | 
			
		||||
    vscode.commands.registerCommand('mind-reader.selectTheme', () => {
 | 
			
		||||
      vscode.commands.executeCommand('workbench.action.selectTheme');
 | 
			
		||||
    })
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function deactivate() {}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user