Skip to content

Typescript problems won't update after removing folder with typescript project #62010

Closed as not planned
@adriancuadrado

Description

@adriancuadrado

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

  • VS Code Version: 1.101.1
  • OS Version: Linux x64 6.11.0-26-generic

Steps to Reproduce:

  1. Open a folder
  2. Create a folder inside
  3. Create a typescript project in the inner folder
  4. Wait for VSCode to read the typescript configuration of the project in the inner folder
  5. Remove the inner folder

In my case I created the project in the inner folder with npx create-next-app, but that shouldn't be relevant.

[{
  "resource": "/<somepath>/tsconfig.json",
  "owner": "typescript",
  "severity": 8,
  "message": "No inputs were found in config file '/<somepath>/tsconfig.json'. Specified 'include' paths were '[\"next-env.d.ts\",\"**/*.ts\",\"**/*.tsx\",\".next/types/**/*.ts\"]' and 'exclude' paths were '[\"node_modules\"]'.",
  "source": "ts",
  "startLineNumber": 1,
  "startColumn": 1,
  "endLineNumber": 1,
  "endColumn": 2
}]

This wouldn't be a problem if we could manually refresh problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help WantedYou can do thisPossible ImprovementThe current behavior isn't wrong, but it's possible to see that it might be better in some cases

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions