+2

Custom `word_separators` setting is not counted in moving inside a “word”

kizu 13 year бұрын updated by Denis Sokolov 12 year бұрын 1

Right now you can change the `word_separators`, for example exclude the hyphen symbol (`-`) from it, and if you do this, moving inside a “words” while holding `ctrl` would skip the hyphen.


The expected behavior is to count it (like in TextMate), so in a word “someWord-with_something” the ctrl-stops would be “some|Word|-with|_something”, but right now it's “some|Word-with|_something”.

+2

Split one document view horizontally, with just one scrollbar in the middle

Matthias J. Déjà 11 year бұрын жаңартылды 11 year бұрын 1

Motivation

As a software developer, I am mostly viewing source code files in Sublime Text, which have comparatively short lines, as opposed to continuous texts with long lines and a lot of virtual line breaks.


Therefore, most of the text that I view and edit is on the left side of the screen. Because of that, my head is also mostly turned a bit to the left when editing source code. As a "workaround", I can position the Sublime Text window on the screen, such that the left half of the text is positioned centrally on the screen.


Consequently, space on the right side of the text panel is mostly unused, and not much looked at, unless for very long lines of code.


Inspiration: Books and Magazines

Books and magazines have a two-page layout, while still representing one long text. The text of a book can be thought a a long, continuous text, when all the pages are cut out and glued together from top to bottom. This representation of the book would be equal to the logical representation of scrollable text in Sublime Text.


This principle can also be applied in reverse.


Proposal

I propose an option that turns a tab (or all of them) into a "book layout" or "magazine layout" view. This means that the view will be split horizontally, but the two split views will be connected in this way:


- Both split views represent the same document, in the same state.


- Both split views always have the same width and height. If the window size changes, the width of the window must be divided equally between both split views.


- If one of the two split views is scrolled up or down, the other will automatically be scrolled by the same amount.


- The first line on the right split view is always the text line that comes after the last line on the left split view.


- Scrolling is possible beyond the end of the document; when scrolling all the way down, the right scrollbar is empty (out of document), and the last line on the right scroll view is the last line of the document.


- For both split views, there is only one scrollbar, preferably in the middle between the split views.


- The text cursor can only be in one of the two split views (of course).


- When the cursor is on the last line of the left split view and moves down, it will arrive on the first line of the right split view, and vice versa.


- Scrolling up or down by one page scrolls by the height of just *one* of the split views, not both.


- When this layout is active, the view cannot be split further.


Benefits

Should be rather obvious. The user has an intuitive layout that is already known from print publications. Keeping an overview over larger parts of the document is easier. More of the window area is used for useful purposes.


Things to consider

When resizing the window, I am not sure how the split views should react to that. Which of the two has the "canonical" position? - I would propose the left, just out of intuition.


Cursor jumping from bottom left to top right might be irritating at first. Maybe a visual clue that shows the cursor actually "jumping" over, or illustrates the shift of focus of the active line, would be helpful.


Notes

As far as I know, no text editor has this feature. That's a pity to me, because I find this idea quite straightforward and useful. Emacs can be configured to work this way, with a bit of programming, but honestly, who wants to do that? - If you know of any editors supporting such a feature, please let me know!


Also, if anyone likes this idea and feels that he can make a good design mockup, I would be thankful for that.


Such a feature could also be implemented in other text editors, or IDEs, or even web/document browsers. If anyone intends to start a similar request or implementation on any other application, please let me know.

+2

Favourite languages

Josef . 12 year бұрын 0

 When clicking the button in the bottom right corner to select another language (syntax highlighting, that is), I'm greeted by a screen high menu.

It would be very convenient to have a "favourite languages" feature, which effectively groups all the non-favourites into a separate "other languages" submenu, thus saving me scrolling around and looking for that one of maybe 5 languages I could possibly need.

+2

Is there a way of selecting all highlighted words?

Noor 12 year бұрын updated by Nolan Amy 11 year бұрын 7
After sublime highlights all occurrences of a selected word, is there a way to expand the selection to all highlights?

