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.

Improvements to the File switcher

See original GitHub issue

I’ve been using VSCode a lot these days and I find its file switcher very neat and well designed:

seleccion_001

in comparison to our own:

seleccion_004

So I’d like to improve it for Spyder 4 with @juanis2112’s help. These are my suggestions:

  • Use a single row to show a file name and its path (instead of two, which is what we have right now).

  • Use the same font size for file names as the one used in the symbol switcher (@juanis2112, you can get that one by pressing Cmd+Alt+P). Also, use a font size one point smaller than that one for paths.

  • Use a grey color for paths instead of italics.

  • Make the switcher taller (look how many files are shown in VSCode in comparison to our own switcher). We should see at most 15 files on it.

  • Use the newly introduced file type icons to show them to the left of each file name (instead of the generic text file icon).

  • Remove the section header rows we have right now (Editor/Notebook). Instead, show those headers in blue to the right of the first file in the corresponding section. Also show an horizontal line when the section finishes.

  • Add a new section called Recent files to the switcher that shows the last 5 or 10 opened files that are not present in the Editor.

  • Don’t show a file in the Editor immediately after it’s selected in the switcher. Instead, users will have to press Enter to show a file from now on. However, the symbol switcher should keep working as it is doing it right now.

  • Show a place holder text in the switcher text field to explain users how to use it (like the one in VSCode: Escriba '?' para obtener ayuda ...). In our case, it could be something like Write some text to select among the currently opened files or consoles.

  • Improve paths shortening taking into account the dynamic size of the font

@juanis2112, please address each of these improvements in a different pull request.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
JustinClarkHydrologistcommented, Jan 28, 2019

I am very interested in this option. Thanks for taking this update!

0reactions
ccordoba12commented, Sep 12, 2019

Most of the improvements I wanted were done in PR #10060. The others can be implemented later.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FreeConvert.com: File Converter
File Converter - Convert 2000+ different audio, image, video, e-book, document, and archive conversions online. No software to install and free.
Read more >
File Switcher should search all project files and not only the ...
Currently Ctrl+P fuzzy searches only the open files. in other editors (sublime, pycharm) it fuzzy searches the whole project so that you can ......
Read more >
Angular File Switcher - IntelliJ IDEs Plugin | Marketplace
Angular File Switcher is a plugin that switches between similarly named files within a directory. ... It has the following enhancements:
Read more >
Check out, check in, or discard changes to files in a ...
By discarding the checkout, you can avoid making new versions when you haven't made any changes to the file. Go to the library...
Read more >
NCH Software Switch Sound File Converter
If you have any suggestions for improvements to Switch Sound File Converter, or suggestions for other related software that you might need, please...
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