Question Jean Millette · Apr 18, 2023

VSCode: "ObjectScript Class" As "New File" Option?

What VSCode configuration/setting/knowledge am I missing?

Why doesn't "ObjectScript Class" (or something similar) appear as an option when I select "New File" from VSCode's "File" menu?

Thanks

Product version: IRIS 2022.2
$ZV: IRIS for Windows (x86-64) 2022.2 (Build 334U) Fri Sep 9 2022 00:07:09 EDT

Comments

Jeffrey Drumm · Apr 18, 2023

That should probably be a choice for completeness' sake.

But you can create an ObjectScript class by right-clicking the server or one of its packages in the Explorer pane and entering the package/class name with a .cls extension. Use slashes rather than periods as package/class delimiters (if you use periods, it may display differently in Explorer until you refresh the window).

0
Jean Millette  Apr 18, 2023 to Jeffrey Drumm

Thank you, Jeffrey. Yes, it would be good for completeness' sake and for making the "File->New File" less confusing. I'm good with the "right-click" in Explorer pane, etc. (got the same good "in-house" advice from @Pravin Barton )

0
Jeffrey Drumm  Apr 18, 2023 to Jean Millette

Well, I learned something new too! I've always created classes in the Explorer pane and never realized that the Interoperability class types were templated out as file types. As someone who works primarily with Health Connect/IRIS for Health/HealthShare, that's pretty cool!

0