AnsweredAssumed Answered

Intellisense Sugar JS and PHP?

Question asked by Artis Plocins on Apr 16, 2018
Latest reply on Apr 23, 2018 by Artis Plocins

When you're building an application, you almost always have intellisense in your IDE showing the definitions, comments, types, etc. of the variables, classes and functions you are using and creating.

 

For example, if you write SUGAR.App within a method in your new custom view customisation, or directly in the Sugar filesystem, you should see all the available functions and attributes under SUGAR.App like views, controller, user, etc.

Or in PHP, if you write BeanFactory, you should see all the available methods and attributes of the class, its description, etc.

 

But what we normally get is nothing at all, just looking at the Developer Guide and using XDebug/DevConsole through trial and error.

 

Have you managed to set up their development environment so that the IDE sees the entire Sugar application PHP and JS, or at least one of these languages? Could you please share your knowledge on how to set Sugar up like that?

Outcomes