microsoft / microsoft/vscode-cpptools
Request: Intellisense ordering by context relevance
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Feature Request
When typing parameter for functions, I am hoping that Intellisens put the most relevant entries on top.
take this for example, function prototype is follows:
void PORT_PinmuxConfig(PORT_ID_t portId, PORT_GPIONO_t gpioNo,PORT_PinMuxFunc_t pinMuxFunc)
I defined enum type for this parameter elsewhere, and I'm hoping the enum entry {PORT_A,PORT_B,PORT_C......} come on top of the list, instead of all keywords coming out together in alphabetic order
Visual Studio support this feature natively IIRC.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue identifies the C/C++ VS Code extension and a sample PORT_PinmuxConfig signature, but no source file, test, or entry point. Reproduce completion suggestions with the enum parameter example, then trace the completion-ranking behavior; done means relevant enum members appear above unrelated keywords for that parameter context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, vscode
- Domain
- developer-experience, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100