Add more sophistication to autocomplete for related types

Open
#554 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript, vscode

Research direction

Start with the language server's autocomplete path and the handling of AST node names. Define the list of similar names for common AST nodes, then determine when proposals such as NewExpr and CallExpr should appear while typing InvokeExpr. Done means both checklist items are addressed and the related suggestions work appropriately.

Written by the indexing model from the issue text.

Description

Complexity: Medium enhancement VSCode

For example, we should support alternate names for similar AST nodes. When typing InvokeExpr, a user may want intellisense for NewExpr and CallExpr.

  • determine a list of similar names for common AST nodes.
  • augment the language server to propose them when appropriate.
Dominant language
TypeScript
Stars
539
Forks
240
Avg merge
2d 6h
Merged PRs (30d)
29

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.

More from github/vscode-codeql

All issues in github/vscode-codeql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.