Skip to content

Language Service: Automatic Import Improvements #47737

@dylhunn

Description

@dylhunn

I recently implemented auto-imports in the language service in #47088. This feature includes the scaffolding for a large number of possible improvements, tracked below. We should prioritize some of these to make the experience as excellent as possible.

  • (15.0.0) Automatic Quickfix Imports: Suggest imports as a quick fix for unknown standalone components.
  • (15.0.0) NgModule support: Support importing to and from NgModules, in addition to standalone components.
  • (15.1.0) Multi-suggestions: If more than one directive has this selector, give the user a choice.
  • (15.2.0) Pipes: Support pipes as well as directives.
  • 🗓️ Declaration Files: Suggest directives from .d.ts files, including imports with @ specifiers.
  • 🗓️ Builtin Directives: We should suggest first-party Angular directives and pipes when appropriate.

✅ Complete | 🚧 In Progress | 🗓️ Planned

Collected PRs Relevant to this Hotlist
Language Service: #47181, #47088, #47787, #47938, #48074, #48354
Compiler: #47180, #47166, #47561, #47631, #48090

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: language-serviceIssues related to Angular's VS Code language servicefeatureLabel used to distinguish feature request from other issuesfeature: under considerationFeature request for which voting has completed and the request is now under consideration

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions