Sublime Forum

Sublime Text X 20101008

#1

20101008 is available now. This weeks changes are fairly modest, but some headway is being made in basic editing, with indent/unindent now working courtesy of key binding contexts. The quick panel has also received some additional polish: details are on the above page.

There’s also a 64 bit Linux build available, which only been tested under Ubuntu so far.

0 Likes

#2

Thanks :smile:
But 64 bits version doesn’t work on Archlinux : /sublime_text: undefined symbol: PyUnicodeUCS4_DecodeUTF8

0 Likes

#3

I love this new feature: “Select in Project will preview the highlighted item” :smiley:

And yay for JSON key bindings and theme config!

0 Likes

#4

sublimator: Yeah, many file formats will be transitioning to JSON. Plugins will be receiving the JSON defined data as is (I was just going to pass in a python dictionary, but your suggestion is better) - this will make passing complex data to a plugin simpler.

I’m not sure at this stage if I’ll be doing a GUI for configuration or just handling it in a similar way to Sublime Text - I’ll see how things turn out.

oxman: Yeah, I need to make another pair of builds for Linux distributions that compile Python with UCS2 rather than UCS4, as Ubuntu does.

0 Likes

#5

Hum UCS4 seems better, i’ll recompile Python with UCS4 if i can :smile:

0 Likes

#6

When I use the “Prompt Select in Project” (ctrl+p), if I scroll down the list of files with the arrow keys, the view of the quickpanel does not move with my selection. I would expect that when I scroll past the bottom of the quickpanel that it would scroll down so that I can see what is selected. I am able to manually scroll with the mouse.

I also noticed that the quickpanel shown when using ctrl+p does not remember its size but the one shown when using “Select Buffer” (ctrl+shift+o) does remember its size.

Great work so far, keep up the excellent work!

I’m curious how “Prompt Select in Project” works (or will work) with more than one project loaded in the side panel. Will there be the possibility to only select one of the projects to search through and how will you be able to select that project? Will the active project be bolded so you can see which one is active?

Also, I’m very curious how sessions will work. Will we be able to associate a session to a project? I personally don’t really want the whole project tree loaded in the sidebar but would rather have the session for that project loaded in the sidebar (the way that Mylyn works in eclipse is very cool). It took me a while to get used to it, but I really like the way projects work in SublimeText. At the same time, I can see the benefit of being able to traverse the directory structure of the project looking for files. It would be nice to be able to view only the files in the session for the project. Maybe a toggle between all project files and only the project session files could be a possible solution?

0 Likes

#7

Yes indeed. But there are distros that rely on the python that they distribute through their repos. So it would be a nice move to have two build available.

0 Likes

#8

By the way Jon, I keep having the problem with Arrow Keys, Return/Enter and Backspace/Delete

When I run with --debug now not even Enter/Return show any messages in the console, as they used to in the previous version.

Regards,

Nick

0 Likes

#9

Yes indeed, on Archlinux its pretty easy to have both ucs2 and ucs4.

About ctrl+p the preview feature is very cool :smile:

0 Likes

#10

I’ve use the “regular version”, and looked forward to X for use on OS X. … crashed on first use (after “Hot Quit”) with empty untitled file. Abridged log below.

Is there a place you prefer bug/crash reports?

==================================
Process: Sublime Text X [15612]
Path: /Applications/Sublime Text X.app/Contents/MacOS/Sublime Text X
Identifier: com.sublimetext.x
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [326]

Date/Time: 2010-10-08 16:13:30.036 -0400
OS Version: Mac OS X 10.6.4 (10F569)
Report Version: 6

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Application Specific Information:
abort() called

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x9010cef6 __kill + 10
1 libSystem.B.dylib 0x9010cee8 kill$UNIX2003 + 32
2 libSystem.B.dylib 0x9019f62d raise + 26
3 libSystem.B.dylib 0x901b56e4 abort + 93
4 org.python.python 0x007c57c2 Py_FatalError + 51
5 org.python.python 0x007d5f44 PyObject_GC_Track + 2760
6 org.python.python 0x007d5f7f PyGC_Collect + 42
7 org.python.python 0x007c6c38 Py_Finalize + 209
8 com.sublimetext.x 0x0008339b main + 1003
9 com.sublimetext.x 0x0000ee91 start + 53

Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x900d2942 kevent + 10
1 libSystem.B.dylib 0x900d305c _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x900d2519 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x900d22be _dispatch_worker_thread2 + 240
4 libSystem.B.dylib 0x900d1d41 _pthread_wqthread + 390
5 libSystem.B.dylib 0x900d1b86 start_wqthread + 30

Thread 2:
0 libSystem.B.dylib 0x900da066 __semwait_signal + 10
1 libSystem.B.dylib 0x900d9d22 _pthread_cond_wait + 1191
2 libSystem.B.dylib 0x900db9b8 pthread_cond_wait$UNIX2003 + 73
3 com.sublimetext.x 0x000192f2 thread_queue_runner::run() + 114
4 com.sublimetext.x 0x00019471 thread_queue_runner::run() + 497
5 libSystem.B.dylib 0x900d981d _pthread_start + 345
6 libSystem.B.dylib 0x900d96a2 thread_start + 34

