googlefonts / googlefonts/fontations
generated_* files seem to throw ides for a loop
- Dominant language
- Rust
- Stars
- 826
- Forks
- 75
- Avg merge
- 22h 33m
- Merged PRs (30d)
- 75
Description
VSCode + rust-analyzer does far worse at things like jump to definition on the generated_X files. For example, in generated_layout.rs you can't go to definition on the struct for the enum formats here:
```rust
#[derive(Clone, Debug)]
pub enum ChainedSequenceContext {
Format1(ChainedSequenceContextFormat1),
Format2(ChainedSequenceContextFormat2),
Format3(ChainedSequenceContextFormat3),
}
```
I suspect the use via include! might be related. Could we generate them but have them act more like handwritten files, notably *not* use include! to pull them in?
This slowed me down considerably when confused about how some of the layout types and macros worked.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.