Home Download Buy Blog Forum Support

Sublime Text X 20111106

Re: Sublime Text X 20111106

Postby hoffstein on Thu Jan 06, 2011 6:37 pm

Bug report: If you hide the minimap and then close/reopen the application, the minimap will be visible again. The View > Show/Hide minimap item will remain in the correct state, so in order to re-hide the minimap you need to click it twice (once to Show, which does nothing since it's already shown, then again to Hide).
hoffstein
 
Posts: 1
Joined: Thu Jan 06, 2011 6:32 pm

Re: Sublime Text X 20111106

Postby lashtal on Thu Jan 06, 2011 7:12 pm

A small wishlist:

- Search by regex in Open Files in Project window (Ctrl-P), and select and open multiple files at once
- Replace in files (recently been doing a lot of replacements manually).
- (possibly cannot be done but..) it would be very awesome to make changes directly in the Find In Files results. Often there is a need to change only a few chars in many files, and this will save a lot of time..
lashtal
 
Posts: 19
Joined: Tue Oct 12, 2010 5:06 am

Re: Sublime Text X 20111106

Postby Allen on Thu Jan 06, 2011 7:55 pm

X is REALLY coming along, great work! As of today, I believe I'm moving to it full time.

Is it possible to include/exclude subfolders and filetypes in projects yet?
Allen
 
Posts: 43
Joined: Sun Jan 24, 2010 2:50 pm

Re: Sublime Text X 20111106

Postby adzenith on Thu Jan 06, 2011 10:47 pm

WIth Find in Files I'm ready to adopt Sublime Text X as my full-time editor of choice. I'm really excited!

Here's some notes I took while playing around. Let me know if it's more convenient for you to have a huge chunk like this or if you prefer the sublimator style of a single post every time I find something of note:

  • Is there a way to remove one folder from a project?
  • I'm excited about the new Preferences menu! Would it be possible to have its options listed as a submenu under Sublime Text X>Preferences? (As an example of what I'm talking about, Adobe Photoshop does this with its preferences).
  • If I drag a sidebar item and I let go when my mouse is outside the window, the item gets stuck until I click back in the window.
  • I really like the detailed status message when you save a broken keymap file. However, would it be possible to just open the console to show the status message when this happens rather than having the modal dialog?
  • When I open the save dialog and press command-d to go to the desktop, the "Where" popup doesn't change to say "Desktop" (it keeps listing whatever the default save folder was) but the file does get saved to the desktop. I'm not sure what's going on.
  • I am a huge fan of the dedicated find results buffer! I have a couple requests here, though. Some of these have been mentioned by others already, but I thought I'd just throw them here anyway:
    • If I save the find results buffer, further searches will open a new buffer. Is this by design?
    • I would really like to be able to edit, save, etc. the buffer while still having it receive new search results and still allowing me to double-click lines to go to their destination. This way I can easily pare down the results to only what I'm interested in and then keep track of those results.
    • Like sublimator mentioned, it'd be nice if searching would scroll the find results buffer to the location of the new find results.
    • I'd like it if the line "Searching 111 files" said what the find string was (maybe something like "Searched for "asdf" in <open folders> (-*.txt,-Makefile)" -- I'm not sure if the search locations are important to list, though).
    • It'd also be nice if the "0 matches across 0 files" line were at the top of the find results -- maybe you could just update the buffer as you find results? or put the line up at the top once the search is over.
    • I originally didn't notice the : to the right of the line number for each find result. When I noticed it I didn't think it was obvious enough, but it's growing on me. I guess this bullet point isn't really saying anything substantial, but it's written already so there you go.
    • I really like how next_result and prev_result work with Find in Files.
  • I really like the new implementation of the minimap highlight box. It's very classy.
  • Could the default and user preference files have different names? When they're listed in sidebar it's impossible to tell which one is the user settings without opening it.
  • I can select multiple buffers in the sidebar, but I don't seem to be able to do anything with my selection; i.e., I can't close them all with commmand-w or by clicking the x, I can't drag them all to a different group, etc.
  • I like how the new project system keeps track of unsaved changes!
  • You mentioned in your release notes that "Exclude patterns can be configured for opened folders" -- is this referring to exclusions in the Find in Files function, or is it referring to file exclusions in a project? If it's the latter, I can't figure out how to do it.
  • When moving to the beginning of line with multiple selections, would it be possible to have either all or none of them move to hard bol? I had some selections and I was trying to get to the beginning of the line, and some selections were at the hard bol and some were at the soft bol and pressing command-left just toggled each line.
  • Command-d sometimes doesn't work right: if I have a selection, it will expand to word instead of find_under_expanding. Sometime it does work, though; I can't figure it out.
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: Sublime Text X 20111106

