microsoft / microsoft/TypeScript

Path intellisense for other files besides js/ts

Open
#29,334 6 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

In Discussion Suggestion
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

I would like to allow VScode intellisence can detect and show more file types when write import syntax.
for now when working with custom file type ex .vue file, editor only show js / ts file, .vue file is hidden.

my suggest is we have new setting:
intellisence.suggest_file_types and allow input custom file type want to load.
Like this we can control better.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how TypeScript and VS Code produce import suggestions for JavaScript and TypeScript files, then identify where custom file extensions such as .vue are excluded. Define how the proposed intellisence.suggest_file_types setting should control those suggestions and verify that configured extensions appear without changing the existing defaults.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.