Skip to content

LSP doesn't offer auto-importing packagesΒ #2189

@jansedlon

Description

@jansedlon

Extension Version

0.20251203.1

VS Code Version

1.107.0-insider

Operating system Version

MacOS 26.1

Steps to reproduce

  1. Create an empty TypeScript project
  2. Install typescript-result
  3. Create index.ts
  4. Type Result and nothing happens

Issue

I noticed somewhere that auto-imports are mostly done, but in my work project, it doesn't auto-import most of the packages that I have installed. It usually auto-imports built-in dependencies such as node:crypto or global types, but not installed deps.

Seems not to be an issue with pnpm, catalog dependencies, etc. It happens with npm as well.

I'm really sorry if this is a current limitation and has been mentioned somewhere, and I didn't notice.

Metadata

Metadata

Assignees

Labels

Domain: EditorRelated to the LSP server, editor experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions