Skip to content

generic vscode script to gen project#146

Merged
jonyMarino merged 1 commit intomainfrom
feature/generic_vscode_gen
May 7, 2026
Merged

generic vscode script to gen project#146
jonyMarino merged 1 commit intomainfrom
feature/generic_vscode_gen

Conversation

@jonyMarino
Copy link
Copy Markdown
Contributor

Fixes: #

About

This pull request enhances the blocks_genprojfiles_vscode.sh script to make it more flexible and project-agnostic by automatically detecting the Unreal project file and updating generated configuration files accordingly. The script now works with any .uproject file in the current directory, rather than being hardcoded for the "Blocks" project.

Project detection and configuration:

  • The script now automatically finds the .uproject file in the current directory, extracts the project name, and uses it throughout the script instead of being hardcoded to "Blocks".
  • The generated VS Code workspace and configuration files are named dynamically based on the detected project, improving compatibility with multiple Unreal projects.

Robustness improvements:

  • The script checks for the presence of a .uproject file and exits with an error message if none is found, preventing misconfiguration.

Configuration updates:

  • The script updates .vscode/launch.json to use the detected project name instead of the default "UnrealGame" or "Blocks", ensuring correct launch configurations for any project.

Minor fixes:

  • Corrected a typo in an error message ("environmant" → "environment").

How Has This Been Tested?

Screenshots and videos (if appropriate):

@jonyMarino jonyMarino merged commit 1fdd4b6 into main May 7, 2026
3 checks passed
@jonyMarino jonyMarino added the enhancement New feature or request label May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant