Home Download Buy Blog Forum Support

Dev Build 2063

Dev Build 2063

Postby jps on Tue Jun 14, 2011 11:01 am

Dev Build 2063 is out now.

Syntax highlighting for a few frequently requested languages has been added: Clojure, Haml, reStructuredText and Scala (Scala was there previously, but not well supported). In the course of doing this I've also fixed a long standing issue with tmLanguage rules that can match 0 characters. If you've had a problem with a .tmLanguage file previously, I'd encourage you to give it a go again now. The View/Syntax menu has been orgainsed by package, which should cut down clutter to some degree.

Also new in this build is the ability to open files using encodings other than UTF-8 and UTF-16, via the "Reopen with Encoding" menu. The encoding will be preserved when saving, unless there are characters that aren't representable with the current encoding, in which case it'll be converted to UTF-8. It's not yet possible to explicitly choose a different encoding to save with. Multi-byte encodings are also not yet supported.

Unless any issues turn up, I'm planning on turning 2063 into the next regular build tomorrow.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2063

Postby senzo on Tue Jun 14, 2011 11:23 am

Wow, this is fast response to issues.
senzo
 
Posts: 106
Joined: Tue May 24, 2011 9:17 am

Re: Dev Build 2063

Postby guillermooo on Tue Jun 14, 2011 11:48 am

Thanks for the release!

Minor issue re. organizing syntax defs by package:

AAA
...
Python > ....tmLanguage
Support > ....tmLanguage
...
ZZZ

"Support" is a subdirectory of "AAAPackageDev" in my "Packages" folder. It'd make more sense to group all syntax defs under the package's top level dir, i.e:

AAAPackageDev > ....tmLanguage

Or, just as it's done with snippets:

AAAPackageDev > Support > ....tmLanguage

It's infrequent to have many .tmLanguage files inside a package, so I'd be ok with showing the top level dir for the container package only.
guillermooo
 
Posts: 723
Joined: Thu Jul 23, 2009 9:06 am

Re: Dev Build 2063

Postby guillermooo on Tue Jun 14, 2011 11:52 am

I rather meant: it's infrequent to have subdirectories containing many .tmLanguage files within a package.
guillermooo
 
Posts: 723
Joined: Thu Jul 23, 2009 9:06 am

Re: Dev Build 2063

Postby jps on Tue Jun 14, 2011 1:07 pm

guillermooo wrote:"Support" is a subdirectory of "AAAPackageDev" in my "Packages" folder. It'd make more sense to group all syntax defs under the package's top level dir


Yeah, that'd make much more sense - will fix
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2063

Postby iamntz on Tue Jun 14, 2011 1:20 pm

Thanks for the update.

Btw, there is a way that this can be done?
Image
(highlight bookmarked line, preferably with another color than current line colors)
iamntz
 
Posts: 897
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Dev Build 2063

Postby tgkeul on Tue Jun 14, 2011 7:43 pm

I just put a personalized Main.sublime-menu into the User package directory.

As a result I get the Items of the Default/Main.sublime-menu and of the User/Main.sublime-menu. All menu items are doubled.

It would be nice if it will behave like sublime-keymap and overwrite default items.
tgkeul
 
Posts: 140
Joined: Tue Dec 02, 2008 9:35 pm

Re: Dev Build 2063

Postby rchl on Tue Jun 14, 2011 8:14 pm

This build introduced some pretty bad bug.

In html document, when I type "script" and press tab it inserts some completely unrelated snippet, this one: Data\Packages\Scala\script header.tmSnippet
It even has different trigger defined from script ("content").
rchl
 
Posts: 147
Joined: Fri Mar 04, 2011 11:02 pm

Re: Dev Build 2063

Postby senzo on Tue Jun 14, 2011 8:47 pm

I get this on "script" + tab in an HTML document:

#!/bin/sh
exec scala "$0" "$@"
!#

Maybe it helps to track down the issue. I am on OSX.
senzo
 
Posts: 106
Joined: Tue May 24, 2011 9:17 am

Re: Dev Build 2063

Postby guillermooo on Tue Jun 14, 2011 8:51 pm

The snippet's missing a scope selector to make it behave well. This should do the trick:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>content</key>
   <string>#!/bin/sh
  exec scala "\$0" "\$@"
!#

$1</string>
   <key>name</key>
   <string>script header</string>
   <key>tabTrigger</key>
   <string>script</string>
   <key>uuid</key>
   <string>11D5086B-FD25-4B33-92E3-4DEADCF4119D</string>
   <key>scope</key>
   <string>source.scala</string>   
</dict>
</plist>
guillermooo
 
Posts: 723
Joined: Thu Jul 23, 2009 9:06 am

Next

Return to General Discussion

Who is online

Users browsing this forum: BestGreek, Exabot [Bot], karisublime and 19 guests