Some diagnostics generated by the LSP when parsing manifest files are not useful to the user.
For example, specifying a dependency like this:
content0 = { paths = "../content0" } #mind the typo "paths" instead of "path"
Will produce an error like this:
TOML file parsing error: TOML parse error at line 11, column 8
|
11 | content0 = { paths = "../content0" }
| ^^^^^^^^^^^^^^^^^^^^^^^^^
data did not match any variant of untagged enum DependencyValue
It is safe to say that use would have no idea what to do about this "untagged enum DependencyValue".
The error should rather say something along the lines of
Some diagnostics generated by the LSP when parsing manifest files are not useful to the user. For example, specifying a dependency like this:
Will produce an error like this:
It is safe to say that use would have no idea what to do about this "untagged enum DependencyValue".
The error should rather say something along the lines of