microsoft / vscode-prompt-tsx

MIT License
34 stars 1 forks source link

feat: add `flexGrow` and `flexReserve` properties #32

Closed connor4312 closed 5 months ago

connor4312 commented 5 months ago

Adds a flexGrow attribute that will make elements grow to fill any unused space in their parents' token budget. flexReserve will have it reserve that much budget until it's rendered. I renamed flex to flexBasis since, if you squint hard enough, that's kind of how it behaves.

I linked this into copilot and verified that all prompts in stests were identical (no new cache entries).

Also, I tweaked workspace settings so that the extension test runner worked. Sourcemaps are now generated but .npmignore'd

Closes #27