Closed nikitavoloboev closed 5 years ago
Hi @nikitavoloboev
I also can reproduce your issue. I threw a question to the Dash developer regarding this. Will keep you posted.
Thank you
@nikitavoloboev
Got this answer from author of Dash
if you send "typescript" (e.g. for a "ts" file) anything TypeScript-related gets activated.
He also mentioned that there is a workaround for this issue by adding keyword exact
. Will investigate this.
I also agree that it is not supposed to open other docset outside the configuration.
This still fails for me @deerawan
My settings:
"dash.languageIdToDocsetMap": {
"typescript": ["typescript", "javascript"]
},
I go to .ts
file and activate extension.
Result:
@deerawan Any way to know why this happens? Did I do something wrong?
Doesn't work for me anymore, either. I'm pretty sure it worked before and without specifying any sort of language or file name map. Exact keyword doesn't change anything.
Ok, I sorted this out. Looks like I had to add all languages to the dash.languageIdToDocsetMap
but used an array instead of a hash. VSCode didn't complain, but now it's working. Using Dash 4 still btw.
I added this to my
settings.js
file:Assuming that it will only search these two docsets when you run the Dash hotkey in
.ts
files but that did nothing. It still searches through all these docsets:Is this a bug? Or I did something wrong?