Configuration for project directory structure
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
Configuration for projects/ folder with pxt serve
Problem: pxt serve only searches for projects in the projects/ folder and subdirectories no more two layers deep
I'd like the ability to choose how to organize my local project structure.
Possible solutions:
Argument to add directories for pxt serve to target.
Increase the maximum depth of the pxt serve project scan (2 is just too limiting)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the pxt serve entry point and the code that scans the projects/ folder and limits traversal to two directory levels. Compare the proposed directory argument with increasing the scan depth, then define which behavior should be supported and how existing projects remain compatible. Done means pxt serve discovers projects according to the chosen structure, with tests covering the new behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100