Home Download Buy Blog Forum Support

Sublime Text X 20110117

Re: Sublime Text X 20110117

Postby reddshack on Mon Jan 17, 2011 7:32 pm

jps wrote:but in general I'm quite happy with them, especially the dragging functionality. Let me know what you think.

The dragging is solid. I especially like how dragging off of the tab bar opens the file in a new window and/or dragging between windows' tab bars opens the dragged file in that project. Another excellent release!
Posts: 20
Joined: Fri Jan 07, 2011 8:56 am

Re: Sublime Text X 20110117

Postby adzenith on Mon Jan 17, 2011 7:54 pm

I just accidentally found out that dragging a tab out of the tab bar makes a new window. This is awesome.
I was hoping I could make a feature request, though: would it be possible to be able to select multiple buffers (by shift-clicking or command-clicking or whatever) and then drag them all at once into a new window? That would be, as far as I know, unprecedented.
Posts: 1403
Joined: Mon Oct 19, 2009 9:12 pm

Re: Sublime Text X 20110117

Postby adzenith on Tue Jan 18, 2011 1:05 am

I appear to only be able to move tabs into the first Sublime Text X window. If I have two maximized windows with the second one on top, tabs will drop through that window into the first one behind it. If I have a third or fourth window and I drag a tab out of it, I can't drag that tab back in.

Also, if you make enough tabs that the close buttons disappear, and then you close some tabs so the close buttons re-appear, some of them will sometimes be highlighted until you mouse-over and mouse-out again.

When the last tab in a non-project window is closed (and maybe only if there are other windows, or something... I'm not sure) could the window close automatically?
Posts: 1403
Joined: Mon Oct 19, 2009 9:12 pm

Re: Sublime Text X 20110117

Postby adzenith on Tue Jan 18, 2011 1:46 am

It'd be really nice if refresh_folder_list could keep track of which folders in the tree you've got open and keep them open if they still exist after the refresh -- I refresh my folder list a lot because I'm using git to move between branches etc.
Also, could you make it so that the sidebar can be used with the arrow keys? I.e., I'd like to be able to select a folder, hit the right arrow key to open it, press up and down to select different files, etc.

Tabs: They look sweet, and as I said I'm a huge fan of the fact that you can drag them out into new windows. However, I just wanted to let you know that someone out there still likes the sidebar. :) I have a widescreen monitor, so I'd rather take up room on the side than on the top (tabs leave me with fewer lines of code showing!).
There are a couple things that would make the sidebar totally killer. Chief among these would be adding the drag-out-into-a-new-window functionality that the tabs have. The second thing I think would be sweet to see (I think I might have mentioned this, but because I'm making this list I guess I'll put it here too) is the ability to act on a selection of multiple sidebar items: close all, drag all out into a new window, drag all to a new group, etc. The last thing I'd like is if there were a sidebar highlight for each group's frontmost buffer instead of just for the active buffer (i.e. if the front buffer in group 1 and the front buffer in group 2 were both highlighted). This way I wouldn't need tabs at all—I have them on right now mostly so I can see instantly which file is open in each group.

Posts: 1403
Joined: Mon Oct 19, 2009 9:12 pm

Re: Sublime Text X 20110117

Postby adzenith on Tue Jan 18, 2011 2:30 am

When I try to slurp_find_string a tab character (and I've got translate_tabs_to_spaces enabled) it gets slurped as spaces, making it pretty hard to search for tabs without using regex. :) (a tab pasted into the search box also gets converted to spaces).
Also, selected whitespace doesn't seem to be visible in the quick-panel.
Posts: 1403
Joined: Mon Oct 19, 2009 9:12 pm

Re: Sublime Text X 20110117

Postby jbjornson on Tue Jan 18, 2011 8:14 am

Cane wrote:@ jbjornson More like the tabs in FireFox? ...

@ Cane - Yes, exactly like tabs in firefox, but also with the ability to define the minimum and maximum width for the tabs.
Posts: 359
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland

Re: Sublime Text X 20110117

Postby bizoo on Tue Jan 18, 2011 12:08 pm

I use now ST X since a few days and everything work great.

The only function that I miss now is the Goto Symbol, do you plan to add it soon ?
Posts: 958
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Sublime Text X 20110117

Postby oats on Tue Jan 18, 2011 5:58 pm

Thanks for the updated Matlab syntax. Maybe I'm the only one who uses it, but I'd like to make a few suggestions:

1) The tmLanguage doesn't show up unless you add "<key>fileTypes</key><array><string>m</string></array>" to recognize the .m files.

2) Just my preference, and obviously would make the tmLanguage file differ from whatever standard one you used, but IMHO the Matlab functions are described incorrectly as "keywords" when they should be "functions." The result is that I get a ton of red syntax on my screen, functions are colored the same as operators and structure keywords (begin, end, for, while, etc). I replaced the following keyword descriptors with function descriptors so that the highlighting of Matlab functions was more correct:

keyword.analysis.matlab --> support.function.analysis.matlab
keyword.desktop.matlab --> support.function.desktop.matlab
keyword.mathematics.matlab --> support.function.mathematics.matlab
keyword.operator.matlab --> support.function.operator.matlab
keyword.other.matlab --> support.function.other.matlab

graphics functions for some reason were not highlighted at all (using the default highlighter):
support.graphics.matlab --> support.function.graphics.matlab

Posts: 101
Joined: Mon Nov 09, 2009 4:39 pm

Re: Sublime Text X 20110117

Postby tstrokes on Tue Jan 18, 2011 9:08 pm

The new tabs are great. However, I'm getting some inconsistencies when the files tree is closed in the side bar.
When it is closed I can't see the contents of a tab it is just black and you can't click between tabs.
When I open the files tree I can click between the tabs and the content is shown. Is this by design?
Last edited by tstrokes on Thu Jan 20, 2011 4:24 am, edited 1 time in total.
Posts: 17
Joined: Wed Dec 03, 2008 6:39 pm

Re: Sublime Text X 20110117

Postby jps on Wed Jan 19, 2011 11:14 am

tstrokes: can you email a screenshot to jps@sublimetext.com, and let me know what platform you're on?
Site Admin
Posts: 3217
Joined: Wed Mar 19, 2008 12:33 pm


Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 21 guests