Child pages
  • New in 7.0

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

While most scenario's can be solved by providing the right information through JSDoc, some code construct cannot be resolved through JSDoc. In this case dynamic property access can be used to suppress the builder process to generate builder markers:

Code Block
var id = 1;
       var x = {};
       x['property' + id] = 1;
       id++
      
x['property' + id] = 2;
  
    var y = x['property1'] + x['property2']
Note
titleTODO

Work is still ongoing on the JSDoc support in Servoy 6. Still to do is being able to type dynamic objects like XML, XMLList, Object and JSDataSet and to be able to suppress individual warnings inline

In order to take full advantage of the new refactoring features in Servoy 6, it is vital to resolve the markers by providing the required information through JSDoc. However, through the preferences, the warnings can also be ignored (they are just warnings, which not necessarily indicate errors in code!), but the usefulness of the refactoring functionality will diminish as code refactors will not be complete.

...