question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

File names pasted in editor when copied from OS file manager

See original GitHub issue

So I noticed that when copying a file from OS file manager and pasting it into the editor, its name will be pasted. A similar behaviour is solved with the commit correct tests and remove text from copy file in PR #8494

name_issue_copy_issue

It is not considered a big issue. But might be preferred to not allow this behaviour to happen.

Spyder: Master (currently under development) OS: windows: 10 Python version: 3.6

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
ccordoba12commented, Jan 13, 2019

Great! Would you mind to open a pull request about it?

1reaction
ccordoba12commented, Jan 13, 2019

Ok, I agree with this, except for one thing: instead of using clipboard.setText('') we should simply change that line for return. That will avoid resetting user’s clipboard and pasting its contents in our editor.

What do you think?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to copy Windows Explorer file selections and paste ...
1 Answer 1 ... Shift + right-click -> Copy as Path gives you the quoted full paths separated by a newline. Any decent...
Read more >
Copy File Names and Windows Explorer Column ... - YouTube
File List .exe - https://www.jam-software.com/filelistFile Attributes List (video description): https://youtu.be/6E1Th5RTTBkNotepad text ...
Read more >
How to copy the file names of files in Windows to ... - YouTube
How to copy the file names of files in Windows to paste it in Clipboard/ Notepad/ Excel?How to copy file names of multiple...
Read more >
Solved: How to Copy file Names within a Folder - Create a
1. Hold the "Shift" key, right-click the folder containing the files and select "Open Command Window Here." · 2. Type "dir /b >...
Read more >
How To Copy And Keep Both Files In Windows 10 File Explorer
The file names that are similar will be edited so that the files you copied have a number appended at the end of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found