+2

Custom comment formatting (like VS10x Comments Extender for VS2010)

Sean Williams 13 years ago 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

+2

text-overflow not recognized as CSS property by syntax highlighting

Josh Sleeper 13 years ago 0
As the title says, the text-overflow property isn't currently recognized by the CSS syntax highlighting.  I found that adding "overflow" to the list associated with "text-" on line 674 of CSS.tmLanguage fixes this problem.  Not sure if this is the only (or proper) way to fix it, but for now it seems to work fine.
+2

option to write tmp files to indicate the file is being edited (.lck , .tmp, .swp)

Jon James 12 years ago 0

The lack of ability to write and look for .swp files is preventing me from using sublime as my primary editor.


I work with a team in a common codebase, the way we keep from stepping on eachother's toes is when we go to open a file in vim, it notifies us that the file is being worked on.


I don't need the ability to actually READ .swp files, but it would be awesome to be able to look for the existence upon opening.  Also, sublime should create a .swp file when opening a file.


+2

Autocomplete still fcked up

chaiguy 12 years ago 0

Whenever I try to create an anonymous javascript object formatted like this:


{

    field:


And hit the tab key to line up my values, Sublime gets totally screwy and starts changing what I typed for "field". It just keeps attempting to autocomplete "field" into "fieldkey" for some reason. There's no auto-complete popup though, this just happens all on its own with no way to cancel it. Anyway it's totally messed up and I can't type what I want to type. Even typing shift-tab doesn't work--there's some really weird behavior there too, type shift-tab and then tab and the cursor jumps all over the place, inserting characters and stuff.

+2

autocomplete symbols order

Andrea Interguglielmi 13 years ago updated 13 years ago 3
I think it'd feel more natural if autocomplete would sort the list of symbols based on the current position in the buffer, listing first those occurrences that are closer to the current position.
A good example of such feature is seen in Textmate's autocomplete.
+2

Haskell syntax highlighting: Improper class declaration highlighting

Vincent Ambo 12 years ago 0

Currently, Sublime Text expects any Haskell class declaration to include a "where" statement for associated functions. This is not always the case, i.e. a class declaration


class Foo a


is completely valid. The syntax highlighting breaks on the missing where statement.

+2

Add "Mark All" to Find panel - add bookmarks to all search result lines

robertcollier4 12 years ago 0

In the Find Panel - there should be a button labeled "Mark All" to add a bookmark to all lines containing the search term. This is a very useful functionality which is shown below from Textpad - so that you can do a search, and then process and edit each of your search results one by one.


Image 219





+2

Read and create .swp files like Vi

Nacho Garcia 13 years ago updated 13 years ago 0
Read .swp Vi files, so when someone else is working on that file you get informed. Also, create a .swp file every time you open a file. Just like Vi does.
+2
Fixed

Pressing ctrl+tab with no tabs open right after startup crashes the editor

dragoon 14 years ago updated by Jon Skinner 14 years ago 3
Atleast on Windows 7 64bit.

If you open tabs and then close all of them, ctrl+tab doesn't crash the application anymore.
Answer
Jon Skinner 14 years ago
Fixed in build 2020
+2

hello I would like sublime supporting lilypond -> http://www.lilypond.org/ maybe it does and I don't know how.

Henrik Pantle 12 years ago updated by Henrik Pantle 11 years ago 3

hello I would like sublime supporting lilypond  -> http://www.lilypond.org/  maybe it does and I don't know how.

+2
Declined

Wrap each line of selection in tag

H C 13 years ago updated by Jon Skinner 11 years ago 4
Love the new "key binding to wrap the selection in a tag" feature. Please add the ability to select multiple lines and have each line wrapped in a tag. TextMate does this beautifully. I think TM's key binding for this is command+cntrl+shift+w
Answer
Jon Skinner 13 years ago
This can be done by first splitting the selection into lines (command+shift+l on osx), and then using the regular wrap selection in tag binding - I don't think a separate binding is desirable in this case.
+2

OS X: Font rendering/anti alias of search bar messed up in fullscreen

Frederic Hemberger 12 years ago updated 12 years ago 1

Today I noticed something strange. After switching to fullscreen mode, the font rendering/anti alias of the search bar breaks.


Image 192


Image 193


Switching back to windowed mode and everything works fine again. I don't have any font_options set im my config.


OS X 10.6.8

Sublime Text build 2220

+2

Package ratings

Chris Eigner 11 years ago 0
I'd love to see github fork/star counts next to packages in the package explorer. This would give some indication which packages to use when there are many dups.
+2

Copy file name and/or file location from its tab's context menu

R K 12 years ago 0

 In a collaborative environment, I often have to quickly send someone the name and/or location of the file I'm currently working on. My previously used editor had an option to copy that info from the context menu of the file's/buffer's tab directly to the clipboard, which is really handy, especially if the paths are really long and nested deeply.


The options in my previous editor were like this (example path and file: /very/long/path/to/my/working/directory/file.pm):

- 'Copy full path' -> /very/long/path/to/my/working/directory/file.pm

- 'Copy file name' -> file.pm

- 'Copy directory name' -> /very/long/path/to/my/working/directory/


This would be so perfect. :)

