Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
Modal dialog box when ctr+tab to switch/scroll through open files (see Netbeans ctr+tab UX)
Modal dialog box when ctr+tab to switch/scroll through open files (see Netbeans ctr+tab UX)
[Mac OS X] Double click filename in titlebar to change filename (and move file)
If you've ever needed to move a file you've had opened in an editor, this is the flow:
1. Close file in Sublime
2. Move file in file browser or terminal
3. Open file from new location in Sublime
Most Apple apps on Mac have a nifty feature where double clicking on the filename in the titlebar will pop up a menu that let's you move and rename the current file.
Here's an example from the built-in Preview app:
This cuts down on the number of steps it takes to rename a file, down to one:
1. Double click filename in titlebar, edit name and location
I find it pretty useful in Preview, and I think it would be a great addition to Sublime (on OS X).
Thanks!
edit multiple selections one by one (not all at once, may be Tab to move to next)
I use multiple selections frequently.. Where I get stuck is when I need to make distinct changes to them, I'll need to Search for the next one and edit.
Scrolling doesn't update selection
>>> edit = view.begin_edit('test')>>> view.insert(edit, 0, ("abcd"*12+"\n")*100)>>> view.end_edit(edit)>>> region = sublime.Region(4851, 4899)>>> view.sel().clear()>>> view.show_at_center(region)>>> view.sel().add(region)
At this point, the text should be highlighted, but it is not. Compare with what happens when we add one more line:
>>> view.show_at_center(sublime.Region(4900, 4900))
Voilà, the selection is highlighted.
I noticed this happening when using plugins that highlight and scroll. In my case, I'm using the SimpleMovements plugin to highlight multiple lines. If my view doesn't scroll, the line is not highlighted, which looks like my plugin isn't working!
Second instance of sublime, same file, updates and re-opens at the top of the file after changes
Project build system does not override global one for same selector
inline codeexecution like textmate
<div id="calender">
Caret position is after cal - pressing cmd-e (for execute) will make a best guess on what to execute and execute it (executes cal in a background process / terminal and pipes the generated calendar in as a replacement for cal)
this could then be used in all files like this:
<div id="php-version">
which would then execute php -v to get full version string and place it in the editor.
Also please add basic math features
css files:
b{
left: 10px;
right:10px;
}
Blue shows selection.
b{
left: 10px+144/3;
right:10px+144/3;
}
executing (cmd+e) would then replace selected numbers with the math:
b{
left: 58px;
right:58px;
}
Allow color schemes to be read as JSON natively
Summary: Allow Color schemes to be saved in both XML and JSON. Then auto-detect the file type and parse appropriately.
Whenever I open my color scheme to make a minor edit - it gives me a 'rhetorical headache' - it is so messy and hard and difficult to read and edit XML-Plist files for this kind of content!!!
I have found PlistJsonConverter plugin - which luckily makes things doable again but brings additional problems of losing comments, formatting, structure, etc. I don't see why this can't just be automated and implemented natively. Why should I have to keep converting back and forth between XML-Plist and JSON? Why can't Sublime Text just also support reading Color Schemes in JSON natively if they are found in that format? It would save a lot of headache.
Holding Shift+Option and clicking the button should performa column select
Kundesupport af UserEcho