Add properties to a Class

Before starting to define a class, I wrote its design.

then I add a Class, then Properties (1)

So, I copied the mlist of Properties, Paste them in the Property Editor’s comment area and use Copy/Paste to add my properties.

The screen shot result in a Shift-Down Arrow (the cursor is just after Issue…)

The last line is not selected…

(1) It could be useful to be able to load a text file with a stock of defined properties (look the screen shot above) using a text file / a MenuItem ( a keyboard sortcut), then the IDE adds the Properties in the selected item in the Navigator (Window ?, Module, Class, whatever…)
Think at the not wasted time (a right-click to add the property, + a click to type the name, another for the Type and at lmast, a comment).
We are in 2026, loading a text file and automating that is … easy !

Not directly related to the desire to automate, but you can save a few clicks and add a new property and type the entire definition in the name field like

x as integer = 123

and it will populate all the other fields.

3 Likes

Try defining a property in the IDE and copy and paste it into a text editor.
Examine the syntax and tags…

Public Property Depth As Integer

P.S. Right click the class you want to paste the attribute or method into.
If you right click the properties list and paste, it doesn’t work. (At least for me.)