microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.45k stars 1.53k forks source link

Intellisense does not work on OS X latest for C/C++ #52

Closed sumonto closed 7 years ago

sumonto commented 8 years ago

Hi, I have installed Complete C/C++ extension but I still don't see intellisense working for C/C++

Thanks.

delmyers commented 8 years ago

@sridmad

csholmq commented 8 years ago

"Works" for me on and off. Mostly it does work. Not sure why.

OS X El Capitan running v1.1.1-insiders

csholmq commented 8 years ago

Intellisense only "works" in current file for me. When addressing a struct, the actual struct members are nowhere to be seen. The suggestions that do pop up are completely unrelated.

intellisense

And as you can see, the search is case sensitive. So not very fuzzy.

Win10.

csholmq commented 8 years ago

@sridmad I believe this can be closed. Works on El Capitan.

sumonto commented 8 years ago

HiI could not get it to work please elaborate the steps

Thanks

On Tue, Jun 28, 2016 at 1:16 AM -0700, "Sebastian Holmqvist" notifications@github.com wrote:

@sridmad I believe this can be closed. Works on El Capitan.


You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/Microsoft/vscppsamples/issues/52#issuecomment-228982605

csholmq commented 8 years ago

@sumonto I just installed the extension and restarted VSCode. Do you get any errors in one of the console outputs?

sumonto commented 8 years ago

Hi,What are your include path setting? Date: Tue, 28 Jun 2016 11:31:47 -0700 From: notifications@github.com To: vscppsamples@noreply.github.com CC: sg1000@hotmail.com; mention@noreply.github.com Subject: Re: [Microsoft/vscppsamples] Intellisense does not work on OS X latest for C/C++ (#52)

@sumonto I just installed the extension and restarted VSCode. Do you get any errors in one of the console outputs?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

dougpuob commented 8 years ago

I got the same problem, it showed members not belongs to that data structure in C.

vscode 1.4.0/Ubuntu

typedef struct _TRACE_GEAR {
    char*      szLogPath;
    uint64_t   Level;
    uint64_t   Module;
} TRACE_GEAR, *PTRACE_GEAR;

screenshot from 2016-08-20 15-23-31a

sridmad commented 7 years ago

13 covers enabling accurate auto completion