We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a16aad3 commit 2d7c099Copy full SHA for 2d7c099
src/views/DragAndDropController.ts
@@ -64,6 +64,12 @@ export class DragAndDropController implements TreeDragAndDropController<Explorer
64
if (uri.scheme !== "file") {
65
return undefined;
66
}
67
+ // Ideally, the file dragged from file explorer should not contain fragment
68
+ // in its uri. If it does, then the uri should be generated from dragging document
69
+ // symbol node from the Java Project explorer, and we should ignore it.
70
+ if (uri.fragment) {
71
+ return undefined;
72
+ }
73
return u;
74
} catch (e) {
75
sendError(e);
0 commit comments