gdelmas / IntelliJDashPlugin

A smart and simple plugin that provides keyboard shortcut access for Dash, Velocity or Zeal in IntelliJ IDEA, RubyMine, WebStorm, PhpStorm, PyCharm and Android Studio.
MIT License
1.09k stars 73 forks source link

How can I set default docset for specific language? #48

Closed yam-liu closed 8 years ago

yam-liu commented 8 years ago

For example,

Because, I have many docsets in Dash, search all docsets leads very slow.

gdelmas commented 8 years ago

the file extensions are already mapped to the correct docsets. it already works like the two examples you provided

The plugin either searches for the statement at caret position or the current selection. It will identify the programming language in use and request filtered results accordingly.

yam-liu commented 8 years ago

But it doesn't seem to work for me. I use AppCode for Mac, placed caret to UITableView Press Command-Shift-D, Dash show up, but it search all docset without any filters.

What may be wrong?

gdelmas commented 8 years ago

the appcode team did implement their own method to open dash. therefore objective-c syntax and appcode file mappings are not supported. that is why this plugins documentation does not state appcode support.

of course you can still use the plugin for javascript, html, etc. just objective-c and swift are not supported. for that you should use appcodes native dash support.

see Dashs Settings Integration Tab for how to enable it.

yam-liu commented 8 years ago

Thanks anyway. I switch off Dash Plugin, use Dash as External Documentation still search in all docsets.

gdelmas commented 8 years ago

that's bad. maybe you can file an issue with the appcode team. i will also review the issue in future versions of the plugin and maybe decide to support appcode as well.

yam-liu commented 8 years ago

That's great if you support appcode. I will fire an issue. Thanks a lot.