Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Include AutocompleteNew to Visual Studio Code? Get it now.
Include Autocomplete

Include Autocomplete

ajshort

|
797,347 installs
| (7) | Free
Autocompletion for C++ includes
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Include Autocomplete VSCode extension

This extension provides autocompletion when typing C++ #include statements. It searches the configured include directories to provide suggestions, and also suggests standard headers.

Usage

Just begin typing an #include statement.

When you type < or " to begin the file name, the extension will scan your include directories to provide suggestions. When you enter a directory separator (/ or \), it will then search within child directories to continue providing suggestions.

The extension uses the same c_cpp_properties.json file as the Microsoft C++ Tools extension to configure the include directories to search. Add additional directories to your platform's includePath setting to include it in suggestions. You can use ${workspaceRoot} in include paths to spcify the current open workspace root.

Configuration

  • include-autocomplete.extensions: An array of extensions to recognise files as headers.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft