Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
maximize/minimize window via api
Use case:
1) restore maximize/minimize state of each window upon restarting sublimetext (currently when sublimetext restarts, all windows are maximized regardless of their state when sublimetext was exited).
2) I have a tool that opens a file in sublimetext by first searching whether the file was in an existing tab in an existing window; if not it'll open a new tab in current window otherwise it'll make that tab in foreground. Turns out this doesn't work if the window that contains the file is minimized, and we don't even have a way to tell whether that window was minimized or not.
Sublime needs a "Find Definition" command
I find myself constantly doing a "Find All" for a certain identifier, searching through the hits for the definition, opening the definition, and going back and closing the Find Results window. It would be super handy if this workflow were shortened to just a "Find Definition" command.
Granted this would need some language level integration in order to determine what hit was most likely the definition, but it could also be done via some popup list of the hits ordered by likelihood of being a definition which the user could click and it would pop open that find result without the intermediate step of having a Find Results window to deal with.
Furthermore, having a shortcut for this command such as command- or control-clicking (or double-clicking) a word would be super rad. I used a shortcut like that in Visual Studio for years and loved it.
Open in Terminal subl
Sublime Text goes at the top of the page by itself when regaining focus
When I go back and forth to the browser and the editor, it sometimes goes up to the beginning of the file I'm editing while regaining the focus. I didn't find a way to reproduce it systematically, but some files seem to have issues, while others don't.
I was expecting this bug to be fixed quickly since it is pretty annoying, but I wonder if this isn't some platform-specific issue, so I decided to report it. I don't know if that can be of some help but I'm using "virtual spaces" when switching from the browser to the editor, maybe that's linked.
Thanks for your answer and your help ! Should you need more information, feel free to contact me, I'd love to help you out to fix this issue if I can :) !
PS : Sublime Text is a really awesome editor, and I definitely fell in love with it ;) !
simplify preference editing by using a split view for default and user files
Editing files to set preferences is nice and flexible, but it's a bit of a pain to have to select the default file first (to see what's available) and then select the user file (to make changes). That also subtly encourages editing that default file. Here's a simple solution:
- For each kind of preference in the Preferences menu, display a single item: the name of the preference.
- Selecting that item displays both the default file and the user file in a split view, e.g. defaults above, user below. The user can then read the desired info from the top pane and copy the appropriate lines into the other.
- The Preferences menu item could then be much simpler: a single entry for each preference would display the pair of files (as just described).
To reiterate, I see these advantages:
- Simpler Preferences menu: one item per kind of preference.
- It is easier to for the user to edit preferences: one selection does it all.
- There is less temptation to edit the default file.
ctrl+alt+up doesn't work in linux
Make Jump to Definition Work for Imports
Hitting F12 (Jump to Definition) should work if hovering over an import statement in a given language. Language examples:
LESS:
@import "other_file.less";
PHP
include "other_file.php";
I understand this may be more practical for some languages than others, I certainly wouldn't expect it to work in all languages in all cases.
build 2134
Expose some low-level API for tabs
Служба підтримки клієнтів працює на UserEcho