Feature request: Custom prelude
Open
Nobody has claimed this yet.
feature
P-low
- Dominant language
- Lean
- Stars
- 9.2k
- Forks
- 990
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 175
Description
- In a few contexts, it would be helpful if in addition to
Initanother file can be loaded before each file. - This can be a command-line option
- In addition,
Lakecan have a convenient way to specify this.
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 tracing how Init is loaded before each file and how command-line options are parsed. Then inspect Lake's configuration path for a convenient way to specify an additional prelude. Done means both the command-line option and the corresponding Lake mechanism load the selected file before each file.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, cli, compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100