Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/edujbarrios/includepatherrorfix

Bash Script that fixes include path error (See description)
https://github.com/edujbarrios/includepatherrorfix

Last synced: 29 days ago
JSON representation

Bash Script that fixes include path error (See description)

Awesome Lists containing this project

README

        

# Script for Fixing Include Path Errors in C/C++ using VSC 🛠️
## Author 🖋️
Developed by Eduardo J Barrios - [email protected]

## Description 📝
This Bash script is designed to help programmers working with C and C++ in Visual Studio Code to resolve pesky issues related to the includePath. Errors in includePath configuration can cause headaches and this script aims to be the aspirin! 🤕➡️😃

The script offers two main features:

- 1️⃣ Display the absolute path of the directory where the script is running. This path can then be added to includePath in your c_cpp_properties.json file in Visual Studio Code.

- 2️⃣ Provide a step-by-step guide on how to modify the includePath in your c_cpp_properties.json file in Visual Studio Code.

## How to Use 🤔
Prerequisites 📋
- Bash
- Visual Studio Code
## Installation Steps 🛠️
- 1️⃣ Download the script display_path_and_instructions.sh onto your system.

- 2️⃣ Make the script executable:

```bash
chmod +x display_path_and_instructions.sh
```
## Execution 🚀
To run the script, open a terminal and type:

```bash
./display_path_and_instructions.sh
```
You'll be greeted with a menu. Just follow the on-screen instructions! 📖

## License 📜
Open-source goodness. Available under the MIT License terms.