Idea(low priority feature request): command like `bleep validate` or better reports for syntax errors in bleep.yaml
i10416 opened this issue · 1 comments
i10416 commented
It would be nice if bleep can report all syntax errors ofbleep.yaml
at once (whether by a dedicated command or general error output)
For example, the following example would show
- "Must specify scala native version"
- "missing platform field
nativeMode
" - "missing platform field
nativeGc
"
at once.
...
platform:
name: native
# nativeGc: immix
# nativeMode: debug
# nativeVersion: 0.4.12
Is it possible? ,and if possible, is this feature worth implementing?
oyvindberg commented
Absolutely, this is a great idea I really want to investigate. The tooling situation for a build file like this has the potential of being really really great, but it isn't so far.
There are different trains of thought here, for instance:
- bleep could provide an LSP server which sends actionable diagnostics to the IDE
- in the case of missing values I think bleep should be able to write back a file with default values for the missing elements