Sublime Forum

Sublime Text X 20111106

#5

Haha, that’s a fine way to spoil us. I think I got three! Impressive job, as usual.

But there are two long-standing bugs that prevent me from switching yet, LOL: multiple About boxes can be created (I can’t stop!) and CTRL+C won’t copy the contents of the About box. Shame on your army of programmers! Haha.

==

Can you give any quick details about the new timeout for key bindings?

0 Likes

#6

After 1.5 seconds without any typing, the typed characters are committed to the buffer. e.g., if you’re typing in the snippet ‘l,o,r,e,m,tab’, then you have to press each key within 1.5 seconds of the previous one. Sublime Text 1.x operates in the same way - it helps a little bit to clear up some cases where you can trigger a snippet without meaning to.

0 Likes

#7

yes! “Find in files Added key bindings to set layouts, focus groups, and move the current file between groups”!!! can’t wait to use this today!

0 Likes

#8

Questions:

  • Is it possible to change an existing keymap to a different key combination without “reimplementing” it?
  • As others have already mentioned, I also miss the tabs. Might it possible to have tabs optionally visible?

Bugs or annoyances:

  • When word wrap is turned off, it is hard to tell if there is more text at the end of a line because there is no visible separation between the view and the the minimap. This is especially prominent with a “short” file where the minimap next to the long line is blank.
  • 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). Interestingly enough, if I open “Find in files”, clear out the “In Files” field, do not search and exit with excape, the cleared state of “In Files” is correctly remembered.
0 Likes

#9

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.

In fact in trying to reproduce this the file names displayed get confused in quite a few ways.

(X 20110106 - win 7 64 bit portable version)

0 Likes

#10

This is moving right along! Thanks Jon.

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

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.

0 Likes

#11

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).

0 Likes

#12

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…
0 Likes

#13

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?

0 Likes

#14

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:

[ul]
[li]Is there a way to remove one folder from a project?[/li]
[li]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).[/li]
[li]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.[/li]
[li]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?[/li]
[li]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.[/li]
[li]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:
[list]
[]If I save the find results buffer, further searches will open a new buffer. Is this by design?[/li]
[li]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.[/li]
[li]Like sublimator mentioned, it’d be nice if searching would scroll the find results buffer to the location of the new find results.[/li]
[li]I’d like it if the line “Searching 111 files” said what the find string was (maybe something like "Searched for “asdf” in (-
.txt,-Makefile)" – I’m not sure if the search locations are important to list, though).[/li]
[li]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.[/li]
[li]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.[/li]
[li]I really like how next_result and prev_result work with Find in Files.[/li][/ul][/*:m]
[li]I really like the new implementation of the minimap highlight box. It’s very classy.[/li]
[li]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.[/li]
[li]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.[/li]
[li]I like how the new project system keeps track of unsaved changes![/li]
[li]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.[/li]
[li]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.[/li]
[li]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.[/li][/list:u]

0 Likes

#15

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).

0 Likes

#16

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.

0 Likes

#17

Firstly, thanks for the bug reports! Some responses:

Will fix for the next version

Will also be fixed in the next version

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

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

Will fix for the next version

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

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:

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?

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.

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

Not yet, but I’m intending to add the ability to do this.

0 Likes

#18

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.

0 Likes

#19

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

// window width "wrap_midth": 0,
I believe should be “wrap_width”

0 Likes

#20

Good catch, will fix for the next version

0 Likes

#21

Sorry that was unclear; I’m pressing command-g which I have mapped to “find_next”. If I press the Find button with my mouse the highlights don’t disappear.

0 Likes

#22

When I have multiple groups, it’s not clear from the sidebar which file is open in the non-active groups. Could there be a “background highlight” or something? (e.g. a blue highlight for the front file in the current group; a grey highlight for the front file in other groups).

0 Likes

#23

In Sublime Text, I used Consolas size 8, but in X if I use size 8 the letters look kinda funny (I can take a screenshot if you’d like).
Also, in OS X the font sizes seem to be quite different (I use size 10 and it’s at about the size I like). Is there a reason for that?

0 Likes

#24

Font rendering works quite differently across platforms - on OSX I use Core Text, GDI on win32, and FreeType on Linux. It’s important to use the native font rendering on each platform, otherwise the text looks off compared to other applications.

re: Consolas size 8, is that on Windows? Font rendering should be a pixel for pixel match with Sublime Text 1.x there.

0 Likes