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

+10

Build results panel should not open when 'quiet' is passed.

Dan Rogers 13 jaar geleden bijgewerkt 13 jaar geleden 0
I made a small fix to /Packages/Default/exec.py which alters the behavior of the  build results as to not open if the quiet param is passed to cmd.

The change was made on line 125:
+10

When a view is closed show the previous view in the stack

adzenith 13 jaar geleden bijgewerkt door Martijn Gus 12 jaar geleden 2
When a view is closed (or moved to another group) the previous view in the list is shown. I get confused by this every time. Could it instead show the previous view in the stack?
+9

Configurable minimum word length before auto-complete kicks in

Mintchkin Dobfner 12 jaar geleden bijgewerkt door FichteFoll 12 jaar geleden 1

Currently, auto-complete will pop up as soon as you type a single character; however, this generally doesn't lead to very meaningful completions and can be more annoying than helpful in certain contexts.

Although I don't know much about what makes Sublime Text tick, it seems like it should be relatively trivial to add a "auto_complete_min_word_length" option in preferences to customize this behavior.

+9

Ruby regular expressions syntax highlighting issue

Leo Gallucci 12 jaar geleden bijgewerkt door Karl He 11 jaar geleden 4

In the following example, ruby syntax highlighting breaks due to triple double quotes within the regexp:


Given /^the file "([^"]*)" doesn't exist$/ do |file|

  FileUtils.rm(file) if File.exists? file

end


Screenshot:

Image 189

+9

ST2 does not track moved/renamed files on OS X

James Eagan 12 jaar geleden 0

ST2 does not properly manage files in a manner consistent with other Mac applications.  Normally, if the user renames or moves a file in the Finder, any applications using that file will automatically track and update its references to that file.  Compare the following sequence of events in Text Edit and in ST2 :


1.  In the app, create a new file, enter some text, and save it on the desktop as "Test 1"

2.  In Finder, rename file to "Test 2"

3.  In the app, enter more text and save.


In any standard mac application (like TextEdit), at the beginning of step 3, the app will have detected that the file has been renamed (or moved) and will update its internal references accordingly.  At the end of step 3, only one file will exist.


In ST2, however, it appears to use file paths internally, so at the beginning of step 3, ST2 will not show the new file name in the title bar.  At the end of step 3, two files will exist.  This is not proper mac-like behavior.


ST2 build: 2217

Mac OS X 10.7.4

+9

Allow scrolling while Find panel is shown

Joe White 13 jaar geleden bijgewerkt 13 jaar geleden 0
If I'm in the Find panel, the Up or Down arrow keys should scroll the document up or down. This would be consistent with how other apps (e.g. Web browsers) behave, and would be much more useful (and less annoying) than the current behavior of stepping through the search history.

Currently, if I'm doing a Find and pressing F3 to step through the results, and I want to scroll through the document see more context around the current result (which is something I want quite frequently), there's no way to do it without (a) using the mouse to scroll the scrollbar or (b) closing the Find panel. The Up and Down keys don't scroll; instead they step through the search history, which is mostly useless (why would I want to repeat a search I did a week ago in a different file?) and tremendously annoying, because it immediately scrolls far, far away from the thing I was just looking at, with no good way to get back. (I have to re-type my original search -- because of course navigating through the search history doesn't add my current search to the history first -- and then I have to hit F3 repeatedly until I get back to where I was.)

It would be much more usable if typing the Up and Down keys into the Find panel were to just scroll the document (as if I had pressed Ctrl+Up or Ctrl+Down while editing the document).
+9

Thanks a lot!

Todor Pavlov 13 jaar geleden bijgewerkt 13 jaar geleden 0
Hi,
I work as a programmer for more than 10 years and I was never able to find an editor that I want. Before a month I came across Sublime Text 2 and I liked it from the first try - it was just all I was looking for all the time :)
I want to thank you - you have made a great editor!
Here are the things that I liked the most:
- it is light - not like eclipse which is freasing all the time
- has great color schemes
- great search and replace with regex
- sublime's plugins are a lot useful than those of eclipse which are almost all made for java and not for other languages

Here are the editors I've tried:
- eclipse - too heavy and bloated a the java it is written by
- nodepad++ - in the beginning it looks good but when I worked with it for a while I found a lot of features that are broken or missing - one thing that is better than sublime text is that it has it's package manager inside the editor - you don't have to install it as a plugin which makes things a little bit harder for the non technical people
- jedit - very good editor with a lot of useful plugins but guess what? - it is written in java again :(

I hope that my comments are helpful to you and keep the good work.

Regards,
Todor
+9

yaml syntax highlighting

kutu 13 jaar geleden bijgewerkt door Paul Garner 12 jaar geleden 1
part of my crom.yaml file for GAE (Google App engine)
i think "schedule" line have wrong syntax highlighting
Image 31
+9

Improved feedback for find and replace across files

Russell Keith-Magee 12 jaar geleden 0
If you have a large project (thousands of files) and/or a complex search regex, the UX for Find and Replace across files is a black hole. When you press the "replace" button, nothing seems to happen. So you press it again. And again. Then, a few minutes later, three dialogs pop up asking you if you want to replace N instances across M files. In the interim, there is no feedback that anything is being done.

There needs to be some sort of obvious visual feedback to indicate that search and replace is actually working.
+9

When bookmarking, ctrl-z undoes the bookmark

Alan Andersen 14 jaar geleden bijgewerkt door bizoo 14 jaar geleden 4
Really what i wanted it to do was undo my last typing action, and just use the default ctrl-f2 to untoggle the bookmark or clear bookmarks if I didn't need it.