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

+1

ignore leading "./" in GOTO ANYTHING

lh2im il y a 11 ans 0

performing a grep on shell/terminal will give me a file result like:

./folder1/file1.ext: .....

./folder1/file2.ext: .....

./folder2/folder1/file1.ext: .....


doubleclick on the filename will copy "./folder1/file1.ext"


perform GOTO ANYTHING shortcut in sublime and paste the filename.

nothing shows up because of the leading "./" string. you have to cut off the "./" or if grepping from subfolder just the "."


would be awesome if GOTO ANYTHING would ignore this leading pattern. Maybe ignoring just a leading "/", will be helpfully for someone too....


+1
Terminé

Add keyboard shortcut for Save As

Hay Kranen il y a 14 ans mis à jour par Jon Skinner il y a 14 ans 4
A common shortcut that's missing: Ctrl/Cmd-Shift-S to 'Save As'.
Solution
Jon Skinner il y a 14 ans
OS X Save As key binding has been added in build 2020
+1

Project panel sizing issue (build 2051)

toothrot il y a 14 ans mis à jour il y a 13 ans 1

Resize the project panel small enough so you have a scrollbar. Scroll all the way to the right. Enlarge the project panel until the scrollbar disappears. Whoops, now all the filenames are cutoff with no scrollbar.
Small inconvenience, but I think the right edge of the content should remain anchored to the splitter until the panel becomes larger than the contents..

Image 1

+1

Bug with highlightning on datetime in python

Steffen Hageland il y a 12 ans mis à jour par jan otte il y a 12 ans 6

The following datetime-string will make give wrong syntaxhighlightning in python 2.7: "%H%M".


The last M will not be marked purple, but instead yellow like a normal string.

+1

Makefile syntax coloring doesn't work with ':=' operator.

Paulius Kigas il y a 12 ans mis à jour par Franklin Yu il y a 8 ans 1

A picture's worth a thousand words:


Image 202


In my opinion, lines with ':=' operator should look the same as lines with '=' operator. As far as I've tried, the same issue appears on every color scheme.

+1

Clojure not accepting bigint's [Fix included]

Morten Linderud il y a 12 ans 0

Valid Clojure code:

(+ 1 2)

(+ 1N 2N)

However, first is correct with the Sublime syntax file, and the second is incorrect.

Fix:

inside Clojure.tmLanguage, change the regex for constant.numeric.integer.clojure from (-|\+)?\b[0-9]+\b to:

(-|\+)?\b[0-9](|N)+\b


There might be better fixes but this atleast does not show invalid syntax :)

+1

SAS syntax highlighting

Veronica G. il y a 12 ans mis à jour il y a 12 ans 4
Starting to work on data analysis using SAS - I love Sublime Text, but right now, the syntax isn't highlighted. Am having to use a native SAS editor which is kinda annoying. Would love to see this as an option!
+1

Stretch tabs to the very top in full screen mode

Tomek Sowiński il y a 13 ans mis à jour par fucksyouhard il y a 8 ans 2
One annoying thing when working in full screen mode is when you throw your mouse to the top of the screen, you cannot select a tab because there is a few pixels of black space between the tabs and the top edge of the screen.

Proposal: either remove the black space at the top or, if it's needed for design/art reasons, stretch the hot/active area of the tabs upwards onto the black space.
+1

Running builds not killed when a file is closed

Lyndsy Simon il y a 13 ans mis à jour il y a 13 ans 0
I'm developing in Python using Flask, which includes a built-in, self-reloading webserver.

When I close a file with the webserver still running, the process becomes orphaned and I cannot kill it without resorting to the operating system's method - on Windows, I have to use Task Manager.

Running build processes should be terminated when the active window is closed.
+1
Terminé

Syntax Highlight Based off SHEBANG lines

Scott Bowers il y a 14 ans mis à jour par Jon Skinner il y a 14 ans 0
When working with with executable scripts, syntax highlighting is disabled because the file type cannot be detected.

This feature increases highlighting availability by mapping SHEBANG lines to mime types.
Solution
Jon Skinner il y a 14 ans
This was added in the latest version