Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop opening files when drag and drop in explorer #168809

Closed
ghtz08 opened this issue Dec 12, 2022 · 10 comments · Fixed by #213498
Closed

Stop opening files when drag and drop in explorer #168809

ghtz08 opened this issue Dec 12, 2022 · 10 comments · Fixed by #213498
Assignees
Labels
feature-request Request for new features or functionality file-explorer Explorer widget issues insiders-released Patch has been released in VS Code Insiders verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@ghtz08
Copy link

ghtz08 commented Dec 12, 2022

Stop opening files when drag and drop in explorer

When I drag and drop any file to Visual Studio Code's explorer, it automatically opens this file in the editor. Are there any settings to turn off this behavior?

Usually, I work with large and heavy CSV, JSON, etc., so when these files open it can really slow down my computer, also because some extensions like text highlighting automatically try to parse the text, but until it realizes that it is too much content to do his job and shows a warning that it won't continue because of performance issues, it has already slowed down my computer.

Of course, I can just close fast enough the file before this happens, but sometimes the problem still occurs (and anyway it should be possible to disable this feature).

This is a problem of stack overflow. I need this too.

@vwinland
Copy link

Any update here? I'm also interested in disabling auto open files on drag and drop. I have enough tabs open in my browser I don't need anymore in my editor T.T

@lramos15 lramos15 added feature-request Request for new features or functionality file-explorer Explorer widget issues labels Feb 23, 2023
@vscodenpa vscodenpa added this to the Backlog Candidates milestone Feb 23, 2023
@vscodenpa
Copy link

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@dmalan
Copy link

dmalan commented Feb 23, 2023

Just wanted to chime in to say that the behavior also tends to be undesirable when dragging and dropping a binary file to the explorer, since users (students in our case) are then prompted in a tab to open a file that they shouldn't in that manner:

image

Thank you!

@vscodenpa
Copy link

🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@vscodenpa vscodenpa modified the milestones: Backlog Candidates, Backlog Feb 25, 2023
@LetsGoFir
Copy link

🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

how‘s it going?

@Ellio-Sumner
Copy link

This is also really annoying me.

@XZJIsme
Copy link

XZJIsme commented May 2, 2024

any updates on this? QAQ

@dmalan
Copy link

dmalan commented Jul 22, 2024

Thank you, @lramos15!

@vscodenpa vscodenpa added insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Jul 24, 2024
@rzhao271 rzhao271 modified the milestones: Backlog, July 2024 Jul 25, 2024
@rzhao271 rzhao271 added the verification-needed Verification of issue is requested label Jul 25, 2024
@meganrogge meganrogge added verified Verification succeeded and removed verified Verification succeeded labels Jul 25, 2024
@rzhao271 rzhao271 added the verified Verification succeeded label Jul 25, 2024
@zhu-ty
Copy link

zhu-ty commented Aug 13, 2024

When should this setting be avalible in our hand? Is it now avalible?

@lramos15
Copy link
Member

It is already available yes.

@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality file-explorer Explorer widget issues insiders-released Patch has been released in VS Code Insiders verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
12 participants