Add mod declaration after the last availaible in the file when performing "Attach file to main.rs" action #5903
Labels
improvement
subsystem::code insight
General label for issues related to code understanding: highlighting, completion, annotation, etc.
Environment
Problem description
I believe that the better option will be to add the new
moddeclaration right after the last one available if it is present. It will reduce the following manual editing.Optimize Importsaction doesn't solve the problem completely.Expected result
The text was updated successfully, but these errors were encountered: