+5

Define variables at project level

Thierry Goettelmann 13 ár síðan 0
Hello,  It could be interesting to configure some variables for a project, then use them in snippets.

For example, I have a snippet to create a new Controller for Symfony 2.

For example, I have this line :

namespace ${1:Company}\\${2:Application} ...

So if these variable could be defined at a project level, and be used automatically to default value, it could be great ^^
+5

A Yum repository.

Mike Keen 13 ár síðan 0
Would love to be able to use Yum to keep ST2 up to date.
+5

Do not set font_size in User/Preferences.sublime-settings when zooming in/out

Stefano Ballabeni 12 ár síðan 0
I'm trying to version my sublime configuration.

A very annoying thing that happens is that whenever I zoom in/out, sublime sets the new font size in my User/Preferences.sublime-settings file.

My point of view is that this doesn't make 100% sense since I'm not trying to change my configuration when I change the zoom level.
+5

join lines without space in vintage mode

Kenneth Chung 12 ár síðan 0

it would be nice to have this in vim mode. in vim the command is gJ. similar to J but without the space.

+5

Vintage mode command repeat "." incompatible with autocomplete

Wes Morgan 12 ár síðan updated by Brent Matzelle 11 ár síðan 1
When using Vintage mode, hitting the . key in command mode repeats the last command. This all works as expected UNLESS part of the last command involved auto-completed text entry. In this case, hitting . will insert the text that was manually entered but not the text that the auto-complete feature appended. It should insert all the text.
+5

sidebar geany (symbols, class, funtions) https://sites.google.com/site/onearvind/geany_sidebar.jpg

Christian Yánez 12 ár síðan updated by Ivan Peevski 12 ár síðan 1
Image 152 sidebar geany funtions, class, funtion navigator.
+5

window.open_file should bring newly focused window forward (os x)

samizdat 12 ár síðan 0
The python api provides a Window method called open_file which either creates a new tab for a given file path or focuses an existing tab if the file is already open.

This works as advertised when called on the currently active window. However when called on an inactive window it will focus the new view for text input but will not bring the window to the front. As a result your keystrokes are now editing a buffer that may be entirely hidden behind other windows.

It's unclear to me whether this is a mac-specific bug, but maybe there's a missing makeKeyAndOrderFront: call in the objective c code somewhere?
+5

Status bar buttons/menus for selecting tab size and translation of tabs to spaces.

Jakobus Poverato 14 ár síðan 0
Status bar buttons/menus for selecting tab size and translation of tabs to spaces.

It would be nice to have info about tabs visible at glance, and also to be able to change this settings without going to main menu.
+5

Scope Coloring (not just syntax coloring)

Alexander Gunnarson 11 ár síðan updated by IQvsEQ 11 ár síðan 1

Image 241

Scope coloring was first suggested by Douglas Crockford. So far the only plugin for Sublime Text 2 (that I know of) that implements scope coloring has been made solely for JavaScript at https://github.com/mazurov/sublime-levels .


It would be great if this feature could be implemented for all languages, especially Clojure and Scheme (for me).


Difference between scope coloring and syntax highlighting:

http://daniellmb.github.io/JavaScript-Scope-Context-Coloring/example/scope-coloring.html#fullmonad

+4

New "draw_white_space: boundary" option

Snap 6 ár síðan Uppfært 6 ár síðan 0

I think it'd be beneficial if there were a new option for draw_white_space that only draws white space on the left most and right most edges of a line so any single white spaces between words or characters in the middle of lines are ignored. Similar to setting editor.RenderWhiteSpace to "boundary" in VS Code. So it'd appear:

def function():
••••if True:
••••••••print("I <3 ST")
••••else:
••••••••print("I'm aware there's trailing white space on this line")••

More often than not, seeing white space helps with indentation, so having any source code being viewed decluttered with potentially unnecessary information while still maintaining its usefulness would be a win-win.

+4

Kindly add support for RTL Languages.

Kamran Jabbar 6 ár síðan í Plugin announcements updated by אורן מזרחי 6 ár síðan 1

Please add RTL support for sublime text.

+4

