Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

+1

Modal dialog box when ctr+tab to switch/scroll through open files (see Netbeans ctr+tab UX)

Michael Gorham 9 år siden opdateret af chipilov 8 år siden 2

Modal dialog box when ctr+tab to switch/scroll through open files (see Netbeans ctr+tab UX)

+1

[Mac OS X] Double click filename in titlebar to change filename (and move file)

blag 9 år siden opdateret 9 år siden 0

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:


Image 348


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!

+1

edit multiple selections one by one (not all at once, may be Tab to move to next)

Ishan Madhusanka 9 år siden 0

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.

+1

Scrolling doesn't update selection

colinta 13 år siden opdateret af Максим Зубков 11 år siden 2
This is also posted in the forums: http://www.sublimetext.com/forum/viewtopic.php?f=2&t=5471

The code is easy enough to test.  Open a new file.  Open the python console and type:

>>> 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!

+1

Second instance of sublime, same file, updates and re-opens at the top of the file after changes

dave selby 13 år siden 0
when the 1st instance changes the file, then you move to the second instance, sublime asks you if you want to re-load as the file has changed, OK but a little irritating, auto re-load would be much better, but then it reloads and, this is a real problem,  takes you to the top of the file .... ouch .... on multiple screens with multiple instances of sublime showing different parts of you code this is a problem.
+1

Project build system does not override global one for same selector

Sergey Shepelev 13 år siden opdateret 13 år siden 0
Project settings:

"build_systems":
    [
    {
    "name": "Pylint",
    "cmd": ["$project_path/bin/python", "-m", "pylint.lint", "$file"],
    "selector": "source.python"
},

F7 or Ctrl+B does not run this one, but default Python.sublime-build instead. I think project settings should override global.
+1

inline codeexecution like textmate

Klaus Hougesen 13 år siden opdateret 13 år siden 0
EX:

<div id="calender">
cal|
</div>
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">
php -v|
</div>

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;
}

+1

Allow color schemes to be read as JSON natively

robertcollier4 12 år siden opdateret af jan otte 12 år siden 1

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.

+1

Holding Shift+Option and clicking the button should performa column select

Caleb Land 13 år siden opdateret 13 år siden 0
If I have a cursor, with no selection made, and I hold the option+shift keys and click somewhere else in the document, Sublime should column select from where the cursor was to where I clicked.

This is similar to my previous report, but I've added the Shift key, which makes it work like Text Mate.

Kundesupport af UserEcho