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

Preview file content while searching/using navigation (CMD + P) #39546

Closed
ghost opened this issue Dec 4, 2017 · 3 comments
Closed

Preview file content while searching/using navigation (CMD + P) #39546

ghost opened this issue Dec 4, 2017 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) search Search widget and operation issues

Comments

@ghost
Copy link

ghost commented Dec 4, 2017

Hello, I want to suggest feature.

Right now in Sublime Text 3 you can preview file content while you're searching with CMD + P, like it is right now in VS Code, BUT difference is we can't see file content in VS Code like it's in Sublime Text 3.

How it works? Use CMD + P and file is opened automatically, but in preview mode. So if you change it to another file the last one content will be replaced with new one. I guess better is to simply download ST 3, and try to navigate between files with CMD + P and you will understand better what feature I want to suggest.

You don't need to cache file content, just simply open it, but keep it in preview mode. This helps a lot to search not for filename, but also for file content.

If you don't want to download ST 3, you can go to the website https://www.sublimetext.com/ and you will see preview. This feature is called Goto Anything.

@vscodebot vscodebot bot added the search Search widget and operation issues label Dec 4, 2017
@smuuf
Copy link

smuuf commented Dec 4, 2017

Have you tried switching workbench.editor.enablePreview to true? (that's even the default option)

It's true that the file is not simultaneously opened in the background while you type, but that would still be pointless with files longer than your screen's height.

@ghost
Copy link
Author

ghost commented Dec 4, 2017

@smuuf Yes, but it's not the same feature I'm talking about. It's not pointless, because you can keep it open and scroll if you want and then navigate to another file. Just check ST 3 website or download it to understand it better.

@roblourens
Copy link
Member

There is another issue for this here: #8939

But also you can use the right arrow key when quickopen is visible to preview the selected file.

@roblourens roblourens added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 4, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) search Search widget and operation issues
Projects
None yet
Development

No branches or pull requests

2 participants