https://github.com/wpilibsuite/gradle-cpp-vscode
Gradle Plugin for generating a JSON representation of model based native builds
https://github.com/wpilibsuite/gradle-cpp-vscode
Last synced: 9 months ago
JSON representation
Gradle Plugin for generating a JSON representation of model based native builds
- Host: GitHub
- URL: https://github.com/wpilibsuite/gradle-cpp-vscode
- Owner: wpilibsuite
- Created: 2018-05-20T00:57:10.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-07-12T16:31:55.000Z (over 1 year ago)
- Last Synced: 2025-04-14T12:06:07.565Z (9 months ago)
- Language: Java
- Homepage:
- Size: 468 KB
- Stars: 2
- Watchers: 5
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gradle C++ VS Code
[](https://github.com/wpilibsuite/gradle-cpp-vscode/actions/workflows/main.yml)
This is a Gradle plugin and VS Code extension to enable C++ intellisense for old style C++ gradle projects. New style projects are currently not supported, but could be added in the future.
## VS Code Insructions
For VS Code instructions, see [the VS Code Readme.](extension/README.md)
## Gradle Instructions
To add this to gradle, add the extension to your plugin block. See _insertUrlHere_ for the latest version and instructions how to do this. That is all that needs to be done in Gradle.
Once added, the task `generateVsCodeConfig` is added to the root project, which when ran will generate a `vscodeconfig.json`
# Using custom builds
To use a custom build of gradle-cpp-vscode in a robot project, the build must be published, and a native-utils and GradleRIO build that uses the new version must be pulished.
1. Update the version in `build.gradle` so that native-utils won't overwrite an existing version.
```
group 'edu.wpi.first'
version '1.3.0'
```
2. Execute `.\gradlew publishToMavenLocal`
3. Update gradle-cpp-vscode version in native-utils ``build.gradle``: ``api 'edu.wpi.first:gradle-cpp-vscode:1.3.0'``
4. Follow the directions in the  for publishing a local build and using in a robot program