Visualise your Classes Component in the Method Explorer

From the 4D v19 R5, components can publish their classes. This feature came with tips and code completion support to smooth your code writing.

To make your coding experience even easier, 4D v19 R7 is bringing a new feature: say hello to the support of classes in the method explorer.

In the method explorer, you can find the list of the classes visible for a component right after the component method list:

As you can see above, the component name is now followed by the component namespace between parentheses. So if you want to instantiate the Class1 of myComponent, you need to write:

$myClass1:=cs.myComponent.Class1.new()

If the documentation is present for a class, you can see it in the right panel:

blank

And, if the component is installed with the source code, you can visualize the code too:

blank

Happy coding!

Check out the documentation for more information, and don’t hesitate to share your feedback on the 4D forum!

Fabrice Mainguené
• Product Owner •Fabrice Mainguené joined 4D Program team in November, 2016. As a Product Owner, he is in charge of writing the user stories then translating it to functional specifications. His role is also to make sure that the feature implementation delivered is meeting the customer need.After obtaining a Bachelor degree in Computer Science at CNAM, Fabrice joined a small software publishing company as a Windev developer. Then he worked for different companies in industry and trade areas as a Windev and web developer as well as technical advisor on new features.