ProbeJS icon indicating copy to clipboard operation
ProbeJS copied to clipboard

Make VSCode prioritize indexing generated `.d.ts` packages

Open JasonBenfrin opened this issue 9 months ago • 2 comments

When the amount of .d.ts files are too large or too many for vscode to index, vscode stops prioritizing to index specified typeRoots. Including the .d.ts file paths in the include option makes the language server prioritize the packages bringing back autocompletion.

  1. Without explicit include of the typing paths.
Image Image
  1. Explicit include of the paths.
Image Image

JasonBenfrin avatar Feb 06 '26 16:02 JasonBenfrin

Note that "../../.probe/packages/generated-package/*.d.ts" should also be added and the client, server or startup should be changed accordingly

JasonBenfrin avatar Feb 06 '26 16:02 JasonBenfrin

thanks that fix

fishdry1000 avatar May 09 '26 17:05 fishdry1000