diff options
Diffstat (limited to 'src/vs/workbench/common/editor/resourceEditorInput.ts')
-rw-r--r-- | src/vs/workbench/common/editor/resourceEditorInput.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vs/workbench/common/editor/resourceEditorInput.ts b/src/vs/workbench/common/editor/resourceEditorInput.ts index 062f9a50439..190a6e63db5 100644 --- a/src/vs/workbench/common/editor/resourceEditorInput.ts +++ b/src/vs/workbench/common/editor/resourceEditorInput.ts @@ -26,6 +26,10 @@ export abstract class AbstractResourceEditorInput extends EditorInput implements capabilities |= EditorInputCapabilities.Untitled; } + if (!(capabilities & EditorInputCapabilities.Readonly)) { + capabilities |= EditorInputCapabilities.CanDropIntoEditor; + } + return capabilities; } |