Home Download Buy Blog Forum Support

Sublime 2 Wishlist

Sublime 2 Wishlist

Postby Luke on Sat Feb 19, 2011 6:25 pm

I know Sublime 2 is in Alpha still, and there are probably things that you're already planning on doing, so a lot of this will be a bit redundant... Or perhaps I just missed something all together. The editor already knocks my socks off, but I would like to make a complete list of things I feel would "complete" the editor. So I apologize in advance if some of these things are "duh!".

1) Shortcuts (key bindings): Getting some of the shortcuts in-line with some of the other applications like XCode or TextMate. Typically applications on the Mac tend to use the same shortcuts for the same things. Just like Linux buffs we love to use the keyboard too. For example Command-L is a shortcut in both Xcode and Textmate that brings up a small dialog to go to a specific line/character number (most useful, line number). I know that you could probably customize your key-bindings, but the default "out of the box" should be what Mac users are already familiar with. Another example is for column select the Mac uses Option not Control (the difference is Textmate was the only app that allowed you to type over, but in Xcode you could copy). By doing this you minimize the learning curve for newcomers and they can jump right in and start using the editor.

2) Conveniences: Many things are tucked away in the menu bar. It would be nice if in the bottom bar there were certain menu items that were available, like language select, tab size, symbols, and snippets (TextMate just replicated the bundle menu. Would be better to show the snippets of the currently selected/scoped language). Ruler size would be a good one as well (love that feature!). So would line endings CRLF, CR, LF.

3) A "bundle editor". Language editing in TextMate was a pain. I would prefer just to edit the XML directly if I had to do it by hand. But the key is the ability to add/remove things in the bundle, similar to how TextMate does it, but less annoying. Would also be cool if each "package" was actually in a package like a .App or tmbundle.

4) I'm not sure if I see a way to customize color scheme, but this is something TextMate never had: Define default colors in bundle. The trouble with TextMate is it had "common" colored names that each bundle would use like functions or comments. When you set that color it would be used on every bundle. That's "fine" but then you had unique elements like Markup which was html specific. If you were making a custom bundle and you wanted your own custom name colored you had to add it globally in Preferences. It's not portable at all. It would be nice if you could specify in the language file which names are to be colored, and what their default color is. When you customize the color scheme it would show those elements depending on the selected language. Each change you make could be "global" or "language specific" (or just turned off so the bundle's default colors are used). When you specify default colors in the bundle it would probably be a hexcode, but when you customize "global" or "language specific" colors it would be similar to TextMate's "Font's & Colors", just not part of preferences (because it can be language specific).

5) For those of us migrating from TextMate, a wizard to import TextMate bundles (in full or in part).

6) Preferences that can be visually editable (not just in a text file), and a way to reload those preferences without having to close/open the editor. I know that there could potentially be a ton of settings and it wouldn't make sense to make an interface for all of them, but something like Firefox's about:config would be awesome.

7) I love split pane view because you can edit two files side by side... But what about editing the same file, as in looking at two different parts of the same file? (Similar to Terminal in Snow Leopard or Coda - they do it the same way - an icon at the top of the scroll bar) This isn't a "die for" feature, but it would be awesome to have. At the very least an easier way to toggle split view without having to go to View -> Layout would be cool. Perhaps a discreet icon somewhere that opens up a visual menu demonstrating each view would be helpful (icons that show each view rather than words).

8) I like the side bar. I like the fact that files you're working on show up at the top. I also like the fact that you can add any folder, even if it's already there as a sub folder of another folder. This allows you to work on two key areas without having to hunt for the files.

Here are some things, based on my experience so far:

- There seem to be two parts of the side bar: "Active Files" (tabs open) and "Folders" (which is pretty much your project). I feel that having "active files" in the side bar is a bit redundant... What's the point if you can see the tabs? I know that when you have many tabs they get smaller and become impossible to read, but I really like what FireFox does: A menu on the right of each tab bar that shows each tab. I think a lot of editors do this as well. You also don't need to show every single tab and squish them to death. At some point (where the names are still readable) the tabs should start to "fall off". When they do you could have arrows to "slide" them over, or view them all through the menu. What it comes down to is I don't think "active files" should be part of the side bar, at least not mixed in with the project files. If people prefer them to be on the side verses tabs it should be a separate scrollable side bar that stacks on top of the project side bar.

- With having the "project" part being "the side bar" I will refer to the 2008 missing drawer for TextMate: https://github.com/jezdez/textmate-missingdrawer. It isn't "perfect" and a bit buggy, but it shows "the look". Basically it's looks a lot like XCode's side bar, but has literal folders and "groups" (yellow folders). Basically what I'm going for is adding multiple literal folders in the project (TextMate can only have one main one, even with the plugin) and having "Groups" which are virtual folders. You could drag an actual folder/sub-folder/file(s) into the Group and it would copy their references into the group. So essentially group's are essentially a "virtual work space" (files aren't actually open). When you press the delete key on a referenced file it would simply delete the reference. On the actual file it would ask you if you wanted to delete the file. On a top-level folder it would ask you if you wanted to delete it or just the reference. On a group it would ask if you wanted to delete the reference. Right clicking would give you the options. From the actual/referenced file/folder you could rename the file by pressing enter or choosing it from a right click menu. Each file would have that file type's icon. Other items in the right click menu would be "Reveal "filename" in Finder" and for folders "Open "folder" in Finder".

- With the above mentioned project side bar the ability to drag/move file, delete, rename, copy, duplicate, etc...

9) Would be cool if the "Select More" (Command-D) option would only select words within the scope of a function or class (sometimes you may want to do the whole file, or just within the a for loop, or function, or class).

