Open ghost opened 6 years ago
Just saw that this is actually supported in nimsuggest
using use
command:
https://nim-lang.org/docs/nimsuggest.html#nimsuggest-invocation-symbol-usages
@tim-st nimsuggest dont guarantee returns all occurrences correctly, Some time ago I was trying integration rename support but found that standard VSCode find and replace works better than nimsuggest support
How come does the find & replace
work better? What about renames across files?
you can use the search and replace within workspace feature for that (it's the magnification glass on the sidebar).
@RSDuck I'm new to VS so that's a nice tip. Thank you. A properly implemented refactor feature though (seems to me) will be much more accurate. And a time saver.
This one should be hard to implement, too, but useful: For the code
Jetbrains products have the option to Refactor all occurences or Refactor code occurences (where local scope would be a better name). The second one would only refactor inside
test
.