Problematically importing TextMate packages

Answered

I'm developing a new language for Intellij CE. I would like to bundle the TextMange bundle json for that language and import it problematically from my plugin into IntelliJ. Is it possible to do this without asking the user to import the bundle through the settings UI ?

0
1 comment

Hi, 

You can import it programmatically:

TextMateSettings.getInstance().getState().setBundles()

the reload bundles:

textMateService = TextMateService.getInstance();
textMateService.unregisterAllBundles(false);
textMateService.reloadThemesFromDisk();
textMateService.registerEnabledBundles(true);
1

Please sign in to leave a comment.