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

+1

Coalesce all "file reload" dialogs into one

blag 8 år siden opdateret 8 år siden 0

My workflow is like this:


1. Open a bunch of files in Sublime

2. Edit files

3. Flip to terminal, commit/stash/whatever files

4. Switch Git branch

5. Flip back to Sublime

6. Hit "Reload" or "Cancel" a bunch of times on all of the "Reload changed file" dialogs that pop up

7. Goto step 2


I'm aware that I can have Sublime automatically reload open files when they change, but I don't want to do that because sometimes in step 6 I have files I don't want Sublime to reload.


What I'd like is a single dialog that lists the changed files in a table along with checkboxes next to them indicating which ones to reload (and don't reload them if I uncheck the checkbox). That would seriously help my workflow.

+1

Inline (ghost) Auto Completion

aristidesfl 8 år siden 0

The popup autocompletion can sometimes be obtrusive, distracting and slow down typing to the point that some users just prefer to disable it.


Inline auto completion would be an optional auto completion preference. It would show inline, the result of pressing the tab key (or whatever shortcut the user has configured).


Inline and popup autocompletion modes would not be mutually exclusive. Both could be enabled at the same time, or just one of them.


Here is an example of what I'm talking about (from Fish Shell)


Image 406


+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 9 å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;
}

Kundesupport af UserEcho