mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Remove notebook.enabled feature flag (#3866)
* Remove notebook.enabled feature flag * Fix build error with package.json typos
This commit is contained in:
@@ -11,7 +11,6 @@ import { IEditorModel } from 'vs/platform/editor/common/editor';
|
||||
import { EditorInput, EditorModel, ConfirmResult } from 'vs/workbench/common/editor';
|
||||
import { Emitter, Event } from 'vs/base/common/event';
|
||||
import URI from 'vs/base/common/uri';
|
||||
import { IContextKeyService, ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';
|
||||
import * as resources from 'vs/base/common/resources';
|
||||
import * as sqlops from 'sqlops';
|
||||
|
||||
@@ -22,8 +21,6 @@ import Severity from 'vs/base/common/severity';
|
||||
|
||||
export type ModeViewSaveHandler = (handle: number) => Thenable<boolean>;
|
||||
|
||||
export let notebooksEnabledCondition = ContextKeyExpr.equals('config.notebook.enabled', true);
|
||||
|
||||
|
||||
export class NotebookInputModel extends EditorModel {
|
||||
private dirty: boolean;
|
||||
@@ -105,14 +102,6 @@ export class NotebookInputModel extends EditorModel {
|
||||
}
|
||||
}
|
||||
|
||||
export class NotebookInputValidator {
|
||||
|
||||
constructor( @IContextKeyService private readonly _contextKeyService: IContextKeyService) { }
|
||||
|
||||
public isNotebookEnabled(): boolean {
|
||||
return this._contextKeyService.contextMatchesRules(notebooksEnabledCondition);
|
||||
}
|
||||
}
|
||||
|
||||
export class NotebookInput extends EditorInput {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user