+2

Python auto-suggestions

Andrew B 12 years ago updated by FichteFoll 12 years ago 1
Hi, is there a possibility for autosuggestion after I have imported such module? For example I import os module and then in the code I type os.(and at this point I want to see suggestions about all possible methods, functions, etc. in that module.
+2

OS X: Scroll bar does not respect system preference "Click in the scroll bar to jump to the spot that's clicked"

Andy Durdin 13 years ago 0
In OS X Snow Leopard, when the user has configured scroll bars to “Jump to the spot that's clicked” (instead of the default “Jump to the next page”), Sublime Text 2 (build 2111) incorrectly scrolls by a page when clicked.

Additionally, when this preference is enabled and the user drags in the scroll bar, it should jump to the location and continue to scroll to the corresponding location the user drags to. (Incidentally, this is the same scrolling behaviour as the minimap provides.)

This system preference is found at: System Preferences > Appearance > Click in the scroll bar to:

+2

Project 1 file scan blocks project 2 file scan

Scott Bowers 13 years ago 0

I have a lot of projects and I need to context-switch frequently.  Some of these projects are quite large and some of these are on remote volumes, which take a while to scan. When this process starts, and I need to switch to a different project, the new project will not start to scan the files until the previous one finishes.


Use case: I work on remote project X on day one, finish and close out sublime. When I work on project Y on day two, I open sublime to find that it instantly starts scanning project X.  When I switch to project Y, sublime sits there, not letting me Goto Anything or see any of my files until the previous scan finishes.  Only then will it start scanning project Y

Also, sublime throws away the directory scan of project X when I switch to project Y.  This means that a quick fix for project Y means that I have to then wait for an entire scan of project X.  Sublime should be able to hold on to this information, so I can quickly switch between X/Y without having to wait. 

In my opinion it would be best to:

1) Sublime caches the file scan of your projects. When you switch to a project, immediately use the cache so I can start editing files and being productive.
2) Display an indication in the file tree and goto anything of entries that have not been verified
3) Scan files in the background to verify
4) When I switch to a project, pause any existing scans and start scanning it immediately.

+2

Have "Goto Anything" should respond to other "Goto *" keyboard commands

Shayne Sweeney 14 years ago updated by adzenith 13 years ago 3

I love the Goto Anything menu, I use it religiously. I also use the more specific Goto menus, like the line, or symbol ones.


I find myself often hitting the keyboard command for another Goto action while using the Goto Anything menu. I think this addition would be useful and easy to implement.

Here's an example of how it might work:

Hit Command-P, start typing the name of the file and narrow it down, highlighting the one you're after.

Now press Command-R, you are now searching through symbols in the highlighted file. The string in the text field for the Goto Anything menu shows an "@" appended. You can backspace to return to the previous state.


+2

Show current symbol/function in status bar (near current language)

Jonathan Beebe 13 years ago updated 13 years ago 2
I love the built-in symbol browser (Cmd+R), but many times I'd like to just quickly see which symbol/function I'm currently in. For instance, in BBEdit, the symbol browser is "always on" and updates the current item based on where you are in the document.

I like how the symbols menu is accessed via Cmd+R in Sublime Text 2 (rather than being always on/always visible), so how about have the option to show the current symbol in the status bar (near the currently selected Language, for instance)?

I think this feature would be very useful to many different people, and for me personally, would put the final nail in the coffin of all other Mac OS X text editors :-)
+2

Increase responsiveness for projects stored on network drives

Nathan Walasek 12 years ago updated 11 years ago 3

All of my project files are hosted on a shared network drive, which is mapped to a drive letter in Windows 7. After opening the project in ST2, I attempt to navigate through directories and many times (especially on larger projects) it appears as though that directory is empty (the toggle-arrow changes, but no files/folders appear). Only after waiting for several minutes do the files appear.