Thread 3:
0 libSystem.B.dylib 0x900da066 __semwait_signal + 10
1 libSystem.B.dylib 0x900d9d22 _pthread_cond_wait + 1191
2 libSystem.B.dylib 0x900db9b8 pthread_cond_wait$UNIX2003 + 73
3 com.sublimetext.x 0x0001c61c io_scheduler::extract_next_request() + 108
4 com.sublimetext.x 0x0001c6a2 io_worker::thread_proc() + 50
5 com.sublimetext.x 0x0001c721 io_worker::thread_proc() + 177
6 libSystem.B.dylib 0x900d981d _pthread_start + 345
7 libSystem.B.dylib 0x900d96a2 thread_start + 34

Thread 4:
0 libSystem.B.dylib 0x900ac0fa mach_msg_trap + 10
1 libSystem.B.dylib 0x900ac867 mach_msg + 68
2 com.unsanity.ape 0x00d03725 __ape_agent + 255
3 libSystem.B.dylib 0x900d981d _pthread_start + 345
4 libSystem.B.dylib 0x900d96a2 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x901b5693 ecx: 0xbffff5bc edx: 0x9010cef6
edi: 0x00d97fd0 esi: 0xbffff710 ebp: 0xbffff5d8 esp: 0xbffff5bc
ss: 0x0000001f efl: 0x00200286 eip: 0x9010cef6 cs: 0x00000007
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x007d727b

Binary Images:
0x1000 - 0x451ffb +com.sublimetext.x ??? (???) <71B205F4-555A-B449-E5C0-EBE069E8C0EE> /Applications/Sublime Text X.app/Contents/MacOS/Sublime Text X
0x727000 - 0x80efef org.python.python 2.6.1 (2.6.1) <3AB40053-E1C2-4B9E-D587-7D66895DA529> /System/Library/Frameworks/Python.framework/Versions/2.6/Python
0x8ed000 - 0x8f0ff7 _struct.so ??? (???) <176DAD3C-8E60-620D-81F5-EB5D27D57F69> /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_struct.so
0x8f6000 - 0x8f7ff7 time.so ??? (???) <4E4350A6-4C5E-8670-C32E-F220447B8F1D> /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/time.so
… ]
0xf84000 - 0xf86fe7 binascii.so ??? (???) /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/binascii.so
0xf8a000 - 0xf8bff7 cStringIO.so ??? (???) <64A8EC11-C5D1-6E73-B59F-9A491237A23D> /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/cStringIO.so
0xf8f000 - 0xf91ff7 zlib.so ??? (???) <40A1AC36-44C7-760F-A5AC-26D1D4315718> /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/zlib.so
…]
0x145be000 - 0x145c0ff7 +org.ianhenderson.megazoomer ??? (0.5) <6C724976-6002-23C3-6242-DB4FB20F50EC> /Users/tagregory/Library/Application Support/SIMBL/Plugins/megazoomer.bundle/Contents/MacOS/megazoomer
…]

Model: MacBook4,1, BootROM MB41.00C1.B00, 2 processors, Intel Core 2 Duo, 2.4 GHz, 2 GB, SMC 1.31f0
Graphics: Intel GMA X3100, GMA X3100, Built-In, 144 MB

0 Likes

#11

Lookin great Jon!

The buffer preview is great.

A couple random things:

  1. Noticed a minor problem with ctrl+shift+enter in that it fails to autoindent, whereas ctrl+enter works just fine.
  2. Would be great to convenient to open a ‘project’ from the command line rather than having to drag a folder in, or at least an option to open/create a project in the current directory.

Oh, and yeah, I’m running on OSX too! Thanks giving hope or modern extensible editor on OSX that will be better than TextMate.

Actually, looked into the “Add Line Before.sublime-macro” and just fixed it myself :wink:

Here’s the goods:


    {"command": "move", "args": {"by": "lines", "forward": false} },
    {"command": "move_to", "args": {"to": "hardeol"} },
    {"command": "insert", "args": {"characters": "\n"} }
]
0 Likes

#12

/me wait the ucs2 version :smile:

0 Likes

#13

I really would like to test this Sublime Text X out… but I don’t have a license. Perhaps a 1 week trial?

How is the Project Panel on this? Can you drag and drop a folder onto Sublime X and it will open the Project Panel?

Also, can you create a file/folder from the Project Panel?

And finally, can you use the arrow keys to navigate around the Project Panel?

I need to know, I might just buy it now! Its very tempting.

0 Likes

#14

I’ve had a few queries about trialling Sublime Text X - as a general rule, I’ve declined them on the basis that it’s not yet ready to be evaluated. It’ll be opened up to non-registered users once its passed the alpha stage.

Folders can be dragged onto the side bar, and they’ll be added to the current project (a project will be created if there isn’t one yet). There’s presently no facility for file management (copy, move etc) within the side bar. Keyboard navigation isn’t enabled in the side bar, because input focus stays in the text view. I think that given the way the side bar works, it makes the most sense to keep it this way.

Project support in general should end up being much better in Sublime Text X than in the current version of Sublime Text. With the much improved quick panel, and the ability to preview a file without opening it via the side bar, I believe it’s already clearly better than what’s in Sublime Text.

0 Likes