tinymist
tinymist copied to clipboard
scan context and allow auto import
like what rust analyzer does.
I thought it useful to have indices on symbols in other files, and use it without need to create an import item manually, like rust-analyzer inserting an use item when you reference some symbols in other crates. But I find it less useful in typst in practice, where you import all symbols in your template and set up preludes as well by a single #import "template.typ": *
. In your template.typ
you can do this for example:
#import "@preview/physica:0.x": *
#import "@preview/t4t:0.x": *
Can't you do the same in Rust?