Postby adzenith on Thu Jan 06, 2011 11:31 pm

The "Find All" button doesn't seem to give focus to the buffer it's just searched, and clicking on that buffer deselects all of the find results.
Incidentally, it'd be nice if you could click on a backgrounded buffer to bring it to the foreground without changing the selection (this is pretty standard in OS X but I think it's pretty non-standard in Windows).
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: Sublime Text X 20111106

Postby adzenith on Fri Jan 07, 2011 12:36 am

When I hit find_next, it makes all my little outlines around all the find results disappear. I can only bring them back by closing the find dialog and re-opening it.
There's also some problem with switching buffers and using the find functionality, but I haven't nailed down a solid repro yet. I'm seeing this behavior where I'll switch files and then find will claim it can't find anything. If I close the find dialog and re-open it then it suddenly realizes it can find stuff again.
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: Sublime Text X 20111106

Postby jps on Fri Jan 07, 2011 4:37 am

Firstly, thanks for the bug reports! Some responses:

jbjornson wrote:If I clear out the "In Files" field of "Find in files" and search, the next time I open "Find in files", the previous text is back in the field (rather than remembering the cleared state of the field)


Will fix for the next version

knitatoms wrote:Bug: If I drag a file in the Side Panel from Group 2 to Group 1 the file name displayed in the side panel changes to the name of the file already open in the group.


Will also be fixed in the next version

Tanaric wrote:Bug report: pasting into an empty buffer crashes Sublime Text on Linux (and has for the last couple releases).


This doesn't happen for me. What distribution are you using?

hoffstein wrote:Bug report: If you hide the minimap and then close/reopen the application, the minimap will be visible again. The View > Show/Hide minimap item will remain in the correct state, so in order to re-hide the minimap you need to click it twice (once to Show, which does nothing since it's already shown, then again to Hide).


I can't get this to happen for me - Not sure what's going on.

adzenith wrote:If I drag a sidebar item and I let go when my mouse is outside the window, the item gets stuck until I click back in the window.


Will fix for the next version

adzenith wrote:Command-d sometimes doesn't work right: if I have a selection, it will expand to word instead of find_under_expanding. Sometime it does work, though; I can't figure it out.


Yep, currently Command+D only ever acts as Expand to Word on OSX. Will hopefully be fixed soon.

adzenith wrote:When I hit find_next, it makes all my little outlines around all the find results disappear. I can only bring them back by closing the find dialog and re-opening it


Do you mean pressing the 'Find' button in the Find panel, or something else? The Find button doesn't cause the highlights to disappear for me.



And for the non-bug related queries:

jbjornson wrote:Is it possible to change an existing keymap to a different key combination without "reimplementing" it?


It's not, no. Most key bindings are only a single line though, so there's not much to it - are you rebinding one of the complex ones?

Tanaric wrote:It'd be nice if clicking "find" or (especially) "find all" in the normal Ctrl+F find window moved the keyboard focus to the found result. Currently you have to click "find all" and then hit Escape to close the Find bar to actually use the results.


Incremental find (Ctrl+I) has this behaviour: type, press enter, and the panel will be hidden. Find All will close the panel when pressed in the next version.

Allen wrote:Is it possible to include/exclude subfolders and filetypes in projects yet?


Yep, you can configure the exclude pattern via Preferences/Global Preferences.

adzenith wrote:Is there a way to remove one folder from a project?


Not yet, but I'm intending to add the ability to do this.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text X 20111106

Postby jbjornson on Fri Jan 07, 2011 8:15 am

jps wrote:
jbjornson wrote:Is it possible to change an existing keymap to a different key combination without "reimplementing" it?


It's not, no. Most key bindings are only a single line though, so there's not much to it - are you rebinding one of the complex ones?


Ya, I'm remapping ctrl+d, which is not massive but it got me thinking that it is error prone to re-implement a key mapping rather than reassigning it. I got used to having ctrl+d delete a line in other editors, so I created a macro for ctrl+d and assigned incremental find to another shortcut.
jbjornson
 
Posts: 353
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland

Re: Sublime Text X 20111106

Postby reddshack on Fri Jan 07, 2011 9:11 am

This release is so great! Find in Files is what I've been waiting for. One typo I found in "Base File.sublime-settings" is

Code: Select all
   // window width
   "wrap_midth": 0,

I believe should be "wrap_width"
reddshack
 
Posts: 20
Joined: Fri Jan 07, 2011 8:56 am

Re: Sublime Text X 20111106

Postby jps on Fri Jan 07, 2011 9:40 am

reddshack wrote:I believe should be "wrap_width"


Good catch, will fix for the next version
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot], José Carlos and 24 guests