Home Download Buy Blog Forum Support

Language auto-loading?

Language auto-loading?

Postby nick. on Wed Jan 18, 2012 11:46 pm

Regarding this thread: viewtopic.php?t=50

I'm working on a few customizations to some languages, and it's a bit bothersome to close/reload Sublime to have the edits appear. Jon, you mentioned that it you would take a look at having the languages autoload, what was the result of that?
nick.
 
Posts: 266
Joined: Wed Jan 18, 2012 3:45 am

Re: Language auto-loading?

Postby sublimator on Thu Jan 19, 2012 12:06 am

hot reload is in
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Re: Language auto-loading?

Postby nick. on Thu Jan 19, 2012 12:24 am

Can you go in to a bit more detail? I've just started using Sublime so I'm not sure of what you're referencing.
nick.
 
Posts: 266
Joined: Wed Jan 18, 2012 3:45 am

Re: Language auto-loading?

Postby sublimator on Thu Jan 19, 2012 11:55 am

If you edit and then save a tmLanguage grammar file, any open tabs using that grammar will be updated and reflect the changes without a restart.

There is, however, a bug where if there's an error in the syntax file (it'll show you in an error dialogue box) it'll stop `hot loading` and it will require a restart of Sublime(At least there was when I played with it a little while back)

On saving, it should say something alongs the lines of "Generating Syntax Summary" in the console (ctrl+` to open)
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Re: Language auto-loading?

Postby nick. on Thu Mar 22, 2012 1:07 am

Low priority, but it would be great to see the bug castles mentioned fixed.
nick.
 
Posts: 266
Joined: Wed Jan 18, 2012 3:45 am


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 4 guests