-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.
Description
VSCode: 1.10.2
cpptools: 0.10.4
MacOS: 10.12.3
I've noticed there's a lot of similar issues for this, but a lot of them are confounded. Sorry in advance if there's an existing issue I should follow instead.
When I try to right click on a function in stdlib.h and select "Go to Definition", I get a tooltip-like error that no definition was found. "Go To Definition" with a function in stdio.h has expected behavior.
However, if I "Go to Definition" on #include <stdlib.h>
, I'm given a choice between /usr/include/c++/4.2.1/tr1/stdlib.h
and /usr/include/stdlib.h
. Maybe this contributes/causes the issue.
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
printf("contrived");
exit(0);
}
STR
- Right click on
exit()
. - Select "Go to Definition", observe "No definition found for 'exit'.
Metadata
Metadata
Assignees
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.