Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Elpis on February 28, 2024, 05:24:31 am

Title: Model addins - whole addin code base Find (&Replace, maybe) requested
Post by: Elpis on February 28, 2024, 05:24:31 am
Working with JavaScript code is not easy. As there is no compile-time code checking, most errors appears lately and badly at execution time.
For model addin (<<JavascriptAddin>> Class element) EA brings internal code editor, which allows editing every method's (Class operation, resulting in Javascript function) JavaScript code separately. This 'separation' approach is usefull in some way, but have big drawback also. Even in a case of the simplest refactoring - just renaming a method - there is no way to easily find every place, where the method is invoked (and code need change, appropriately).

There are also other situations, when you want to search source code of the whole addin - i.e. every method and reception.

So Sparx, please, add to the editor possibility to search (Find) whole addin source code - not just single, currently edited method.

PS. If such an extended Find would also be able to Replace ... just dreaming. ;)
Title: Re: Model addins - whole addin code base Find (&Replace, maybe) requested
Post by: Geert Bellekens on March 07, 2024, 07:14:12 pm
If you want Sparx to do something with your request, you will have to actually send in a feature request using the link on the bottom of the page.

This forum is a user forum, so it only serves to inform your fellow users of a feature request you made.

Geert