Describe the bug
Description
When initializing a new project using vp create, the generated .vscode/settings.json file is not tracked by Git (or is being ignored). This prevents the team from sharing consistent IDE configurations (like the oxc formatter) across the project, which is critical for consistent code formatting.
Expected Behavior
The .vscode/settings.json file should be committed to the repository so that all contributors share the same editor settings.
Actual Behavior
The .vscode/settings.json file is ignored (or not added) in the initial commit, causing inconsistency in formatter settings among team members.
Additional Context
I believe this might be an issue with the .gitignore configuration in the project template or a missing step in the generation process. Ensuring this file is tracked will greatly improve the DX for teams.
Reproduction
Steps to reproduce
- Run
vp create (please specify the template you used).
- Check if
.vscode/settings.json exists in the repository.
- Check
git status or .gitignore to see if the file is ignored.
- Verify that the file is not being tracked by Git.
System Info
VITE+ - The Unified Toolchain for the Web
Environment:
Version 24.15.0
Source engines.node
Source Path /Users/ziu/Programs/livephotomaker/package.json
Project Root /Users/ziu/Programs/livephotomaker
Tool Paths:
node /Users/ziu/.vite-plus/js_runtime/node/24.15.0/bin/node
npm /Users/ziu/.vite-plus/js_runtime/node/24.15.0/bin/npm
npx /Users/ziu/.vite-plus/js_runtime/node/24.15.0/bin/npx
Used Package Manager
pnpm
Logs
Validations
Describe the bug
Description
When initializing a new project using
vp create, the generated.vscode/settings.jsonfile is not tracked by Git (or is being ignored). This prevents the team from sharing consistent IDE configurations (like theoxcformatter) across the project, which is critical for consistent code formatting.Expected Behavior
The
.vscode/settings.jsonfile should be committed to the repository so that all contributors share the same editor settings.Actual Behavior
The
.vscode/settings.jsonfile is ignored (or not added) in the initial commit, causing inconsistency in formatter settings among team members.Additional Context
I believe this might be an issue with the
.gitignoreconfiguration in the project template or a missing step in the generation process. Ensuring this file is tracked will greatly improve the DX for teams.Reproduction
Steps to reproduce
vp create(please specify the template you used)..vscode/settings.jsonexists in the repository.git statusor.gitignoreto see if the file is ignored.System Info
VITE+ - The Unified Toolchain for the Web Environment: Version 24.15.0 Source engines.node Source Path /Users/ziu/Programs/livephotomaker/package.json Project Root /Users/ziu/Programs/livephotomaker Tool Paths: node /Users/ziu/.vite-plus/js_runtime/node/24.15.0/bin/node npm /Users/ziu/.vite-plus/js_runtime/node/24.15.0/bin/npm npx /Users/ziu/.vite-plus/js_runtime/node/24.15.0/bin/npxUsed Package Manager
pnpm
Logs
Validations