This seems to indicate that rust-analyzer may need to add some kind of support for this. If so, is this something rust-analyzer interested in supporting? Maybe this is already supported? If not, I can attempt to make this contribution.
A language server that targets .rs files but only "activates" when there is a specific .toml file in the workspace and the .rs file contains the proc macro my_proc_macro_for_sql!
This seems like it could potentially clash with rust analyzer and/or slow down ide needlessly
I would like to write a language server for SQLite sql that will also work for SQL written in a particular proc macro:
Before I venture further, I wanted to ask if something like is even possible in a non-invasive manner.
Some approaches I thought of:
.rs
files but only "activates" when there is a specific .toml file in the workspace and the.rs
file contains the proc macromy_proc_macro_for_sql!