10) Do any of these exist? "Documentation for word" (takes you to php.net), "Documentation for function (tooltip)" (shows you function arguments), "Completions for word…" (tab through function arguments like a snippet).

11) "Spaces to Tabs" "Tabs to Spaces" and shortcuts (Command-L, Command-Shift-L) for converting case similar to TextMate. More shortcuts for things like Marks.

12) Block folding through tmlanguage (I know this one was mentioned)

13) Click to add/remove bookmarks.


These are pretty much all the things I can think of right now as far as the application itself. My biggest concern is just keeping this editor going and keeping the developers motivated. I love TextMate and Allan did a great job, but it really hasn't been updated since Tiger (and Leopard and Snow Leopard has come out, with Lion on the horizon). I spent about $60 on his editor years ago, and I would have gladly spent another $60, or more, for TM2 (which after 4-5 years, to this day, never came out). I'm not sure how you guys are planning on doing your licensing, but I just want to let you know I'll gladly pay an upgrade fee for Sublime 3 if/when it comes out. Hell, I'd be even interested in paying a subscription $5 per month to cover the cost of future versions. TextMate was my swiss army knife of development and it was very important to me. Up until now nothing has come close. Sublime has filled that void and I want to do everything I can to support it. The editor is the most important part of what I do, and Coda and Espresso just never matched up to the power of TextMate. I feel that not only does Sublime 2 match TextMate's power, but it surpasses it. And that is really exciting/encouraging to see.
Luke
 
Posts: 11
Joined: Sat Feb 19, 2011 6:09 am

Re: Sublime 2 Wishlist

Postby Luke on Sat Feb 19, 2011 6:57 pm

I've posted #8 here: http://sublimetext.userecho.com/feedback/22740-search/ (I simplified the description. I hope I'm not too confusing)

(Was going to edit my post, but I got a memory exhaustion error when trying to edit)
Luke
 
Posts: 11
Joined: Sat Feb 19, 2011 6:09 am

Re: Sublime 2 Wishlist

Postby Antheor on Thu Mar 03, 2011 4:17 pm

+1 for 5)
:)
Antheor
 
Posts: 8
Joined: Wed Aug 20, 2008 2:49 pm

Re: Sublime 2 Wishlist

Postby gothate on Thu Mar 03, 2011 10:31 pm

These are all really good suggestions. A bundle import (5) would have been lovely and saved me a bunch of "internet research" when I first installed Sublime.

Visual preferences would be nice as well (6). Personally I can't quite figure out why there are both global and user preferences, when 90%(?, yes I made that up) of the time you want to use user preferences so upgrades don't overwrite them, and the workflow for adjusting a setting is
1) look in the global preferences for the setting
2) copy the setting you want to change
3) open the user settings
4) paste the setting
5) adjust the setting to your preference
6) save the user settings.
I haven't noticed needing to restart in most cases, but if that's true add a step 7. It's very clunky, even if the concept of text settings in a text editor is kind of neat and appealing. There's no real point in even having the global settings accessible to the user through a menu, other than not wanting to duplicate the same code in the user settings. I might be wrong in my assumptions though.
gothate
 
Posts: 8
Joined: Sat Nov 20, 2010 10:22 am

Re: Sublime 2 Wishlist

Postby RavensKrag on Sat Mar 26, 2011 1:22 am

+1 for #8, though I would offer some modifications.

Rather than have a separate pane for files that are currently open, as seems to be the norm for many text editors, how about something a little different and much more useful. Simply place the little x for the close icon next to the name of the open file in the "Folders" section.

It would be even better if the Files view could be done away with altogether, simply showing files in folders unrelated to the current project under lists for their containing folders. Thus, a right-click option could be added to easily add those new folders to the project. Furthermore, unsaved files could go under an "unsaved" category, to alert the user to files which have yet to be saved to the disk.
RavensKrag
 
Posts: 1
Joined: Sat Mar 26, 2011 12:07 am

Re: Sublime 2 Wishlist

Postby Esente on Wed Apr 06, 2011 10:24 pm

Number #7 is already there: File -> Clone File.
Esente
 
Posts: 26
Joined: Mon Aug 16, 2010 7:20 pm

Re: Sublime 2 Wishlist

Postby levymetal on Thu Apr 07, 2011 1:02 am

This is a great list, number 8 and 12 really have my vote. I just got a mac and am very disappointed with textmate, but Sublime is really good and with these features will be perfect!
levymetal
 
Posts: 2
Joined: Thu Apr 07, 2011 1:00 am

Re: Sublime 2 Wishlist

Postby PeterH on Sat Jun 18, 2011 9:36 am

As a convert to the Mac in the last 12 months I still find that I'm missing Textpad - less, much less now that I've found Sublime Text 2 though! Having settled in and customized a few things I have a couple of suggestions that would make my like easier. The first is the use of the left pane - I'm often working on projects that seem to involve having a couple of dozen files open at a time and at that point it becomes frustrating looking for files in the folders section. The second is the fact that snippets are hidden away. Textpad and Komodo edit solves both of these problems by having tabbed panes that can be used to hold lists - files, folders, snippets, projects etc etc. The Komodo way of doing this seems the best and there is some spare margin space in the display of files and folders which would let this be achieved without increasing the need for screen real estate. In any case, a single key show/hide panel would fixe this it it was a problem. Thanks to everyone for make Sublime TExt 2 well 'sublime'!
PeterH
 
Posts: 4
Joined: Wed Jun 15, 2011 6:32 am


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Exabot [Bot] and 6 guests