Forum Discussion
Philip_Baird
12 years agoCommunity Hero
I finally got time to figure out what went wrong.
In the Description.xml file I had the following definition
<Property Name="LogBuildProcess" GetRoutine="get_LogBuildProcess" SetRoutine="set_LogBuildProcess">
where the GetRoutine and SetRoutine access a Var
var LogBuildProcess = true;
I also had the following function
function logBuildProcess( message ) {}
This all worked fine when executing but the intellisence was not displaying correctly.
When I renamed function logBuildProcess(){} to function logBuildProcessX(){} the intellisense started displaying correctly so there is obviously a name clash between having a function with the same name as a defined Property.
Regards,
Phil Baird
In the Description.xml file I had the following definition
<Property Name="LogBuildProcess" GetRoutine="get_LogBuildProcess" SetRoutine="set_LogBuildProcess">
where the GetRoutine and SetRoutine access a Var
var LogBuildProcess = true;
I also had the following function
function logBuildProcess( message ) {}
This all worked fine when executing but the intellisence was not displaying correctly.
When I renamed function logBuildProcess(){} to function logBuildProcessX(){} the intellisense started displaying correctly so there is obviously a name clash between having a function with the same name as a defined Property.
Regards,
Phil Baird