microsoft / microsoft/vscode-cpptools
The Parameter hints does not suggest the best match
Open
Nobody has claimed this yet.
Feature Request
Feature: Doc comments
Language Service
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Type: LanguageService
----- Input information below -----
Please review existing issues and our documentation at https://github.com/Microsoft/vscode-cpptools/tree/master/Documentation prior to filing an issue.
Describe the bug
- OS and Version: Win10
- VS Code Version: 1.24.1
- C/C++ Extension Version: 0.17.5
- A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
class A {};
void func(A a);
void func(int a);
int main() {
int a = 5;
func(a);// Parameter hints prompt 'void func(A a)' , but it should automatic display 'void func(int a)'
}
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
Start by reproducing the parameter-hint behavior with the C++ example in the issue, using the listed Windows, VS Code, and extension versions if available. Trace the language-service handling for overloaded calls and verify that the hint selects the overload matching the argument type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100