mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
- Fix #6221 Notebooks: Keyboard Shortcut for New Notebook has Changed. - Use Win+Alt+N instead of Win+Shift+N - New Grid is now "stable" (forgot to do this in last PR)
This commit is contained in:
@@ -40,7 +40,7 @@ actionRegistry.registerWorkbenchAction(
|
|||||||
NewNotebookAction,
|
NewNotebookAction,
|
||||||
NewNotebookAction.ID,
|
NewNotebookAction.ID,
|
||||||
NewNotebookAction.LABEL,
|
NewNotebookAction.LABEL,
|
||||||
{ primary: KeyMod.WinCtrl | KeyMod.Shift | KeyCode.KEY_N },
|
{ primary: KeyMod.WinCtrl | KeyMod.Alt | KeyCode.KEY_N },
|
||||||
|
|
||||||
),
|
),
|
||||||
NewNotebookAction.LABEL
|
NewNotebookAction.LABEL
|
||||||
@@ -127,7 +127,6 @@ registerComponentType({
|
|||||||
* A mime renderer component for grid data.
|
* A mime renderer component for grid data.
|
||||||
* This will be replaced by a dedicated component in the future
|
* This will be replaced by a dedicated component in the future
|
||||||
*/
|
*/
|
||||||
if (product.quality !== 'stable') {
|
|
||||||
registerComponentType({
|
registerComponentType({
|
||||||
mimeTypes: [
|
mimeTypes: [
|
||||||
'application/vnd.dataresource+json',
|
'application/vnd.dataresource+json',
|
||||||
@@ -138,20 +137,6 @@ if (product.quality !== 'stable') {
|
|||||||
ctor: GridOutputComponent,
|
ctor: GridOutputComponent,
|
||||||
selector: GridOutputComponent.SELECTOR
|
selector: GridOutputComponent.SELECTOR
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
// Default to existing grid view until we're sure the new
|
|
||||||
// implementation is fully stable
|
|
||||||
registerComponentType({
|
|
||||||
mimeTypes: [
|
|
||||||
'application/vnd.dataresource+json',
|
|
||||||
'application/vnd.dataresource'
|
|
||||||
],
|
|
||||||
rank: 40,
|
|
||||||
safe: true,
|
|
||||||
ctor: MimeRendererComponent,
|
|
||||||
selector: MimeRendererComponent.SELECTOR
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A mime renderer component for LaTeX.
|
* A mime renderer component for LaTeX.
|
||||||
|
|||||||
Reference in New Issue
Block a user