mirror of
				https://github.com/We-Dont-Byte/Mind_Reader.git
				synced 2025-02-04 10:38:42 +00:00 
			
		
		
		
	Add Navigations Keys
This commit is contained in:
		
							
								
								
									
										71
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										71
									
								
								package.json
									
									
									
									
									
								
							@@ -76,8 +76,75 @@
 | 
				
			|||||||
                "command": "mind-reader.resetEditorScale",
 | 
					                "command": "mind-reader.resetEditorScale",
 | 
				
			||||||
                "key": "shift+enter",
 | 
					                "key": "shift+enter",
 | 
				
			||||||
                "mac": ""
 | 
					                "mac": ""
 | 
				
			||||||
            }
 | 
					            },
 | 
				
			||||||
          ],
 | 
					
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									"command": "mind-reader.showAllSymboles",
 | 
				
			||||||
 | 
									"key": "Ctrl+T",
 | 
				
			||||||
 | 
									"mac": ""
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									"command": "mind-reader.gotoLine",
 | 
				
			||||||
 | 
									"key": "CTRL+G",
 | 
				
			||||||
 | 
									"mac": ""
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									"command": "mind-reader.quickOpen",
 | 
				
			||||||
 | 
									"key": "CTRL+P",
 | 
				
			||||||
 | 
									"mac": ""
 | 
				
			||||||
 | 
								},			
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									"command": "mind-reader.gotoSymbol",
 | 
				
			||||||
 | 
									"key": "Ctrl+Shift+O",
 | 
				
			||||||
 | 
									"mac": ""
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
								
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									"command": "mind-reader.showProblems",
 | 
				
			||||||
 | 
									"key": "Ctrl+Shift+M",
 | 
				
			||||||
 | 
									"mac": ""
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									"command": "mind-reader.nextInFiles",
 | 
				
			||||||
 | 
									"key": "F8",
 | 
				
			||||||
 | 
									"mac": ""
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									"command": "mind-reader.prevInFiles",
 | 
				
			||||||
 | 
									"key": "Shift+F8",
 | 
				
			||||||
 | 
									"mac": ""
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									"command": "mind-reader.quickOpenPreviousRecentlyUsedEditorInGroup",
 | 
				
			||||||
 | 
									"key": "Ctrl+Tab",
 | 
				
			||||||
 | 
									"mac": ""
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									"command": "mind-reader.navigateBack",
 | 
				
			||||||
 | 
									"key": "Ctrl+Alt+-",
 | 
				
			||||||
 | 
									"mac": ""
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
							
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									"command": "mind-reader.getuickInputBack",
 | 
				
			||||||
 | 
									"key": "Ctrl+Alt+-",
 | 
				
			||||||
 | 
									"mac": ""
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								{
 | 
				
			||||||
 | 
									"command": "mind-reader.navigateForward",
 | 
				
			||||||
 | 
									"key": "Ctrl+Shift+-",
 | 
				
			||||||
 | 
									"mac": ""
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
		"menus": {
 | 
							"menus": {
 | 
				
			||||||
			"editor/context": [
 | 
								"editor/context": [
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -48,6 +48,67 @@ const commands: Command[] = [
 | 
				
			|||||||
    name: 'mind-reader.resetEditorScale',
 | 
					    name: 'mind-reader.resetEditorScale',
 | 
				
			||||||
    callback: resetEditorScale,
 | 
					    callback: resetEditorScale,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  //Navigation Keys......
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    name: 'mind-reader.showAllSymboles',
 | 
				
			||||||
 | 
					    callback: () => vscode.commands.executeCommand('workbench.action.showAllSymbols'),
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    name: 'mind-reader.gotoLine',
 | 
				
			||||||
 | 
					    callback: () => vscode.commands.executeCommand('workbench.action.gotoLine'),
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    name: 'mind-reader.quickOpen',
 | 
				
			||||||
 | 
					    callback: () => vscode.commands.executeCommand('workbench.action.quickOpen'),
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    name: 'mind-reader.gotoSymbol',
 | 
				
			||||||
 | 
					    callback: () => vscode.commands.executeCommand('workbench.action.gotoSymbol'),
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    name: 'mind-reader.showProblems',
 | 
				
			||||||
 | 
					    callback: () => vscode.commands.executeCommand('workbench.actions.view.problems'),
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    name: 'mind-reader.nextInFiles',
 | 
				
			||||||
 | 
					    callback: () => vscode.commands.executeCommand('editor.action.marker.nextInFiles'),
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    name: 'mind-reader.prevInFiles',
 | 
				
			||||||
 | 
					    callback: () => vscode.commands.executeCommand('editor.action.marker.prevInFiles'),
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    name: 'mind-reader.showCommands',
 | 
				
			||||||
 | 
					    callback: () => vscode.commands.executeCommand('workbench.action.showCommands'),
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    name: 'mind-reader.quickOpenPreviousRecentlyUsedEditorInGroup',
 | 
				
			||||||
 | 
					    callback: () => vscode.commands.executeCommand('workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup'),
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    name: 'mind-reader.navigateBack',
 | 
				
			||||||
 | 
					    callback: () => vscode.commands.executeCommand('workbench.action.navigateBack'),
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    name: 'mind-reader.getuickInputBack',
 | 
				
			||||||
 | 
					    callback: () => vscode.commands.executeCommand('workbench.action.quickInputBack'),
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    name: 'mind-reader.navigateForward',
 | 
				
			||||||
 | 
					    callback: () => vscode.commands.executeCommand('workbench.action.navigateForward'),
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// COMMAND CALLBACK IMPLEMENTATIONS
 | 
					// COMMAND CALLBACK IMPLEMENTATIONS
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user