Skip to content

[Feature] VS Code integration for IntelliSense, build tasks, and F5 debugging (#7) - #13

Merged
oltir06 merged 6 commits into
devfrom
feature/7-vscode-integration
Feb 27, 2026
Merged

oltir06 merged 6 commits into
devfrom
feature/7-vscode-integration

Conversation

@oltir06

@oltir06 oltir06 commented Feb 20, 2026

Copy link
Copy Markdown
Collaborator

Implements issue #7 by adding and wiring VS Code workspace configuration so the project works out-of-the-box in VS
Code/Cursor/Antigravity.

Changes included:

  • Added .vscode/c_cpp_properties.json with updated include paths for project modules, src/**, vendor headers, and
    generated _deps headers.
  • Added .vscode/tasks.json with a default build task that calls /scripts/build.bat (Windows) and /scripts/build.sh
    (Linux/macOS).
  • Added .vscode/launch.json to run build/Debug/Voltray.exe on Windows (and build/Voltray on Linux/macOS), with
    preLaunchTask set for F5.
  • Added .vscode/extensions.json recommending:
    • ms-vscode.cpptools
    • ms-vscode.cmake-tools
  • Added scripts/build.bat and scripts/build.sh as VS Code task entry points.
  • Updated .gitignore to commit the required .vscode files.

Verification:

  • Confirmed build path used by launch config is produced: build/Debug/Voltray.exe.
  • Ran a launch smoke test from build/Debug and confirmed process startup.
  • Verified the F5 chain wiring: launch.json preLaunchTask matches tasks.json build task.

Closes #7.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds VS Code workspace configuration and lightweight build entrypoints so Voltray can be configured for IntelliSense, built via Tasks, and launched/debugged via F5 across Windows and Linux/macOS.

Changes:

  • Added VS Code workspace files for C/C++ IntelliSense (c_cpp_properties.json), build task wiring (tasks.json), debug configurations (launch.json), and extension recommendations (extensions.json).
  • Added scripts/build.sh and scripts/build.bat as VS Code task entry points for configuring/building via CMake.
  • Updated .gitignore to allow committing the required .vscode files while ignoring other editor-local settings.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
scripts/build.sh Bash build entry point for VS Code tasks (configure + build).
scripts/build.bat Windows build entry point for VS Code tasks (configure + build).
.vscode/tasks.json Default build task invoking the platform-appropriate script.
.vscode/launch.json Debug configurations with preLaunchTask to build on F5.
.vscode/extensions.json Recommends C++ tools and CMake Tools extensions.
.vscode/c_cpp_properties.json IntelliSense configuration with include paths and CMake Tools provider.
.gitignore Whitelists the committed .vscode JSON files.

Comment thread .vscode/c_cpp_properties.json Outdated
Comment thread scripts/build.bat Outdated
Comment thread .vscode/c_cpp_properties.json
Comment thread .vscode/c_cpp_properties.json Outdated
Comment thread scripts/build.sh Outdated
@MomdAli MomdAli added this to Voltray Feb 24, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in Voltray Feb 24, 2026
@MomdAli MomdAli removed this from Voltray Feb 24, 2026
Comment thread .vscode/extensions.json Outdated
Comment thread .vscode/c_cpp_properties.json Outdated
Comment thread .vscode/c_cpp_properties.json
Comment thread .vscode/launch.json Outdated

@MomdAli MomdAli left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure to change the folders to lowercase on these paths:

  • Resources
  • Vendor
  • Screenshots
    and the folders inside them.

@oltir06
oltir06 merged commit 2a05465 into dev Feb 27, 2026
3 of 4 checks passed
@MomdAli
MomdAli deleted the feature/7-vscode-integration branch February 27, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants