farcaller / DashDoc

Dash integration for Sublime Text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New way for plugins to call Dash with keywords

Kapeli opened this issue · comments

Dash 1.9.3 comes with a new way for plugins to call Dash and send over a list of keywords which Dash uses to enable/disable docsets.

This is all described at http://kapeli.com/dash_plugins.

In the next weeks I'll go through all plugins and update them myself, so expect a pull request regarding this. However, if you have some free time and want to do it yourself, feel free to do so 👍.

Note: please do not release a new version of the ST plugin for at least 2-4 weeks, so that Dash users have time to update to 1.9.3.

Hi, I can look into this. Let me know if you'd rather work on the change yourself.

Cheers,
—Torsten

I'd definitely be very happy if someone else would do it. I'm a bit swamped with docset updates at the moment :)

@Teggy, you can take that over if you want. I also had an idea to refactor the syntax mapping a bit, so that one could specify a restricted subset of extension to docset mapping on project file, e.g. instead of default

Objective-C (.m, .h)
keys=iphoneos,macosx,appledoc,cocos2d,cocos3d,kobold2d,sparrow,c,manpages

you could use keys=iphoneos,cocos2d for some specific project.

I wouldn't be able to work on that until mid-january, though, so any pull requests are welcome 😉

OK, I'll have a go at this then. Will be in touch.

Support for new API merged in 3525d03. Will keep it in master for ~December 30 before releasing as a new package version.

Thanks a lot @Teggy for you work! 👍