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

Lookup from TypeScript file only searches JavaScript #79

Open medmunds opened 5 years ago

medmunds commented 5 years ago

Searches for TypeScript features in a .ts file seem to end up in the JavaScript section of Dash.

To reproduce:

  1. Create file foo.ts (in, say, WebStorm):

    interface Foo {
    bar: string;
    }
  2. Position the caret in interface and press Cmd-Shift-D.

Results: searches for "javascript: interface". (And I have Node docset installed, so it finds a match there.)

screen shot 2019-03-07 at 2 14 32 pm

Expected: should search for "typescript: interface"

screen shot 2019-03-07 at 2 15 04 pm

Dash plugin v3.3 WebStorm 2018.3.5 Dash v4.6.2

gdelmas commented 5 years ago

you are right. when searching in typescript files it should prioritize the results from the typescript docset, yet still search in all the docsets defined for javascript. as the javascript commands and api still apply.

i'll add this.

steven130169 commented 3 years ago

same issue