Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ type highlighting and autocomplete #includes #23699

Closed
Trevinlc1997 opened this issue Mar 30, 2017 · 4 comments
Closed

C++ type highlighting and autocomplete #includes #23699

Trevinlc1997 opened this issue Mar 30, 2017 · 4 comments

Comments

@Trevinlc1997
Copy link

Trevinlc1997 commented Mar 30, 2017

  1. Auto complete #includes - I just switched from Visual Studio to Visual Studio Code (because I am now developing on Linux) and I have noticed a auto-include for headers is nonexistent which means I have to rely on a 3rd party extension.

  2. Type highlighting - Nothing in my source code is highlighted except base types like int, char, etc. No user types are highlighted when initialized, so I can't tell what's included and what's not.

  3. Show only members - I have a struct with a couple of members and when I try to access those members they don't show up.

Example:
`
struct foo{
char* foo2;
};

int main(){
foo bar;
bar.foo2; //<---- foo2 doesn't show up at all, just thousands of other functions/types.
return 0;
}

`

@sean-mcmanus
Copy link
Contributor

What C++ extensions are you using? VS Code itself doesn't provide very much C/C++ language functionality.

@Trevinlc1997
Copy link
Author

The extensions I am using are:

C/C++ by Microsoft
Include Autocomplete by ajshort
Reloaded C/C++ by Reloaded Extensions
Reloaded Themes by Reloaded Extensions

@sean-mcmanus
Copy link
Contributor

sean-mcmanus commented Mar 30, 2017

You should file the bugs with the particular extensions that are causing the issue (you may have to enable one at a time to figure out which extension is causing the problem). The C/C+ extension by Microsoft doesn't implement #1 yet, but we plan to. #2 doesn't repro with our extension or they are bugs which we need more repro details for: https://github.com/Microsoft/vscode-cpptools/issues . #3 appears to be a bug with our extension, assuming it's the autocomplete provider.

@aeschli
Copy link
Contributor

aeschli commented Mar 30, 2017

Closing please file against the cpptools repository.

@aeschli aeschli closed this as completed Mar 30, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants