Forum Discussion

pballard's avatar
pballard
New Contributor
12 years ago

How can I get the properties/methods for a class I created to display in intellisense?

Using vbscript, I created a class with several properties/methods.  When creating an object of that class, I would like to see my properties/methods available in the intellisense.  At the moment, all I see is the standard intellisense properties/methods (AddMethod, AddProperty, etc.).  Is there a way I can add my properties/methods to the intellisense?



Thanks,

Patrick

3 Replies

  • jose_pita's avatar
    jose_pita
    Super Contributor
    I don't know about vbscript, but in jscript, when you create a file A.sj (your class) and you want to use it in file B.sj you need to put "//USEUNIT A" on the first line of the file
  • pballard's avatar
    pballard
    New Contributor
    I have the USEUNIT statement at the top of my page.  It allows me to use the properties and methods of my class, however it still does not display those properties/methods in the intellisense.  Does anyone know how to add these to the intellisense?
  • jose_pita's avatar
    jose_pita
    Super Contributor
    Save all your files and check the panel options (on code editor, right click->panel option) for code completion (I have auto-pop-up checked).



    If this does not work, restart TC and check again :)



    otherwise, you should send support an email or something...