Thousands of constants causes problems #20538
Unanswered
CraigglesO
asked this question in
Q&A
Replies: 1 comment 8 replies
-
FWIW, What is the crash message? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a rust file that stores all EPSG key-values: an ID whose value is a string that defines it's projection params.
The problem is that rust-analyzer basically crashes if I ever open this file or reference it.
Meanwhile, the Typescript equivalent is essentially the exact same thing, and parser/linter do not even bat an eye. I also get to use autocomplete:
I've done a lot of research on this topic and it SEEMS like the best case scenario is to either:
settings.json
example:Neither of these work despite there being online discussions about both these things.
So the question is:
What solutions do I have? Why is it that rust-analyzer can not handle a few thousand constants?
Beta Was this translation helpful? Give feedback.
All reactions