cake-build / cake-build/cake-vscode

Skip the bootstrap

Open
#646 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
45
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Currently the extension performs a Cake bootstrap every time a workspace containing a cake file is opened. I couldn't find a way to disable that behavior.

I use a custom bootstrapper script that sets environment variables such as `CAKE_PATHS_TOOLS` and `CAKE_PATHS_ADDINS` with custom paths. I have lots of cake files that use the same tools and addins, so I want those to be shared in a single place.

When opening a workspace in VS Code, the extension is not aware of this, and ends up creating a `tools` directory in each workspace, even if I don't open a cake file in the editor.

I'd like a way to improve upon this. Here are some ideas:
- A setting that would let me disable the bootstrap
- Perform a bootstrap only when a cake file is opened in the editor
- A setting that would let me configure the tools/addins/modules directories

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the extension's bootstrap behavior when a VS Code workspace containing a Cake file opens. Compare the proposed options—disabling bootstrap, waiting for an editor-open event, or configuring tools/addins/modules paths—and confirm the intended behavior with maintainers before identifying the relevant implementation and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.