1
$\begingroup$

In IDEs like PyCharm for Python, I can select a variable name or method name and it will highlight to show where all I have used it. Also its easy to refactor the names under a given text selection.

Is it possible to do this in MMA?

Below is a Python example in PyCharm IDE where "key" is a variable I would like to refactor and also see where all it is used.

1

$\endgroup$
2
$\begingroup$

There is a Wolfram Language plugin for the IDEs you mention: https://wlplugin.halirutan.de

It supports refactoring in this way.

Notice below how values is highlighted only within the first Module but not elsewhere.

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.