Jamalam
Jamalam
As far as I can tell, linked grammars work by just doing `grammar_one_string + grammar_two_string`. This is difficult for the LS: ``` // one test = { "a" ~ test_two...
If there was an explicit import statement, the LSP would probably not require any modifications for this issue to be fixed. I'm not sure what the best way forward is....
It would also make more semantic sense to have a dedicated statement arguably
This should probably be revisited with Pest V3, it seems too awkward to fix for now
This was on my personal radar but didn't have a specific issue. I think it can be done, just not sure what the best UI for it is yet
Inlining has been implemented in https://github.com/pest-parser/pest-ide-tools/commit/fa2d7bb42427f7ef5829ae249ef413be4275ef6e extracting is to come
Simple extracting has been implemented, but it needs to be made more robust to support all usecases, so this issue will remain open for a bit
I've transferred this to pest-fmt since IDE tools just calls that. I presume you want a comment syntax like `// pest-fmt-disable` which disables formatting for the next rule definition?
Yeah, the language server does not support split grammars. There is a comment on the issue that tomtau mentioned that explains why. The solution for this would be for Pest...
It would need support on Pest's side - the LSP calls the Pest meta grammar and uses it's returned `Pairs` to get the location of symbols in the document. It's...