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

+1

OS specific Run configurations

Annan Yearian 12 ár síðan 0

I think it should be possible to have OS specific Run configurations.


So Ctrl + Shift + B does a different command in Windows than in Linux.


Related Forum Topic

+1
Lokið

Center text around cursor on keystroke

Syzygy 13 ár síðan updated by Gustavo Delfino 7 ár síðan 5
It should be possible to set a keystroke to center the current window around the cursor. That is, the current line should go to the middle of the sublime text window (even if there are no lines after the cursor), thus enabling the user to see what comes below the window-bottom.

To see this in action, open a large text file in emacs and type CTRL+L (I think QQ)
Answer
Jon Skinner 13 ár síðan
The Goto/Scroll menu has an entry for doing this.

On OS X, you may also want to enable the scroll_past_end setting
+1

Keep the current position visible in the scroll pane on the right

11 ár síðan 0

Sublime Text 2 kept the current scroll position window visible at all times in the scroll pane on the right; bring it back, so I know where I'm at in my files!

+1

Scriptability

Richard Guay 12 ár síðan 0

On the Mac, I use Alfred a whole lot. I use it to open files using AppleScript, but that is about all I can do with it. I would like to be able to setup default window layouts, but Sublime does not respond to any scripting commands of that nature. I dear say others would like to have some way to control Sublime from the outside using some scripting language (python, node, zsh, etc). On X Windows, this would be easy. But, under OS X, I have not found any way to do it (window layout control). If plugins can control window placement, then it would be easy to write a plugin for this (I think).

+1

entity.name.tag.localname.xml doesn't allow '.' char

Rocco De Angelis 12 ár síðan í Plugin announcements 0

The regular expression for matching the xml tag localname isn't correctly.

the '.' is allowed in the localname so the correct expression should be:


(</?)(?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:\.]+)


If have simply added the \. in the last group ... could you please add this in the XML.tmLanguage file THX ...


And: Sublime text is amazing! I will purchase a licence for Xmas for ME ;)

+1

File doesn't appear in "Find in Files" result if it contains ASCII control character 1C

Alex Warren 13 ár síðan 0
If a file contains ASCII character 1C ("File separator"), then it never appears in "Find in Files" results.

Searches within the document seem fine, it's just for "Find in files" that it doesn't appear.

To reproduce, create a file containing some known text, plus a 1C character. Then find in files for that known text. The file does not appear in the results.
+1

Please, add F# to SublimeText!

Caxap Puc 9 ár síðan 0

Functional languages need to get boost:)

+1

Snippet for multiply scopes

baurzhan zhakashev 12 ár síðan updated by FichteFoll 12 ár síðan 1

<snippet>

    <content><![CDATA[

${1:var}['${2}']['${3}']

   ]]></content>

<!--      assert_equal(${1:expected}, ${0:actual}) -->

    <tabTrigger>var2</tabTrigger>

    <scope>source.php</scope>

    <scope>source.html</scope>

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

</snippet>


not working for scope.html

how to do it for several scopes

+1

File modified status (*) out of sync on title bar in Linux

T-R 14 ár síðan Uppfært 14 ár síðan 1
Very minor bug -  In Linux, when a file is modified or saved with ctrl+s, an asterisk is added to or removed from the tab, but not always in the title bar. The tab title always reflects the proper state, whereas after this happens the title bar shows the opposite state as the tab (i.e. ctrl+s adds an asterisk, modifying removes it), until they are resynchronized (either by producing the bug again, or switching tabs).

I have been able to reproduce this most consistently by deleting whitespace from an opened file that is unmodified since last saved. I have also produced this bug in other ways, but have been unable to do so consistently.

I am running the latest build (2051) on Ubuntu Desktop 64bit.
+1

Contextual history backtracking for only selected texts leaving history of other text intact

Clive Watts 12 ár síðan updated by Cameron Lakenen 11 ár síðan 1

Let say you have some text

-----------------------------------------------

1| psudo code {

2|  function of complexity 

3|   lots of code that i need to make lots of changes to 

4| }

5|

6| some other stuff that gets edited in between edits

7| of my psudo function

8|

9|


I want to be able to select my psudo code text block and (crtl/cmd)+z only its history leaving the state of my other code intact.


I understand it is a very complex problem to solve but It would be unbelievably useful and a great time saver.