single click to open file from project view

Hi-

Currently I need to double click in the "project" view to open a file in the editor. Is it possible to set single click to open a file? (PS-95.315)

Thanks-
-lajos

15 comments
Comment actions Permalink

Click on the "gear" icon in the Project view and enable the "Autoscroll to source" option.

3
Comment actions Permalink

Is there any way to make it behave similar to visual studio where the item you single click opens as a single pinned tab and when single clicking on another item opens that item in the same tab.

 

In other words, when i want to really open a file double-click but when i just want to peek at the file single click

2
Comment actions Permalink

Jones1876, there seems to be a custom plugin for that, please give it a try: https://plugins.jetbrains.com/plugin/12778-quick-file-preview
Also, the same request on our issue tracker: https://youtrack.jetbrains.com/issue/IDEA-130918

2
Comment actions Permalink

@Tomasz Paździurek

Thanks for the video.

It's "Enable Preview Tab" option. Such a tab will have the file name in italic (default settings). Disable it and try again.

 

P.S. https://youtrack.jetbrains.com/issue/IDEA-295624 -- watch this ticket (star/vote/comment) to get notified with any progress on the usability of the Preview tab behaviour.

2
Comment actions Permalink

This seems to be called "Open Files with single click" now.

1
Comment actions Permalink

cool I will give it a try

0
Comment actions Permalink

Is there any way to make it so when you open a file with a single click, the editor tab for that file is activated (like it is when you double-click a file)? As of right now, if I single click a file, glance at it, then hit Cmd-W to close it, it actually closes the Project View and not the editor tab for the file. If I double click the file, then this works as expected. 

0
Comment actions Permalink

Does anyone else have problems with "Open Files with Single Click"? No matter if I have it on or off, whenever I select a file, it's open in the editor. It's very irritating, especially when navigating through project structure using keyboard.

0
Comment actions Permalink

@Tomasz Paździurek

1. Please show the Project View panel menu (similar to the one above your comment). Please also show how the editor tab looks like for such a file (italic font?)

2. Does it always opens the new tab .. or replaces one while you navigate to another file?

3. Does it happen while navigating in the Project View panel or perhaps with the code navigation (Ctrl+Click in the code), which would be a different thing.

 

0
Comment actions Permalink

Oh. I'm sorry, I just noticed this issue is about PHP Storm, and I'm having that problem with IntelliJ IDEA.
Here's the recording https://drive.google.com/file/d/1BDg4IabPH2KFsm-HSsze3ylm5p7va-Bp/view?usp=share_link 

0
Comment actions Permalink

Andriy Bazanov
Thank you so much. That's exactly it. I didn't know such feature even existed and it kept causing me a huge pain to work with for the last 2 weeks (that's when I installed a new IntelliJ IDEA instance on my new machine). :)

0
Comment actions Permalink

@Tomasz Paździurek

The Preview Tab functionality is quite handy actually. But not the way it works in the IDE (the built in functionality) -- I personally do not like it.

I'm using Quick File Preview plugin instead (that was created before this functionality become built-in) -- it has more control over the visual appearance (e.g. I have an extra symbols around + noticeable yellow background for the editor tab so I can clearly see what that is) and opening the file behaviour (e.g. can have open with Space key when using keyboard).

Give it a try.

0
Comment actions Permalink

I found that it worked pretty much how I wanted it to.

0

Please sign in to leave a comment.