Author Topic: Model addins - whole addin code base Find (&Replace, maybe) requested  (Read 6268 times)

Elpis

  • EA User
  • **
  • Posts: 47
  • Karma: +7/-0
  • Make MDA/MBSE vital.
    • View Profile
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. ;)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Model addins - whole addin code base Find (&Replace, maybe) requested
« Reply #1 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