Skip to content

Add VS Code workspace setup for build/debug - #201

Merged
BenjaFriend merged 1 commit into
mainfrom
chore/vs-code-setup
Aug 29, 2026
Merged

Add VS Code workspace setup for build/debug#201
BenjaFriend merged 1 commit into
mainfrom
chore/vs-code-setup

Conversation

@BenjaFriend

Copy link
Copy Markdown
Member

Summary

  • Adds a checked-in FlingEngine.code-workspace plus .vscode/ config (settings.json, extensions.json, tasks.json, launch.json, cmake-variants.json) so opening the repo in VS Code gives working CMake build/debug targets out of the box.
  • Run and Debug panel gets ready-made Debug Sandbox / Debug FlingTests configs (cross-platform: gdb via cppdbg on Linux/macOS, cppvsdbg on Windows), each wired to a matching build task.
  • Build type (Debug/Release/RelWithDebInfo/MinSizeRel) is switchable live from the CMake Tools status bar / CMake: Select Variant, without re-running Init.sh/Init.bat.
  • Init.sh/Init.bat print a hint to open the workspace file; README documents the new VS Code workflow.
  • .gitignore updated so the workspace file and the specific .vscode/* config files we want tracked aren't swallowed by existing blanket ignore rules.

Test plan

  • Verified cmake --build build --config <X> and reconfiguring CMAKE_BUILD_TYPE in place works across Debug/Release/Debug on Linux (Unix Makefiles generator)
  • Verified .gitignore tracks exactly the intended files (git status/git check-ignore)
  • Verify on Windows: Debug Sandbox/Debug FlingTests launch configs with cppvsdbg, and variant switching with the Visual Studio multi-config generator

🤖 Generated with Claude Code

https://claude.ai/code/session_012EzaEQw9gd6k41NhTbNjko

@BenjaFriend
BenjaFriend merged commit a69b485 into main Aug 29, 2026
6 checks passed
@BenjaFriend
BenjaFriend deleted the chore/vs-code-setup branch August 29, 2026 12:50
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.

1 participant