Other First refactoring feature!

Erel

B4X founder
Staff member
Licensed User
Longtime User
The next version of B4J (and all other B4X tools) will include the very first refactoring feature: Rename To.

It makes it simple to rename global and local variables, subs and type fields.
It works as an extension to the useful Find All References tool. First you find the references and then you can rename the identifier name:

rename.gif

It will correctly change the name in all relevant modules.

Another new feature is the ability to replace from the Quick Search tool. The idea is similar, you search for something and see all results and then you can then replace them:

SS-2017-03-09_17.26.42.png


You can choose whether to replace in the current selected text, current module or all modules.
 
Last edited:

Rusty

Well-Known Member
Licensed User
Longtime User
No problem...thanks for replying and trying...
I hope Erel gets it into the B4a environment soon. It's badly needed since I often use poor/inconsistent names and later wish to rename :)
Rusty
 
Upvote 0

Rusty

Well-Known Member
Licensed User
Longtime User
Exactly!
However, real life does set in and what once was an excellent variable name becomes out-dated or inappropriate based upon developments ;)
 
Upvote 0
Top