+2

Feature Request: Put new tabs at the rightmost place in the tab bar, optionally

Jan Becker 13 year бұрын жаңартылды 13 year бұрын 0
Hello,
first of all, thanks for your great text editor! I use it on a daily basis, and already bought a license (Under my private email adress).

I have a feature request (i'm not sure if the feature is already available, i didn't find it):
I would like to have the option that new tabs are added at the the rightmost place. Currently new tabs are added at the right of the currently selected tab. For me, that gets confusing. I would like to close all new tabs at once, and leave the old ones open. If new tabs were added at the rightmost place, i could simply use the "close tabs to the right" command. 
For Chrome, new tabs are opened at the rightmost place per default (not necessarily right of the currently active tab).
+2

Take my money!

Xavura 12 year бұрын 0
I've tried dozens of editors over the years on every platform and this is by far my favourite. I  actually legitimately look forward to the day I can afford to buy a license, it's that good.
+2

save_on_focus_lost enabled prevents Goto Anywhere from opening sometimes

Kasima Tharnpipitchai 13 year бұрын updated by Michel Vielmetter 13 year бұрын 4
I have 'save_on_focus_lost' enabled.  When I'm typing quickly in the document and then hit super+p, the Find menu (in the menubar) will flash as it normally does, but the Goto Anywhere overlay does not open.  It doesn't happen every time but it does happen often.  When I turn off 'save_on_focus_lost', the behavior goes away, Goto Anywhere is reliable again.  

It might be affecting more than the Goto Anywhere behavior.  That's just the one I've seen.

I'm on OS X 10.7.2, ST2 2139
+2

Plugin to activate fullscreen always?

aristidesfl 13 year бұрын жаңартылды 13 year бұрын 0
I would like to have sublime always in fullscreen.
even when new files are opened/created.
Is it possible with the current API to create a plugin which enforces fullscreen in this cases?

thanks

+2

obey preferred browser (OS setting)

