Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2017 #1 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: 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: You can choose whether to replace in the current selected text, current module or all modules. Last edited: Mar 9, 2017
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: 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: You can choose whether to replace in the current selected text, current module or all modules.
alwaysbusy Expert Licensed User Longtime User Mar 9, 2017 #2 Very nice and productive feature! Upvote 0
Cableguy Expert Licensed User Longtime User Mar 9, 2017 #3 Can it also rename nodes? I bet I will abusing this feature ! Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2017 #4 You can change the name of any variable you like. It will not change the name inside the layout file. Upvote 0
You can change the name of any variable you like. It will not change the name inside the layout file.
LucaMs Expert Licensed User Longtime User Mar 10, 2017 #6 Very useful and very desired. In the gif you can see that it is also a special implementation: it also renames routine called by CallSub and CallSubDelayed. Great! Upvote 0
Very useful and very desired. In the gif you can see that it is also a special implementation: it also renames routine called by CallSub and CallSubDelayed. Great!
D Deleted member 103 Guest Mar 10, 2017 #7 Thank you Erel! It's never too late, after 2 years comes my wish. Upvote 0
Martin Larsen Active Member Licensed User Longtime User Mar 13, 2017 #9 Simply fantastic. I thought about wishing this feature just a week ago but noticed someone else had already wished it. Maybe you could read my mind, though! Upvote 0
Simply fantastic. I thought about wishing this feature just a week ago but noticed someone else had already wished it. Maybe you could read my mind, though!
Jmu5667 Well-Known Member Licensed User Longtime User Mar 14, 2017 #10 Brilliant, when is the next release due ? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 14, 2017 #11 Jmu5667 said: Brilliant, when is the next release due ? Click to expand... Beta will probably be released this week. Upvote 0
Jmu5667 said: Brilliant, when is the next release due ? Click to expand... Beta will probably be released this week.
Jmu5667 Well-Known Member Licensed User Longtime User Mar 14, 2017 #12 Erel said: Beta will probably be released this week. Click to expand... Cool, cant wait Upvote 0
Rusty Well-Known Member Licensed User Longtime User Apr 22, 2017 #13 When I touch F7 or search, there is no option to rename. Am I doing something wrong? I'm using version 6.80 Thanks Rusty Upvote 0
When I touch F7 or search, there is no option to rename. Am I doing something wrong? I'm using version 6.80 Thanks Rusty
Daestrum Expert Licensed User Longtime User Apr 22, 2017 #14 Rusty said: When I touch F7 or search, there is no option to rename. Click to expand... I think you have to highlight/select the variable before pressing F7. Upvote 0
Rusty said: When I touch F7 or search, there is no option to rename. Click to expand... I think you have to highlight/select the variable before pressing F7.
Rusty Well-Known Member Licensed User Longtime User Apr 22, 2017 #15 I do this already. It will find the references but no "rename" option... Thanks Upvote 0
LucaMs Expert Licensed User Longtime User Apr 22, 2017 #16 Rusty said: I'm using version 6.80 Click to expand... B4A? This is B4J. Upvote 0
Daestrum Expert Licensed User Longtime User Apr 22, 2017 #17 I just tried it on B4A 6.80 and it didn't work the same as on B4J 5.50Beta and B4J 5.00 There is no rename on B4A 6.80 Last edited: Apr 22, 2017 Upvote 0
I just tried it on B4A 6.80 and it didn't work the same as on B4J 5.50Beta and B4J 5.00 There is no rename on B4A 6.80
LucaMs Expert Licensed User Longtime User Apr 22, 2017 #18 B4J allow you to rename "identifiers" (variable, routine names), B4A does not (now... soon, I think) Upvote 0
Rusty Well-Known Member Licensed User Longtime User Apr 22, 2017 #19 Erel's first post says: The next version of B4J (and all other B4X tools) will include the very first refactoring feature: Rename To. ... Daestrum, Can you describe how you get this to work? I highlight a variable, touch F7 and all I get is the list of occurrences and no options to change it... Thanks to all Rusty Upvote 0
Erel's first post says: The next version of B4J (and all other B4X tools) will include the very first refactoring feature: Rename To. ... Daestrum, Can you describe how you get this to work? I highlight a variable, touch F7 and all I get is the list of occurrences and no options to change it... Thanks to all Rusty
Daestrum Expert Licensed User Longtime User Apr 22, 2017 #20 I was incorrect and corrected my posting - it does NOT work on B4A I didn't look close enough when I tried, due to so many variables being displayed in the find all page. Sorry if I misled you. Upvote 0
I was incorrect and corrected my posting - it does NOT work on B4A I didn't look close enough when I tried, due to so many variables being displayed in the find all page. Sorry if I misled you.