@@ -165,14 +165,14 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/files/browser/fileActions
165
165
+++ code-server/lib/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.ts
166
166
@@ -20,7 +20,7 @@ import { CLOSE_SAVED_EDITORS_COMMAND_ID,
167
167
import { AutoSaveAfterShortDelayContext } from '../../../services/filesConfiguration/common/filesConfigurationService.js';
168
- import { WorkbenchListDoubleSelection, WorkbenchTreeFindOpen } from '../../../../platform/list/browser/listService.js';
168
+ import { WorkbenchListDoubleSelection } from '../../../../platform/list/browser/listService.js';
169
169
import { Schemas } from '../../../../base/common/network.js';
170
170
- import { DirtyWorkingCopiesContext, EnterMultiRootWorkspaceSupportContext, HasWebFileSystemAccess, WorkbenchStateContext, WorkspaceFolderCountContext, SidebarFocusContext, ActiveEditorCanRevertContext, ActiveEditorContext, ResourceContextKey, ActiveEditorAvailableEditorIdsContext, MultipleEditorsSelectedInGroupContext, TwoEditorsSelectedInGroupContext, SelectedEditorsInGroupFileOrUntitledResourceContextKey } from '../../../common/contextkeys.js';
171
171
+ import { IsEnabledFileDownloads, IsEnabledFileUploads, DirtyWorkingCopiesContext, EnterMultiRootWorkspaceSupportContext, HasWebFileSystemAccess, WorkbenchStateContext, WorkspaceFolderCountContext, SidebarFocusContext, ActiveEditorCanRevertContext, ActiveEditorContext, ResourceContextKey, ActiveEditorAvailableEditorIdsContext, MultipleEditorsSelectedInGroupContext, TwoEditorsSelectedInGroupContext, SelectedEditorsInGroupFileOrUntitledResourceContextKey } from '../../../common/contextkeys.js';
172
172
import { IsWebContext } from '../../../../platform/contextkey/common/contextkeys.js';
173
173
import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js';
174
174
import { ThemeIcon } from '../../../../base/common/themables.js';
175
- @@ -572 ,13 +572 ,16 @@ MenuRegistry.appendMenuItem(MenuId.Explo
175
+ @@ -571 ,13 +571 ,16 @@ MenuRegistry.appendMenuItem(MenuId.Explo
176
176
id: DOWNLOAD_COMMAND_ID,
177
177
title: DOWNLOAD_LABEL
178
178
},
@@ -196,7 +196,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/files/browser/fileActions
196
196
)
197
197
}));
198
198
199
- @@ -590 ,6 +593 ,7 @@ MenuRegistry.appendMenuItem(MenuId.Explo
199
+ @@ -589 ,6 +592 ,7 @@ MenuRegistry.appendMenuItem(MenuId.Explo
200
200
title: UPLOAD_LABEL,
201
201
},
202
202
when: ContextKeyExpr.and(
@@ -208,7 +208,7 @@ Index: code-server/lib/vscode/src/vs/workbench/common/contextkeys.ts
208
208
===================================================================
209
209
--- code-server.orig/lib/vscode/src/vs/workbench/common/contextkeys.ts
210
210
+++ code-server/lib/vscode/src/vs/workbench/common/contextkeys.ts
211
- @@ -40 ,6 +40 ,9 @@ export const HasWebFileSystemAccess = ne
211
+ @@ -41 ,6 +41 ,9 @@ export const HasWebFileSystemAccess = ne
212
212
213
213
export const EmbedderIdentifierContext = new RawContextKey<string | undefined>('embedderIdentifier', undefined, localize('embedderIdentifier', 'The identifier of the embedder according to the product service, if one is defined'));
214
214
@@ -286,10 +286,10 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/files/browser/views/explo
286
286
import { mainWindow } from '../../../../../base/browser/window.js';
287
287
import { IExplorerFileContribution, explorerFileContribRegistry } from '../explorerFileContrib.js';
288
288
+ import { IBrowserWorkbenchEnvironmentService } from '../../../../services/environment/browser/environmentService.js';
289
-
290
- export class ExplorerDelegate implements IListVirtualDelegate<ExplorerItem> {
291
-
292
- @@ -1030 ,7 +1031 ,8 @@ export class FileDragAndDrop implements
289
+ import { WorkbenchCompressibleAsyncDataTree } from '../../../../../platform/list/browser/listService.js';
290
+ import { ISearchService, QueryType, getExcludes, ISearchConfiguration, ISearchComplete, IFileQuery } from '../../../../services/search/common/search.js';
291
+ import { CancellationToken } from '../../../../../base/common/cancellation.js';
292
+ @@ -1601 ,7 +1602 ,8 @@ export class FileDragAndDrop implements
293
293
@IConfigurationService private configurationService: IConfigurationService,
294
294
@IInstantiationService private instantiationService: IInstantiationService,
295
295
@IWorkspaceEditingService private workspaceEditingService: IWorkspaceEditingService,
@@ -299,7 +299,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/files/browser/views/explo
299
299
) {
300
300
const updateDropEnablement = (e: IConfigurationChangeEvent | undefined) => {
301
301
if (!e || e.affectsConfiguration('explorer.enableDragAndDrop')) {
302
- @@ -1255 ,15 +1257 ,17 @@ export class FileDragAndDrop implements
302
+ @@ -1826 ,15 +1828 ,17 @@ export class FileDragAndDrop implements
303
303
304
304
// External file DND (Import/Upload file)
305
305
if (data instanceof NativeDragAndDropData) {
0 commit comments