mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Mark setting as experimental again
Will finalize along when we actually ship this api
This commit is contained in:
parent
d2e01929e3
commit
800eec5645
|
@ -28,6 +28,6 @@
|
|||
"configuration.markdown.links.openLocation.currentGroup": "Open links in the active editor group.",
|
||||
"configuration.markdown.links.openLocation.beside": "Open links beside the active editor.",
|
||||
"configuration.markdown.suggest.paths.enabled.description": "Enable/disable path suggestions for markdown links",
|
||||
"configuration.markdown.editor.drop.enabled": "Enable/disable dropping into the markdown editor to insert shift. Requires enabling `#workbench.editor.dropIntoEditor.enabled#`.",
|
||||
"configuration.markdown.editor.drop.enabled": "Enable/disable dropping into the markdown editor to insert shift. Requires enabling `#workbenck.experimental.editor.dropIntoEditor.enabled#`.",
|
||||
"workspaceTrust": "Required for loading styles configured in the workspace."
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ interface IDropOperation {
|
|||
}
|
||||
|
||||
function isDropIntoEditorEnabledGlobally(configurationService: IConfigurationService) {
|
||||
return configurationService.getValue<boolean>('workbench.editor.dropIntoEditor.enabled');
|
||||
return configurationService.getValue<boolean>('workbench.experimental.editor.dropIntoEditor.enabled');
|
||||
}
|
||||
|
||||
function isDragIntoEditorEvent(e: DragEvent): boolean {
|
||||
|
|
|
@ -464,9 +464,10 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
|
|||
'description': localize('layoutControlType', "Controls whether the layout control in the custom title bar is displayed as a single menu button or with multiple UI toggles."),
|
||||
'markdownDeprecationMessage': localize({ key: 'layoutControlTypeDeprecation', comment: ['{0} is a placeholder for a setting identifier.'] }, "This setting has been deprecated in favor of {0}", '`#workbench.layoutControl.type#`')
|
||||
},
|
||||
'workbench.editor.dropIntoEditor.enabled': {
|
||||
'workbench.experimental.editor.dropIntoEditor.enabled': {
|
||||
'type': 'boolean',
|
||||
'default': true,
|
||||
'tags': ['experimental'],
|
||||
'markdownDescription': localize('dropIntoEditor', "Controls whether you can drag and drop a file into a text editor by holding down `shift` (instead of opening the file in an editor)."),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ declare module 'vscode' {
|
|||
/**
|
||||
* Provider which handles dropping of resources into a text editor.
|
||||
*
|
||||
* The user can drop into a text editor by holding down `shift` while dragging. Requires `workbench.editor.dropIntoEditor.enabled` to be on.
|
||||
* The user can drop into a text editor by holding down `shift` while dragging. Requires `workbench.experimental.editor.dropIntoEditor.enabled` to be on.
|
||||
*/
|
||||
export interface DocumentOnDropProvider {
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue