Replies: 2 comments 2 replies
-
Also... as a follow up question, is this what causes formatting to just stop working very often? things will format up to a point and then it just stops. I have to close the file and re-open it, then save it again, and formatting works again. Ive read things about long lines etc, but i dont think thats it otherwise simply closing and opening the file again wouldnt magically fix it |
Beta Was this translation helpful? Give feedback.
-
Hey 👋 This is likely because rust-analyzer (which uses cargo) and cargo share the same target directory. You could try changing the target directory for one of the processes by setting the Otherwise, you might be more lucky searching or asking in the rust-analyzer discussions. |
Beta Was this translation helpful? Give feedback.
-
What's the best way to work on a rust project while also using this plugin?
Currently in my terminal I do:
And then I let rustacean also work in neovim. I notice a lot of times I get this error though "waiting for lock file on build directory" as I'm assuming both are trying to compile at once.
What is the proper way to do this?
Beta Was this translation helpful? Give feedback.
All reactions