+1

OS specific Run configurations

Annan Yearian il y a 12 ans 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
Terminé

Center text around cursor on keystroke

Syzygy il y a 13 ans mis à jour par Gustavo Delfino il y a 7 ans 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)
Solution
Jon Skinner il y a 13 ans
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

il y a 11 ans 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 il y a 12 ans 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 il y a 12 ans dans 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 il y a 13 ans 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 il y a 9 ans 0

Functional languages need to get boost:)

+1

Snippet for multiply scopes

baurzhan zhakashev il y a 12 ans mis à jour par FichteFoll il y a 12 ans 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 il y a 14 ans mis à jour il y a 14 ans 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 il y a 12 ans mis à jour par Cameron Lakenen il y a 11 ans 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. 



+1

Implement SlickEdit's "complete-more" command

codex il y a 13 ans mis à jour par John Hurst il y a 12 ans 2
SlickEdit has a feature which allows one to "continue" auto-completing a matched iine.  For example:

foo->bar()->baz()
fo<tab>

This will complete "foo", but I can hit "complete more" to complete the entire line one word at a time: foo->bar()->baz().  SlickEdit will show me a preview of the matching line, and I can use other keys to cycle between all matching lines to pick the one I want.  A great alternative to cutting and pasting, and one that doesn’t require any navigation.
+1

Each "Open recent" should open the previous last opened

Bill Hunt il y a 13 ans mis à jour par Jon Skinner il y a 13 ans 1
I just discovered ctrl-shift-t opens the last closed (awesome!). Pressing it again should open the second-to-last closed. A third should open third-to-last closed, etc. I.e. replicate the behavior in Chrome (ctrl-shift-t is the keystroke for this behavior in Chrome as well).
+1

Highlighting within brackets

Peter Leary il y a 11 ans mis à jour par Arunprasad Rajkumar il y a 11 ans 1

Hi there, 

Currently in sublime you get a little marker to show the start and end of any bracket you are within.  () [] or {} 

Image 239


It's handy but when you are in a large file it can be a bit like Where's Wally trying to find the other one sometimes, so I thought it might be nice if you had the option to slightly highlight that section so it's really easy to see where you are. 


Image 240


Just thought this might be kinda cool. 

Thanks

Pete

+1

When "finding next", reset x-axis view to 0

Jason Myers il y a 12 ans 0

When performing a "find next" within a document, if you hit a result that is "offscreen" to the right, the x axis (scrollbar) moves right so you can see the result


Then, when you continue "finding next", the scroll bar remains shifted right to the value of the previous find (which IMO is usually undesirable, since seeing the 0'th column in code is most important to gain your bearing)


My suggestion is to reset the view x-axis to 0 after every "find next"

+1

Vintage mode: make yank work with multiple cursors

Michael hauser-r il y a 11 ans 0

When you have multiple cursors and copy then paste with sublime it pastes what each cursor copied. when you enter visual mode with multiple cursors, hit y and then hit p each cursor pastes what was copied from all the cursors one after the other.

+1

Cursor doesn't move when you shift+click to select backwards

Caleb Land il y a 13 ans mis à jour par lanzz il y a 13 ans 1
If I have a document with no selection, and I hold Shift and click somewhere in the document /before/ the cursor, the cursor does not move to where I clicked, but remains at the end of the selection.

Selecting forward does move the cursor forward.
+1

Translate Sublime Text 2 to Spanish (Mexico)

Alfonso Commer il y a 12 ans 0

I volunteer to translate Sublime Text 2 to Spanish of Mexico. What do you think?

+1

Option to move cursor in spaces as if they were tabs

Pelle Lindblad il y a 11 ans 0
Please add a feature so that the editor works identically even if the user chooses to emit spaces instead of tabs. Ie, pushing arrow right in a set of spaces would skip ahead to the next tab-stop.

Would probably make sense to add some kind of mechanics to toggle between the two if you, for whatever reason, want to reach a space in the middle of a bunch of spaces.

Please please add this. I've been changing editor like a million times mainly because of the consistent lack of said feature. If no one else cares to implement it, I will one day I will buckle down and write my editor :)

Thank you
Pelle

+1

Add ability to navigate quick panel using TAB key

Ignacy Sokołowski il y a 12 ans 0

When using Vintage mode, I rarely use arrow keys. It would be nice if I could navigate quick panel using TAB key instead.

+1

Edit root files under linux

Brandon Watkins il y a 12 ans mis à jour par Michael Kropat il y a 11 ans 2
It seems the this feature is only implemented in the OSX version of sublime. Under linux there is no way to edit files that need root access, since "sudo subl" does not work, and sublime does not prompt for a password (just says "unable to save"

This is a very important feature to have!