Skip to content

JS/TS auto-import is not as good as Webstorm's #36816

@darkbasic

Description

@darkbasic

TS Template added by @mjbvz

TypeScript Version: 3.7.5

Search Terms

  • auto import
  • auto imports

  • VSCode Version: 1.42.0
  • OS Version: Arch Linux amd64

Steps to Reproduce:

  1. npm install graphql-tools
  2. Try to auto-import makeExecutableSchema

It will say No code actions available, but if you manually import it then it works:

import { makeExecutableSchema } from 'graphql-tools';

The same function gets automatically imported in Webstorm.

Some auto-imports do work in vscode, like join:

import { join } from 'path';

but not all of them.

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

DuplicateAn existing issue was already created

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions