option for preview selected file?

I'm new to WebStorm, have been using Visual Studio for many years.

Is there an option which will let me view the selected file (in the project) without actually adding the file, much like the "Preview Selected File" in VS.
If I enable 'Scroll To source", then each file is opened and kept open instead of only opening the files I actually want to keep open (e.g. by double click or start edit).

Also, is there a shortcut for 'Scroll from source', and if so, what is it. I do not see it in the key map.

Thanks
Jesper

2 comments
Comment actions Permalink

Hi there,

Is there an option which will let me view the selected file (in the project) without actually adding the file, much like the "Preview Selected File" in VS.
If I enable 'Scroll To source", then each file is opened and kept open instead of only opening the files I actually want to keep open (e.g. by double click or start edit).

Not really.

The best what I can suggest is to use "View | Quick Definition" (Ctrl+Shift+I)

Other than that:


Watch those tickets (star/vote/comment) to get notified on progress.

Also, is there a shortcut for 'Scroll from source', and if so, what is it. I do not see it in the key map.

"Navigate | Select In... | Project View" (Alt+F1, 1)

Also:

0
Comment actions Permalink

Thank you  - ticket 130918 is exactly what I was looking for. Hopefully the feature will be added soon

Thanks

0

Please sign in to leave a comment.