Skip to content

TS Server not picking up new TS files in vscode on MacOS #33564

@mjbvz

Description

@mjbvz

TypeScript Version: 3.7.0-dev.20190922

Search Terms:

  • create-react-app
  • project configuration
  • tsconfig

Repo

  1. npx create-react-app my-app --typescript

  2. Open my-app in VS Code

  3. Open app.tsx

  4. Now create a new file next to it called add.ts with the content:

    export function add() {}
  5. Run the go to project configuration command in VS Code with add.ts open:

    • 🐛 Says it's not part of any configured project
  6. Now go back to App.tsx and try using completions to add an auto import for add

    • 🐛 Auto import never works (unless you add an import manually)

Here are the logs:
log.txt

Metadata

Metadata

Assignees

Labels

Needs InvestigationThis issue needs a team member to investigate its status.VS Code PriorityCritical issues that VS Code needs fixed in the current TypeScript milestone

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions