i encounter this problem where rust analyzer does strange things when i try to add snippets next to pre existing code. Can someone help me fixing this without losing snippets?
To get a good answer you'll probably need to come up with a set of code and steps to take that reproduce the problem (or an example of the problem). For me at least, I can't tell from the video what is expected, and if I could tell I would still need to know the types involved and have a minimal reproducible example. If it's a bug in RA or Helix, this would also be needed in order to file a bug report.
Well. You could redo what I did in the video. The problem is it’s not happening always so I have no way to tell you what exactly needs to be done. Generally it happens when there’s some code and I need to edit/add inside already written code. For example if I need to edit a function call it will most likely happen that accepting snippets will delete what is already there
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.