Mateusz Mucha 12 year бұрын 0
ST2 opens URLs (for example when I click on Help -> Documentation) in Firefox, while my "preferred web browser" (a setting specified in my desktop environment's "preferred applications" tool) is Google Chrome.

I'm using ST 2.0.1, build 2217 on Linux Mint 13.  MATE 1.2.0 is my desktop environment.
+2

Show and map the colors used in the current file.

DJ Pannella 12 year бұрын updated by Jeff Pannone 12 year бұрын 1

Create a panel or window that shows and maps the colors used in the current file, especially CSS files. Attached is a screen grab from TopStyle 4.

Image 213

+2

Highlight the colon as operator with Ruby 1.9-style hashes

Lance Ivy 12 year бұрын жаңартылды 11 year бұрын 2

When both keys and values are symbols, the colors all run together. A simple fix would be to not consume the colon in the regular expression. I was able to accomplish this by changing "(:)(?!:)" to "(?=:)(?!::)", as in:


    <dict>

      <key>captures</key>

      <dict>

        <key>1</key>

        <dict>

          <key>name</key>

          <string>punctuation.definition.constant.ruby</string>

        </dict>

      </dict>

      <key>comment</key>

      <string>symbols</string>

      <key>match</key>

      <string>(?&gt;[a-zA-Z_]\w*(?&gt;[?!])?)(?=:)(?!::)</string>

      <key>name</key>

      <string>constant.other.symbol.ruby.19syntax</string>

    </dict>


+2

Alt+backspace on a word should not delete whitespace

Alexander S. 13 year бұрын жаңартылды 13 year бұрын 2
Consider the following text, where | indicates caret:
{"foo": bar|}
Now if I hit alt+backspace to delete the word "bar", I get:
{"foo":|}
That's not good. It means I have to enter the space again. It doesn't really make sense for any kind of use case, I think. There are all sorts of situations (eg., arithmetic expressions like foo + bar + baz) where you'd like to position the caret at the end of a word and delete the word to replace it with something else.

I could use super+D to expand the selection + delete, but that works only if the caret is on a word, not something more complex like a quoted string.
+2

How to make acute accent over a character? Is it supported?

Al Seykela 12 year бұрын updated by FichteFoll 12 year бұрын 1

This type of accent does not work for me: á ó ń (letter and accent are two separate symbols).


However, there's a topic called Tab titles do not support accented letters and it seems it should work in the document itself.

+2

Identify files that have been modified since opened, even after a save.

Brian Gottier 13 year бұрын updated by Max Wagner 13 year бұрын 1
I constantly have files open for reference, along with the files I am actually working on, but I have no easy way to identify which files have actually been changed at the end of a working session. It would be great if there was a visible undo/redo icons, or if there could be a colored dot on the tab, or anything... please!

An icon toolbar wouldn't be a bad idea. Lots of frequently used things could be put there.
+2

No output panel when exec called from input panel

Falcon NL 14 year бұрын updated by Alexander S. 13 year бұрын 1
In ST1 I had a keyboard shortcut when working with Haskell that brought up the input panel, evaluated the expression in GHC with the exec command and showed the result in the output panel. In ST2, it doesn't show the output panel anymore, though the exec command is still called, as can be seen from the console messages.

Forum topic: http://www.sublimetext.com/forum/viewtopic.php?f=3&t=1538
+2

Alternative payment methods

Adrian SANDU 11 year бұрын 0
Hi guys,

Is it that difficult to add new payment options? I don't want to create a Paypal account. There are already so many alternatives that is a shame to be locked to one option people are starting to stay away of.

Is there no alternative for an Australian company to accept credit cards online? What about Google Wallet? Or even good old wire transfer. You give us your account, we transfer the money, send you the confirmation and get the licence. Job done, everyone is happy.
+2

Home and End Key handling

Hogan Long 11 year бұрын 0

One of the best editor UI features of Brief (I'll not say more, those who know, know), was how the Home and End key were handled. 

  • On first press they went to the end or start of the current line.
  • On 2nd press they went to the bottom or top of the current viewport (what you can see on the screen)
  • On the 3rd press they went to the end or start of the file.

The ease of using this interface can not be glorified enough.  It is amazing.  Considering your editor's clear aim is to be glorious in every way, I highly recommend you implement this unappreciated (but unequaled) feature.


PS

You could even generalize it to allow function binding to n-tery presses of a given control key in the plugins.  But that matters less to me than this specific functionality. 

+2

Enable remote pairing without desktop screen sharing (something like vim and tmux: http://pivotallabs.com/how-we-use-tmux-for-remote-pair-programming/ )

Joshua Teng 12 year бұрын updated by robertcollier4 12 year бұрын 1

Enable remote pairing without desktop screen sharing (something like vim and tmux: http://pivotallabs.com/how-we-use-tmux-for-remote-pair-programming/ )

+2

Vintage - open files in command mode

Christopher Bottaro 13 year бұрын updated by Fredrik Ehnbom 13 year бұрын 1
When I open a file in Vintage mode, I'm automatically put in insert mode.  This is not consistent with vim which starts you in command mode when opening a file.

Maybe it would be nice to have this as a configurable option in ST2?
+2

Custom comment formatting (like VS10x Comments Extender for VS2010)

Sean Williams 13 year бұрын 0

One of my favorite extensions for Visual Studio is called VS10x Comments Extender. It allows you to setup custom formatting for comments that are typed in a certain manner. 


From the VS10x page:


How does it work? Well, when you start a comment with // (C#, C++, F#) or ' (VB), you can add some extra characters (minimum one, maximum three) in order to define how this comment will look like. VS10x Comments Extender will interpret these prefixes and format the comment accordingly.


It REALLY helps to see this in person... check the link below. I think this would be a GREAT addition to an already great text editor.


Look for all the examples here:


http://visualstudiogallery.msdn.microsoft.com/17c68951-7743-40bd-ad35-608706f54a92?SRC=VSIDE