Put an end to tabs vs spaces- allow configuration of leading space width

Ryan Wheale 7 ár síðan 0

Let's say the width of a monospaced letter is 1em - allow users to configure the leading space width so that we can have the benefits of tabs while pacifying the classless naysayers of space town ;)


leading_space_width: 1.3em     ### or just 1.3

+4

Odd Behavior on Double-Click + Drag Select

Dan Rogers 14 ár síðan 0

Coming from TextMate, this is an unresolved problem there as well.

If you take the following bit of code...

var valueUnit = parts[3] || ( cssNumber[ p ] ? "" : "px" );

...and start to double-click then drag to select it, Sublime Text 2 gets overzealous when selecting whitespace. If you repeat this process here on the forums (in just about any browser) the behavior is more desirable.

So far, loving ST2 aside from that! 
Thanks.

+4

Tab Context menu commands do not act on clicked tab

colinta 13 ár síðan Uppfært 13 ár síðan 0
I'm working on a user-requested feature for FileDiffs.  It would be great to be able to right-click on a tab, and if it isn't the active view, the `Diff with Tab` could know which two files the user wants to diff.

But right now, right-clicking on a tab uses the active view no matter what tab was clicked.  I think this is a bug, maybe it's a feature request, but I think this is more "expected" behavior than "desired" behavior.  The close command, for example, acts on the clicked tab, it is just plugins, apparently, that do not act on the correct file.

I am using OSX, build 2175.
+4

Transparent Overlay Message Box API (in addition to status bar API)

robertcollier4 12 ár síðan updated by Darin Morrison 12 ár síðan 1

Explained here: http://www.azarask.in/blog/post/monolog_boxes_and_transparent_message

It’s simply a large and translucent message that’s displayed over the contents of your screen. They fade away when the user takes any action (like typing or moving the mouse). In practice, the message is both noticeable yet unobtrusive. And because the message is transparent, you can see what’s beneath


Example here: http://www.youtube.com/watch?v=XcHjA5uwHM8


Image 229

+4

An on_close event for windows and/or projects.

Xavura 12 ár síðan updated by Kenny Levinsen 12 ár síðan 1
Request is in the title.
I would like to make sure some processes are killed when a project window is closed. Right now, I think I can achieve this with a view on_close event and counting the number of views that remain in the window and seeing if there is only one.

Of course, that's just terrible.
+4

User Settings - Appending Options Instead of Overriding Them

Andre Greeff 11 ár síðan 0
With ST3 build 3059, settings stored in the user's `Preferences.sublime-settings` file override matching keys in the global file. For most settings this is perfectly fine, but this could be streamlined for items such as `folder_exclude_patterns` and `file_exclude_patterns`.

Since these elements are arrays, why not simply push the user-specified exclude patterns array onto the global one? This way any updates to the source preferences will still be applied for users who use custom patterns as well.
+4

Keep the caret position when a file is automatically reloaded because it changed on disk, instead of going back to the top of the file.

Jocelyn Turcotte 13 ár síðan 0
It happens a lot when doing git rebase and similar stuff.
Just touching the file triggers that and it's very annoying.

The best would be to try matching the old text position and find where the caret should be moved.
Though simply going back to the same line number would already be a very nice improvement.
+4

All PHP files are opened as syntax HTML

Matt Rusiniak 14 ár síðan updated by Phillip Harrington 11 ár síðan 4
No matter how many times I set view -> syntax -> open all files with current extension as PHP, all of my PHP files (*.php) are being opened in HTML syntax form.

Using dev build 2029
+4

Tabs shouldn't get focus when moved.

Jess Fortier 13 ár síðan Uppfært 13 ár síðan 0
When I reorder my tabs, they come into focus as I drag them around. But usually if I am reorganizing then I am dragging tabs that I am not immediately working in, and actually would like to keep my current tab in focus rather than switch. The act of moving a tab is conceptually separate from wanting to work with that file, so I feel like moved tabs shouldn't automatically come into focus. 

This is definitely a workflow issue, as it's faster to click again after dropping a dragged tab if you want it in focus than it is to go rummaging through all of your tabs to find where you were previously.