Skip to content

TSServer: navto command should be supported without a file #2530

Closed
@dbaeumer

Description

@dbaeumer

Currently the file is only used to detect the virtual project. Now that we have tsconfig.json support we can use the language service bound to a tsconfig.json file to find navto items. I would propose the following handling in case of the absense of a file:

  • no tsconfig project. Command return no content message
  • all projects are tsconfig project: return the nav to items (filter duplicates)
  • there is a mix: the response contains a flag indicating that the result might be incomplete.

Metadata

Metadata

Assignees

Labels

APIRelates to the public API for TypeScriptCommittedThe team has roadmapped this issueDomain: TSServerIssues related to the TSServerFix AvailableA PR has been opened for this issueSuggestionAn idea for TypeScriptVS Code PriorityCritical issues that VS Code needs fixed in the current TypeScript milestoneVS Code TrackedThere is a VS Code equivalent to this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions