[quote=“krur”]what’s the option now?
ST3 (i’m usign 3082 but i’ts been for a while) does work perfect now:
“preview_on_click”: true/false
let you preview or not the files. they don’t get openend in preview (the bug i started this thread with)[/quote]
You’re right that, at least for me, it’s a different problem than your original (sorry, I see now this thread got hijacked about halfway through). As several people described above, the issue is the way tabs are handled when previewing. Say you have three tabs open by double-clicking (Tabs [1]-[2]-[3]). You’re on tab 1 and then you preview a file, it opens the preview tab to the right of tab 1, so now you have Tabs [1]-[Preview]-[2]-[3]. Then you click on tab 2, the preview tab stays open in the tab bar. Then say you preview another file - it moves the preview tab to the right of tab 2 (Tabs [1]-[2]-[Preview]-[3]).
It’s this behavior that I find inconsistent for the following reasons:
- The preview tab stays open when you click on another tab. That makes a tenuous distinction between a preview and an opened file.
- Since the preview opens to the right of your current tab, the location of the preview jumps around if you click between open tabs and previewing.
- Depending on the theme, the italics that distinguish the preview tab are more or less subtle, so it’s not always clear which tab is the preview.
In Sublime Text 2, previewing files did not open a display tab, but just replaced the content pane with the previewed file (and deselected the active tab). I actually prefer that behavior, but since some people prefer the new behavior, that’s where an option would help. Not an option to turn previewing on/off because like you say that already exists, but rather an option to display/don’t display a tab for the preview (or maybe at least an option to close preview after clicking another tab).