Home Download Buy Blog Forum Support

Language Bugs / Need Updating

Language Bugs / Need Updating

Postby Anomareh on Wed Mar 09, 2011 9:12 pm

The current SQL language definition currently isn't recognizing JOIN's.

The TextMate SQL bundle works fine though. I believe the only difference is on line 232 (in both files), a |join was added.

Also would be nice if the PHP syntax got an update. The official TextMate PHP bundle has seen quite a bit of updating making it support PHP 5.3.
Anomareh
 
Posts: 222
Joined: Thu Oct 01, 2009 7:32 pm

Re: Language Bugs / Need Updating

Postby jbrooksuk on Thu Mar 10, 2011 11:13 am

Anomareh wrote:The current SQL language definition currently isn't recognizing JOIN's.

The TextMate SQL bundle works fine though. I believe the only difference is on line 232 (in both files), a |join was added.

Also would be nice if the PHP syntax got an update. The official TextMate PHP bundle has seen quite a bit of updating making it support PHP 5.3.

http://sublimetext.userecho.com/feedbac ... functions/
jbrooksuk
 
Posts: 778
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Language Bugs / Need Updating

Postby bizoo on Thu Mar 10, 2011 11:57 am

jbrooksuk wrote:
Anomareh wrote:The current SQL language definition currently isn't recognizing JOIN's.

The TextMate SQL bundle works fine though. I believe the only difference is on line 232 (in both files), a |join was added.

Also would be nice if the PHP syntax got an update. The official TextMate PHP bundle has seen quite a bit of updating making it support PHP 5.3.

http://sublimetext.userecho.com/feedbac ... functions/

And have you read the comments ? A feedback would be nice for other people reading it...

SQL has many dialects, Oracle SQL is quite different than MySQL SQL.
IMHO, JOIN must be in the standard SQL language, some other specific function not.
bizoo
 
Posts: 886
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Language Bugs / Need Updating

Postby jbrooksuk on Thu Mar 10, 2011 3:02 pm

bizoo wrote:
jbrooksuk wrote:
Anomareh wrote:The current SQL language definition currently isn't recognizing JOIN's.

The TextMate SQL bundle works fine though. I believe the only difference is on line 232 (in both files), a |join was added.

Also would be nice if the PHP syntax got an update. The official TextMate PHP bundle has seen quite a bit of updating making it support PHP 5.3.

http://sublimetext.userecho.com/feedbac ... functions/

And have you read the comments ? A feedback would be nice for other people reading it...

SQL has many dialects, Oracle SQL is quite different than MySQL SQL.
IMHO, JOIN must be in the standard SQL language, some other specific function not.

Oh hah! It's you :P
jbrooksuk
 
Posts: 778
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Language Bugs / Need Updating

Postby Anomareh on Thu Mar 10, 2011 5:44 pm

UserEcho seems to just be the place for feature requests (though honestly if I had one I'd still stick to the forums as it seems like anything new over there will get completely ignored due to the voting system and how things are sorted) and the forums are the place for bug reports.

Also, it really isn't a big deal to upgrade them manually. I did so myself. I was just reporting them so that they would get fixed some point down the road.

If anyone is unaware of how to do it, just goto https://github.com/textmate and find the bundle you're looking to either update or add. Grab the Syntaxes/*.(tmLanguage|plist) files. Create a folder in /path/to/your/config/dir/Packages/User that's the same name of the bundle you're upgrading / adding (rename any plist files to tmlanguage). Lastly, if you are updating, check for any differences between the language files and the originals at the beginning. Some have minor changes for ST, PHP for example. That's it.

There is only one small issue with doing it the way above if you're updating a package, there will be 2 entries in the view > syntax menu (though it will still use yours over the original). You can avoid this if you just update the package in Packages/, though it then runs the possibility of getting overwritten.
Anomareh
 
Posts: 222
Joined: Thu Oct 01, 2009 7:32 pm

Re: Language Bugs / Need Updating

Postby dserodio on Tue Oct 25, 2011 3:50 pm

I'm a Sublime newbie, do I need to "reload configuration", remove some cache file or something like that? I copied Textmate's sql.tmbundle/Syntaxes/SQL.plist to ~/Library/Application Support/Sublime Text 2/Packages/User/SQL/SQL.tmLanguage (on Mac) but I'm not seeing the updated syntax highlighting...
dserodio
 
Posts: 8
Joined: Mon Oct 24, 2011 1:05 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot], Yahoo [Bot] and 25 guests