Proposed Extentions (GPT4-o)

When working with C++ in Visual Studio Code (VSCode), several extensions can enhance your development experience by providing features such as IntelliSense, debugging, code formatting, and more. Here are some essential VSCode extensions for C++ development:

1. C/C++ by Microsoft

2. CMake Tools by Microsoft (skip this extension)

3. C/C++ Themes by Microsoft

4. Code Runner by Jun Han

5. Clang-Format by Xaver Kapeller

6. Better C++ Syntax by jeff-hykin

7. GitLens by GitKraken (skip installation)

8. Live Share by Microsoft (skip installation)

9. Include Autocomplete by Aname

10. Doxygen Documentation Generator by CppMan

11. Error Lens by Alexander**

Optional Extensions

Setting Up Your Environment

Once you have installed these extensions, here are a few tips to configure your environment:

  1. Configure IntelliSense:
  2. Ensure your c_cpp_properties.json file is set up with the correct include paths and compiler options.

  3. Set Up CMake Tools:

  4. If using CMake, configure your CMakeLists.txt and ensure that VSCode recognizes your build environment.

  5. Enable Format on Save:

  6. You can enable code formatting on save by adding "editor.formatOnSave": true to your settings.json file.

  7. Custom Keyboard Shortcuts:

  8. Customize keyboard shortcuts for running and debugging C++ programs to streamline your workflow.

With these extensions and configurations, you’ll have a powerful and productive C++ development environment in VSCode.

Previous Page | Course Schedule | Course Content