Sublime Forum

Sublime Text X 20110110

#10

Thank you for adding it, but a minor problem. It doesn’t trigger a new instance, just a new window. Because of that, clicking on Hot Exit or hitting Alt+F4 terminates all the instances.

A second item is that the new window do not inherit the settings of the parent. For example, the minimap is shown, but I’ve disabled it. Also the size of the window is reduced.

All this under Windows 7 x64 Ultimate using Windows x64 version of SublimeText X

Thank you.

0 Likes

#11

Opening a new window, rather than a new instance, is by design. Starting a new instance would cause issues, such as auto save and session files clobbering each other.

Alt+F4 only closes the current window, and won’t terminate all instances.

I’ll have a think about what can be done about the minimap. It’s currently a per-window setting, but it may make more sense for it to be a global one.

0 Likes

#12

I can currently add the same folder to a project multiple times, which is annoying because then find in files searches through the same files multiple times. :smile:

0 Likes

#13

Sweet dude! Thanks for the build system!
Looking forward to spelunking…

0 Likes

#14

A resizable mini map would be nice. :smile: Second, a way or an option to hide scrollbars. Scrolling through mini map is also possible.

0 Likes

#15

Wouah !!!
This new version is amazing, thanks for your work.
Not found any bug.

The new build system look great , I wonder what the new line_regex/file_regex is and how it will be used. I have to wait to some updated documentation.
By the way, please think about my proposition to permit a blank filename for the regex, meaning that it’s the active file that is used.

And another idea:
I’ve seen that now you could write negative line number in the Goto line box, meaning that it’s counting from the end of the buffer.
I sometimes need a relative Goto line counting from current line number:
+10 : Current line +10
-12 : Current line - 12

-12 conflict with how it work actually, but if you need to go backward from the end of the file you could simply make a CTRL+END before the goto line.

0 Likes

#16

Aww man!

I really want to try this version of X! All the features look like a very promising switch from my current editor.

Any chance on getting a 1 week trail up soon (I just want to be sure before I buy it)

PS - update the screen shots on this page : sublimetext.com/x I really want to see what the interface looks like

0 Likes

#17

Sublime is just getting better and better with all these releases! I’ve switched over to X on OSX and Win7 since the 20110106 release and have been loving it.

Is this a new feature that might be coming to X? Or is it better suited as a plugin? -> Plug-in idea - Save buffer when focus lost

Auto saving when focus is lost is the only thing that I miss from TM.

0 Likes

#18

There will be a public alpha soon (this month, fingers crossed), so it won’t be too long until you’ve got something you can try.

Auto save in this case refers to periodically saving the current session, so in the event of a crash or power loss, next time you open Sublime Text you’ll be back where you were, with unsaved changes and files still intact. This is something that always happened, including in 1.x.

I’m planning on adding some API support for notifying plugins when focus is lost, and I’ll add a save_on_focus_lost plugin at the same time. No ETA on this though.

0 Likes

#19

When I press command+e (slurp_find_string) and the find quick-panel isn’t open, everything works as it should. If the find quick-panel is open, however, and I press command+e, then it slurps the find string and also jumps to a different occurrence (seemingly random, but consistent) of that string.

0 Likes

#20

Coming back from fullscreen mode using command+option+f crashes the program pretty regularly. Interestingly, it doesn’t seem to crash if I go View>Exit Full Screen.

0 Likes

#21

I use ant to build java programs. Can I specify ant somehow in the new build system?
Thanks in advance.

0 Likes

#22

You’ll need to make a new .sublime-build file, which specifies ant. I’d imagine it’d look something like:

{
	"cmd": "ant"],
	"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
}

Save this as Ant.sublime-build under %APPDATA%/Sublime Text X/Packages/User (assuming you’re using windows), restart Sublime Text X, and there will be an ‘Ant’ option in the build systems menu.

If “ant” isn’t in your path, then you can modify the cmd to include the full path to it.

The file_regex works that same as lineNumberRegex in Sublime Text 1.x (docs for which are at sublimetext.com/docs/build), except it also supports an optional 4th capture for the error message, which will be displayed in the status bar.

0 Likes

#23

I have a question about folder exclude patterns. Is this possible to set them for every project separately? I’m working with large projects including thousand of files. Some directories consists lots of binary files (for example images). Loading these files into project is completely unnecessary but increases project loading time.

Regards
elmer

0 Likes

#24

It’s not yet possible to set the folder exclude patterns individually for a project, but it will be in the future.

0 Likes

#25

I usually use:
ant -f build.xml [target]
which searches for the build.xml in the directories above. Do I need to set the working directory in Sublime?

The examples below works and reports it can’t find build.xml which is the expected response.
btw, I’m using ubuntu linux and I put the build file in ~/.Sublime Text X/Packages/User
thanks

[quote=“jps”]You’ll need to make a new .sublime-build file, which specifies ant. I’d imagine it’d look something like:

{
"cmd": "ant"],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
}

.[/quote]

0 Likes

#26

You’ll want to pass those extra arguments to ant, and specify the working directory then. They can be done something like:

{
    "cmd": "ant", "-f", "build.xml", "all"],
    "file_regex": "^(...*?):([0-9]*):?([0-9]*)",
    "working_dir": "/home/foo/project"
}

For working_dir, you can also specify “$project_path” or “$file_path” to use the corresponding value.

0 Likes

#27

BTW - I am very impressed with your progress on X, particularly for OS X. Love using it now! One minor thing I’ve been missing on the OS X version. On Windows, when you choose to open or save a file, the file browser dialog will automatically start in the folder of the file currently being edited. This is not true for OS X however. So thankful for your responsiveness to the users on the forum!

0 Likes

#28

[quote=“jps”]
I’m planning on adding some API support for notifying plugins when focus is lost, and I’ll add a save_on_focus_lost plugin at the same time. No ETA on this though.[/quote]

Perfect, thanks!

0 Likes

#29

Nice update!

I don’t get the little boxes drawn around all matching Ctrl+F find results in buffer anymore; is there a setting to re-enable this? Ubuntu 10.04, 64-bit.

0 Likes