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

+1

Intelligent cursor movement

Afflicto fa 11 anys updated by Sven Axelsson fa 11 anys 1

So, I have this neat idea when it comes to navigation a file solely by the keyboard.


Here's how it works (Consider a class, as in programming):

You are at line 8, adding a class property. Then, you quickly move your cursor down to line 25, type your method and realize you need to rename the property. Now, since you've "been" at line 25 for a few seconds, sublime "remembers" that position, now when you quickly move back up to line 8 and rename your property, you can hit hotkey X to return to the previous "remembered" line.


What do you think?

The "time" required to stay at a line for it to be "remembered" could be like 3-5 seconds or perhaps user configurable.

+1

Access to autocomplete list from plugin API

Artur Matuszewski fa 12 anys 0

It would be awesome if plugins could dynamically modify the autocomplete list. That would allow for context specific autocomplete. Even something like an event asking plugins if they have any suggestions to add to the autocomplete list (before it pops up, or async while it's displayed) would be a nice start.

+1

Sidebar bug when click with long file?

jarmo fa 12 anys 0

I have a 2000 line long file whose sidebar minimap exceeds the height of the sidebar window.  With the cursor located at the top of the file, the sidebar view actually represents around lines 1-250 in the file.  If I click at the mid-point of the sidebar view then ST2 should go to line 125 (1/2 way down the visible map), but in fact it goes to line 1000 (1/2 way down the actual file).  I'd expect it to go to the section of text that I clicked on in the minimap.

+1

Price point

Phil fa 12 anys updated by Gerard Caulfield fa 11 anys 1

Have you tried different price points? (I'm sure you have, but i'm curious as to why).  $70 seems an awful lot for an (albeit amazing) text editor.  I'd buy this with a smile on my face for $30, but $70 is simply too much.

+1

WindowCommands are not instantiated until the console or command palette is opened.

Xavura fa 12 anys updated by Kenny Levinsen fa 12 anys 1
I was hoping to add an "auto start" feature to one of my plugins. It works but is rendered useless because from what I can tell, a WindowCommand's __init__ method is not called until either the console or command palette is opened.
+1

add a default flag for custom build systems in sublime-project.json

Trevor Borg fa 12 anys 0

I would like to be able to set a property such as `"default": true` when defining build systems within project files. Once this is set, then pressing ctrl-b within a project would automatically execute the default build process (unless you explicitly select something else).


Perhaps instead of a boolean, it could be a list of extensions or regexes: `"default": ["*.py"]`, so that the specified build system becomes the default for, in this case, only Python files. And you could specify something else for e.g. CoffeeScript files.


My particular use case is this: I have a project template with which I distribute a sublime-project.json file. Projects using this template are always going to use a virtualenv'd python at env/bin/python. So I specify this python instance in the project file's build systems. If there were a default flag, then I wouldn't have to remember to select this build system in the drop-down menu for each new project; it would just work.


This is just kind of a nicety.

+1

Save new files as super user

Rein Hillmann fa 12 anys 0
In version 2165 we were given the ability to elevate our user when saving over existing files (e.g.: /etc/hosts). This does not address new files that require super user elevation to create the file. (e.g.: /etc/apache2/users/mike.conf)

Please add the ability to save new files with elevation.
+1

Vintage Mode - Cursor moving should stay on the same column

Enrico Carlesso fa 13 anys 0
As in vim, using j/k to move across lines should keep the cursor on the same (or rightmost) column.

I this scenario:
foo bar foo
bar
foo bar foo

When on the underlined f pressing j two times should bring me to the bold f. Now it moves to the striked o.
+1

Differentiate the size of the visual tab inserted (like emacs)

Mathieu GHENNASSIA fa 13 anys 0
If I add a tab with 'tab' : I have for example 2 spaces.
But if I insert it with shift+tab : I'll have a tab of size 8
+1

Functionalities of the Emmet plugin

Amar Syla fa 11 anys 0

I'd like that Sublime Text had all the functionalities (even better ones) of the Emmet plugin (ex Zen Code) built-in.