MCPcopy Index your code
hub / github.com/zenstackhq/zenstack / createVsCodeConfig

Function createVsCodeConfig

packages/create-zenstack/src/index.ts:137–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135}
136
137function createVsCodeConfig() {
138 fs.mkdirSync('.vscode', { recursive: true });
139 fs.writeFileSync(
140 '.vscode/settings.json',
141 JSON.stringify(
142 {
143 'files.associations': {
144 '*.zmodel': 'zmodel-v3',
145 },
146 },
147 null,
148 4,
149 ),
150 );
151 fs.writeFileSync('.vscode/extensions.json', JSON.stringify({ recommendations: ['zenstack.zenstack-v3'] }, null, 4));
152}

Callers 1

initProjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected