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

+1

API file load intercept

Josh Gentry 13 aastat tagasi 0

It would be nice if plugins had the ability to intercept a file load operation, instead of only being notified on it's completion.


I'd like to create a 'remote workspace' plugin that creates a local cache of files and if they exist, use them (after checking for updates), if not, download the file and then load the local copy.

+1

problem with commenting

Rajkumar Jegannathan 14 aastat tagasi uuendatud 14 aastat tagasi 0
In JavaScript adding a comment at the end of the line comments the entire line.
+1

Scrollbar disable shadow

Richard Mišenčík 13 aastat tagasi 0
Hello, Im editing a theme and I would like to nkow if it is possible to disable the scrollbars dropdown shadow? And also the one on the right from line numbers.
+1

Mac OS X dictionary lookup does not work in distraction free mode

Karolis Misiunas 13 aastat tagasi uuendaja Morris Hopkins 13 aastat tagasi 1

Since Mountain Lion trackpad triple-finger tap does a dictionary lookup for a selected word. The feature works fine in normal mode of ST2 or ST3, but in distraction free mode it shows a dictionary for a wrong word. Usually few words to the right.   


+1

sublime text 3 hangs after 'close window' on fullscreen on mac os

Артем Дайнеко 13 aastat tagasi 0
sequence of actions:
1. Open sublime text (existing project loads)
2. Make it fullscreen
3. New Window (it goes on fullscreen)
4. Close Window
5. Profit (remaining window hangs or crashes)
Build 3059, Mac OS 10.9.1
+1

Vintage command mode replace selection bug

Raphael Schweikert 14 aastat tagasi 0

When a selection has been created in Vintage’s command mode, the position of the cursor (underscore) should not be relevant in deciding what to replace when pressing “s” to delete the selection and enter insert mode.


Steps to reproduce

  1. Type a test string, e.g. “test;”
  2. Enter Vintage command mode.
  3. Select “test” by double-clicking.
  4. (Note that the cursor sits on the last selected character.)
  5. Hit “s”.
Expected Result: “test” should be deleted with the insertion cursor being placed before the semicolon.
Actual Result: Both the selected text as well as the semicolon are deleted.

The bug is related to the placement of the cursor prior to hitting “s” since when creating the selection by dragging from right to left (and, thus, having the cursor at the beginning of the selection), the command works as expected.
+1

contextual syntax highlighting in PHP

sorahn 15 aastat tagasi 0
One feature that was really nice in my previous editor... (i'll just leave it as that) was that in PHP if you did echo<<<HTML or echo <<<SQL (or anything similar to those it would use the correct syntax until it reached the end of the echo.

Is that possible?
+1

snippet with text transformation

baurzhan zhakashev 14 aastat tagasi uuendaja FichteFoll 14 aastat tagasi 1

i have this snippet

<snippet>

    <content><![CDATA[ \$${1:var}['${1}']['${3}'] ]]></content>

    <tabTrigger>var2</tabTrigger>

    <scope>text.html,source.php</scope>

    <description>$var['']['']</description>

</snippet>


and i want to text transform (Title case) this part['${1}'] while typing ${1:var}

so result should be like this


$adv['Adv']['name']


is it possable?


+1

Bug in highlighting Erlang format strings

Christian Kruse 15 aastat tagasi 0
Syntax highlighting for Erlang has a bug in the format strings parser: the format string ~4..0B (an integer with 4 digits, filled up with 0's when the int is smaller, same as %04d in sprintf() format string) is highlighted red (as invalid) while it is a valid format string.
+1

Adjust the alpha of the sublime text's window when the mouse move outside the window

Dupl 14 aastat tagasi uuendatud 14 aastat tagasi 0
Let adjust the transparency of the main st2's window when the mouse move out of it (or with a keypress) to let a faster and better view of the website behind it (live reloaded with CodeKit or LiveReload) Example ->