Home Download Buy Blog Forum Support

File previewing in Sublime Text 3

Re: File previewing in Sublime Text 3

Postby Orlmente on Wed Nov 20, 2013 1:57 am

Still same behaviour in 3055... single click open tab aswell...
Orlmente
 
Posts: 96
Joined: Mon Mar 18, 2013 12:37 pm

Re: File previewing in Sublime Text 3

Postby subhaze on Wed Nov 20, 2013 4:40 am

In the latest builds the original issue doesn't seem to be present, single clicking showing file immediately in the open file list.

If you don't want a new tab, aka preview tab, adjust your preferences as described earlier in this thread...

i solved this issue with this option:

"preview_on_click": false
subhaze
 
Posts: 224
Joined: Tue Apr 09, 2013 3:22 am

Re: File previewing in Sublime Text 3

Postby qgates on Wed Nov 20, 2013 5:07 am

I don't see any problem:

- single click unopened file under "folders" opens a preview tab (filename in italics). Preview tab always appears next to current tab. No entries appear under "open files" or "groups".
- double click the file and it is opened; an entry is inserted into "open files" or "groups" and everything moves down 1 line, if that section is visible. If not, nothing moves except the scrollbar :)

Behaviour is much as ST2, at least for me on Windows. The only difference is the "preview tab". Imo that's much better than ST2 where previews take the place of the current tab and visually things are not always clear.
qgates
 
Posts: 205
Joined: Mon Nov 05, 2012 4:33 pm

Re: File previewing in Sublime Text 3

Postby krur on Wed Nov 20, 2013 6:33 am

yes, the issue has been resolved in some ST3 release (i couldn't track it)

this issue can be closed!, thank you Jon
KRUR studio
using Sublime Text for developing knowledge, interaction, sense, and fun
krur
 
Posts: 16
Joined: Fri Nov 09, 2012 6:25 am
Location: earth.italy.florence.hills

Re: File previewing in Sublime Text 3

Postby Orlmente on Wed Nov 20, 2013 6:56 pm

qgates wrote:Behaviour is much as ST2, at least for me on Windows. The only difference is the "preview tab". Imo that's much better than ST2 where previews take the place of the current tab and visually things are not always clear.


I could agree with you, but this behaviour is actually inconsistent, and this is why (imho of course):
say, you have 3 file already opened, at a certain point of your workflow you preview a 4th file, in the tablist a 4th tab pops up, but when you jump to one of the other 3 files (say, the previewed one was useless for your workflow), even you didn't edit it... it remains in tablist and this from a ux point of view is totally counterintuitive and worng...
Orlmente
 
Posts: 96
Joined: Mon Mar 18, 2013 12:37 pm

Re: File previewing in Sublime Text 3

Postby ntenney on Wed Nov 20, 2013 7:20 pm

Orlmente wrote:I could agree with you, but this behaviour is actually inconsistent, and this is why (imho of course):
say, you have 3 file already opened, at a certain point of your workflow you preview a 4th file, in the tablist a 4th tab pops up, but when you jump to one of the other 3 files (say, the previewed one was useless for your workflow), even you didn't edit it... it remains in tablist and this from a ux point of view is totally counterintuitive and worng...


OK, I didn't understand your description to begin with, I but I think I see what you're getting at now. You have 3 files opened using double click (they're open for editing). You single click a 4th to preview it. You decide you didn't want to work in that file, so you navigate to one of the 3 you already have open, and the 4th one (the preview tab) remains open. You would like to see it go away when it is no longer the active tab.
ntenney
 
Posts: 65
Joined: Thu May 03, 2012 9:10 pm

Re: File previewing in Sublime Text 3

Postby Orlmente on Wed Nov 20, 2013 9:31 pm

Exactly ntenney,
is useless to keep that file open in tabs, there's double click for that... more, even the comment in the default sublime-settings states that only double click will open the file and assign a tab for it:
// Preview file contents when clicking on a file in the side bar. Double
// clicking or editing the preview will open the file and assign it a tab.

that's said, this should be considered a bug and not a feature...
Orlmente
 
Posts: 96
Joined: Mon Mar 18, 2013 12:37 pm

Re: File previewing in Sublime Text 3

Postby qgates on Thu Nov 21, 2013 12:40 am

I actually like the new behaviour. I can navigate away to another file and come back to the preview which is useful in my workflow. But I think that it's trivial to make everyone happy in this regard; A config option "close_inactive_preview_tabs" :)
qgates
 
Posts: 205
Joined: Mon Nov 05, 2012 4:33 pm

Re: File previewing in Sublime Text 3

Postby MadnessMethod on Wed Dec 11, 2013 8:21 pm

+1 for Orlmente's sentiment:

Orlmente wrote:Exactly ntenney,
is useless to keep that file open in tabs, there's double click for that... more, even the comment in the default sublime-settings states that only double click will open the file and assign a tab for it:
// Preview file contents when clicking on a file in the side bar. Double
// clicking or editing the preview will open the file and assign it a tab.

that's said, this should be considered a bug and not a feature...


I would like to see Sublime Text 3's file preview behave the same way as Sublime Text 2, just with the addition of Sublime Text 3's "new tab on preview" concept.
MadnessMethod
 
Posts: 1
Joined: Wed Dec 11, 2013 8:17 pm

Re: File previewing in Sublime Text 3

Postby Sigz on Fri Dec 27, 2013 4:48 pm

I agree with Orlmente.

Previewing files should not open a physical tab in my point of view, because it's previewing, and previewed files are not intended to stay opened.

I'd like an option to choose this behaviour.
Sigz
 
Posts: 3
Joined: Fri Dec 27, 2013 4:45 pm

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 31 guests