mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add Keybindings for some Markdown Toolbar Actions (#17198)
* Add Keybindings for some markdown toolbar * add extension registry * when in text cell stopPropagation to only trigger one command
This commit is contained in:
@@ -111,6 +111,10 @@ export class NotebookUtils {
|
||||
}
|
||||
}
|
||||
|
||||
public async toggleMarkdownStyle(style: string, showUI?: boolean, value?: string): Promise<void> {
|
||||
return vscode.commands.executeCommand(style, showUI, value);
|
||||
}
|
||||
|
||||
public async analyzeNotebook(oeContext?: azdata.ObjectExplorerContext): Promise<void> {
|
||||
// Ensure we get a unique ID for the notebook. For now we're using a different prefix to the built-in untitled files
|
||||
// to handle this. We should look into improving this in the future
|
||||
|
||||
Reference in New Issue
Block a user