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

+1

Sidebar bug when click with long file?

jarmo 12 years ago 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 11 years ago updated by Gerard Caulfield 11 years ago 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 12 years ago updated by Kenny Levinsen 12 years ago 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 12 years ago 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 12 years ago 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 13 years ago 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 13 years ago 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 11 years ago 0

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

+1

OSX CMD+left/right not going to end of line

Stephen Watters 13 years ago 0
Is OSX the CMD+/leftright is typically the home/end of line key binding.  Not sure what it is doing now.
+1

File listings look wrong because of indentation

Andrew Havens 12 years ago 0

There are often times when I get confused as to which directory a file is in because of the way Sublime indents the files in a directory. It seems to me that the indentation should start from the beginning of the collapse/expand arrow, and not the start of the directory names. Furthermore, the expand/collapse triangle icons could be smaller to help with this.