You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was having trouble getting import suggestions to show up in VSCode for the Node11 package so don't have a repro here (feel free to close), but in another project following the package-json-redirects strategy I found that I still needed to use something like the types-versions-wildcards approach
Without this, I was getting import completions to the types files themselves, things like import {something} from "packagename/dist/something".
If there's something to understand it would be useful to add it to the matrix, is there anything obvious about how VSCode might be confused by package-json-redirects? Again I did not repro this in this repo, so this is likely my mistake — but I wasn't able to rule it out because I didn't get import completion working in the Node11 package.
The text was updated successfully, but these errors were encountered:
thomasballinger
changed the title
VSCode completion issues
VSCode completion issues inherent to a strategy
Jan 25, 2023
thomasballinger
changed the title
VSCode completion issues inherent to a strategy
VSCode completion issues inherent to package.json redirect strategy?
Jan 25, 2023
I was having trouble getting import suggestions to show up in VSCode for the Node11 package so don't have a repro here (feel free to close), but in another project following the package-json-redirects strategy I found that I still needed to use something like the types-versions-wildcards approach
to get reasonable import completion in VSCode.
Without this, I was getting import completions to the types files themselves, things like
import {something} from "packagename/dist/something"
.If there's something to understand it would be useful to add it to the matrix, is there anything obvious about how VSCode might be confused by package-json-redirects? Again I did not repro this in this repo, so this is likely my mistake — but I wasn't able to rule it out because I didn't get import completion working in the Node11 package.
The text was updated successfully, but these errors were encountered: