mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-11-03 13:13:18 +00:00 
			
		
		
		
	Auto merge of #17637 - jjoeldaniel:master, r=Veykril
internal: remove rust-analyzer.openFAQ Removed no longer functional `rust-analyzer.openFAQ` command created in #17508
This commit is contained in:
		
						commit
						9b1b29ca7a
					
				@ -3216,9 +3216,6 @@
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "command": "rust-analyzer.openWalkthrough"
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "command": "rust-analyzer.openFAQ"
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "editor/context": [
 | 
			
		||||
 | 
			
		||||
@ -1518,13 +1518,3 @@ export function openWalkthrough(_: Ctx): Cmd {
 | 
			
		||||
        );
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function openFAQ(_: Ctx): Cmd {
 | 
			
		||||
    return async () => {
 | 
			
		||||
        await vscode.commands.executeCommand(
 | 
			
		||||
            "workbench.action.openWalkthrough",
 | 
			
		||||
            "rust-lang.rust-analyzer#faq",
 | 
			
		||||
            true,
 | 
			
		||||
        );
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -179,7 +179,6 @@ function createCommands(): Record<string, CommandFactory> {
 | 
			
		||||
        toggleCheckOnSave: { enabled: commands.toggleCheckOnSave },
 | 
			
		||||
        toggleLSPLogs: { enabled: commands.toggleLSPLogs },
 | 
			
		||||
        openWalkthrough: { enabled: commands.openWalkthrough },
 | 
			
		||||
        openFAQ: { enabled: commands.openFAQ },
 | 
			
		||||
        // Internal commands which are invoked by the server.
 | 
			
		||||
        applyActionGroup: { enabled: commands.applyActionGroup },
 | 
			
		||||
        applySnippetWorkspaceEdit: { enabled: commands.applySnippetWorkspaceEditCommand },
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user