Sublime Forum

Build 3009

#1

Sublime Text Build 3009 is out, with some important fixes.

If you’ve been experiencing issues with too many worker processes created for indexing, then more information is now available for you to see what’s going on. Firstly, you can look in the console for the “hardware concurrency” value, which will be near the top. No more workers than this should be created per-window. If you have multiple windows doing indexing at the same time, then more workers than this value can be created.

Secondly, you can enter “sublime.log_indexing(True)” in the console, to get reporting on each time workers are created, as well as the progress through the per-window crawl queue. The log_indexing value is persisted over restarts.

Plugins may now optionally define two top level methods, plugin_loaded() and plugin_unloaded(). The former is the most important one: because the API is unavailable at module import time in S3, any API related initialiasion can now be placed in plugin_loaded.

Two other new API methods are available: find_by_class and expand_by_class. These both take a bitwise combination of the various sublime.CLASS_* flags, and allow easily finding word / subword etc start/stop points, without iterating over character data manually.

Finally, Python SSL support should be now working on OS X and Windows, paving the way for Package Control.

0 Likes

ST3 High CPU Use
#2

So, when we have more than a week of hiatus in releases we should expect ST4? :mrgreen:

Welcome back to daily releases! :ugeek:

0 Likes

#3

Great! I love ST

0 Likes

#4

Cheers!

on_new_async still checks the wrong callback.

def on_new_async(view_id):
    v = sublime.View(view_id)
    for callback in all_callbacks'on_new']:
        callback.on_new_async(v)
0 Likes

#5

Also it appears “subl” can no longer open files?

Edit: Actually it does, it just focuses the wrong window :wink:

0 Likes

#6

I am having a problem with this build in Windows. I was just using fine and sudently my computer start working slog, so I open task manager and I saw thousends of sublime_text.exe process even if I had only one window open

0 Likes

#7

On Ubuntu 12.04 x64

Goto definition commands not working (nor were they in 3008 )

Symbols show in goto symbol in project but selection of an item in the quick panel is a noop … ?

This a problem for anyone else?

0 Likes

#8

@Quarnster

[pre=#0C1021]def on_new(view_id):
v = sublime.View(view_id)
for callback in all_callbacks’on_new’]:
callback.on_new(v)

def on_new_async(view_id):
v = sublime.View(view_id)
for callback in all_callbacks’on_new_async’]:
callback.on_new_async(v)
[/pre]

How you do the upgrade?

0 Likes

#9

[quote=“castles_made_of_sand”]On Ubuntu 12.04 x64

Goto definition commands not working (nor were they in 3008 )

Symbols show in goto symbol in project but selection of an item in the quick panel is a noop … ?

This a problem for anyone else?[/quote]

No problems here with goto definition and goto symbol in project, on Ubuntu 12.10 x64 (tested only on python code)

0 Likes

#10

jps,

Any chance you can fix this two issues:

ST3 Bug report: Panels not scrolling automatically

And

ST3 Bug: delete file hangs

They are the major annoyances I have with ST3 at the moment.

Thanks!

– Felipe.

0 Likes

#11

Maybe I’m doing something stupid :confused:

0 Likes

#12

Can you enable the console logging described in the first post of this topic, and send the output to support@sublimetext.com?

fcoury: The file deleting issue on OS X is fixed in 3009

0 Likes

#13

after upgrading from 3008 to 3009 on osx i got this
i rolled back to 3008, but maybe this will help to fix something :wink:

[quote]Process: Sublime Text [39821]
Path: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
Identifier: Sublime Text
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [235]

Date/Time: 2013-02-01 16:15:44.484 +0300
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9

Crashed Thread: 0

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
Library not loaded: @loader_path/…/Frameworks/Sparkle.framework/Versions/A/Sparkle
Referenced from: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
Reason: image not found

Binary Images:
0x10dad2000 - 0x10df7ffff +Sublime Text (??? - ???) /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
0x7fff6d6d2000 - 0x7fff6d706baf dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
0x7fff852bd000 - 0x7fff852bdfff com.apple.Cocoa (6.6 - ???) <7EC4D759-B2A6-3A99-AC75-809FED1500C6> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff87be0000 - 0x7fff87be0fff com.apple.Carbon (153 - 153) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon

[/quote]

0 Likes

#14

[quote=“castles_made_of_sand”]@Quarnster

How you do the upgrade?[/quote]

It’s a bit complex, actually. I had 3007 running as “Sublime Text” and 3008 running as “Sublime Text 3008”. 3008 was the one that was updated to 3009 and the “subl” command was pointing to the “Sublime Text” path so was launching 3007 (but the window of the now 3009 was the one that moved to the front, despite the file being opened in 3007). The confusion was severe as to why I couldn’t alt+~ between the two open ST3 windows until I realized what was going on :smile:

0 Likes

#15

Dunno wtf I was doing wrong before, but suddenly goto definition works :smile:

:astonished:

0 Likes

#16

Indexing now working on windows XP ! And i must say i’m really impressed by how fast indexing was done o0 (i have a project with more than 4k files, with different languages)

0 Likes

#17

Is there anyway, to say, add a python virtualenv to the symbol index, but have it NOT show up in the goto anything panel (ctrl+p )?

0 Likes

#18

@castles_made_of_sand: You mean like providing “Goto Definition” support but not “Symbol List”?

0 Likes

#19

No, but I can see how that might be nice too

0 Likes

#20

Then what? I don’t really understand.

And slightly going OT here, but it seems like the forum’s server’s clock is about 1:20min ahead despite selecting the correct timezone in preferences.

Edit: Something I just discovered: When I opened ST3 portable for the first time it displayed the sidebar. I could not close the sidebar (using “ctrl+k, ctrl+b”) until I selected “View > Side Bar > Show open files”, after that it works as expected.

0 Likes