You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"This is the template for your method Description.",
4
-
"Each string in the array will be added in a new line.",
5
-
"Field 'MethodDescription' will be the first line of your template and descripes the method.",
6
-
"Field 'ParameterDescription' will add for each parameter of the method and descripes the parameter usage.",
7
-
"Field 'ReturnDescription' will only be added if the method has a return value.",
8
-
"Field 'ExampleClassMethod' will only be added if the method is a classmethod and gives a example for usage of the method.",
9
-
"Field 'ExampleMethod' will only be added if the method is a instance method and gives a example for usage of the method.",
10
-
"Use spaceholder *classname* for the current class name",
11
-
"Use spaceholder *methodname* for the current method name",
12
-
"Use spaceholder *parametername* for the parametername (can only be used in the ParameterDescription field) ",
13
-
"Use spaceholder *optional* will be replaced by '(optional)' if the current parameter is optional (can only be used in the ParameterDescription field) ",
"<EXAMPLE> Do ##class(*classname*).*methodname*()</EXAMPLE>"
23
-
],
24
-
"ExampleMethod": ["<EXAMPLE> Do instance.*methodname*()</EXAMPLE>"]
2
+
"__comment": [
3
+
"This is the template for your method Description.",
4
+
"Each string in the array will be added in a new line.",
5
+
"Field 'MethodDescription' will be the first line of your template and descripes the method.",
6
+
"Field 'ParameterDescription' will add for each parameter of the method and descripes the parameter usage.",
7
+
"Field 'ReturnDescription' will only be added if the method has a return value.",
8
+
"Field 'ExampleClassMethod' will only be added if the method is a classmethod and gives a example for usage of the method.",
9
+
"Field 'ExampleMethod' will only be added if the method is a instance method and gives a example for usage of the method.",
10
+
"Use spaceholder *classname* for the current class name",
11
+
"Use spaceholder *methodname* for the current method name",
12
+
"Use spaceholder *parametername* for the parametername (can only be used in the ParameterDescription field) ",
13
+
"Use spaceholder *optional* will be replaced by '(optional)' if the current parameter is optional (can only be used in the ParameterDescription field) ",
-[Install from VSCode Marketplace](#install-from-vscode-marketplace)
@@ -53,6 +54,12 @@ This command automatically adds `Set`, `Do` and `Write` to your InterSystems Obj
53
54
54
55
> Tip: You can use IntelliSense even if you have errors in your code. -->
55
56
57
+
### `Open InterSystems Class Documentation`
58
+
59
+
Remebering all your class names and their properties can be difficult. The `Open InterSystems Class Documentation` command makes it easy to access the documentation of any class. Simply place your cursor within a class name and execute the command. The command will automatically open the documentation of the class on the side or in your browser.
Writing comprehensive method descriptions is essential for maintaining code clarity and promoting collaboration. Simply place your cursor within a method and execute the `Add Method Description` command. The command will automatically generate a description template for the method, making it easy to provide meaningful documentation.
@@ -142,8 +149,10 @@ This extension will create a directory named _ownobjectscriptextension-workspace
142
149
### Own ObjectScript Documentation
143
150
144
151
-`Add Method Description`: Adds a description template to your `Method` or `ClassMethod`. See [here](#add-method-description) for more information.
145
-
-`Edit Method Description Template`: Opens the _MethodDescriptionTemplate.json_ file so you can edit the method template. Reload Window after editing!
152
+
-`Edit Method Description Template`: Opens the _MethodDescriptionTemplate.json_ file so you can edit the method template. **Reload Window after editing!**
146
153
-`Add Inline Comments`: Adds a comment in the current Method every specified count of lines without any comment (Default is every 5 lines).
154
+
-`Open InterSystems Class Documentation`: Opens the documentation of the current class. See [here](#open-intersystems-class-documentation) for more information.
155
+
-`InterSystems Web Search`: Search a question about InterSystems ObjectScript on the web. It will open a new tab in your browser with the search results for your question.
147
156
148
157
### Own ObjectScript SQL
149
158
@@ -175,6 +184,11 @@ Go to `File > Preferences > Settings` and than navigate to `Extensions > OwnObje
175
184
-`Ask For Package First`: Set if the extension should ask for the package first (Default: _disabled_).
176
185
-`Service: Add Target Config Names`: If enabled a property called `TargetConfigNames` will be added to your service, that represent the business partners inside of the production. (Default: _disabled_).
177
186
187
+
### Documentation
188
+
189
+
-`Open In Browser`: If enabled the command `Own ObjectScript Documentation: Open InterSystems Class Documentation` will open the documentation in the browser otherwise it will open in VSCode (Default: _disabled_).
190
+
-`Use Duck Duck Go`: If enabled the command `Own ObjectScript Documentation: InterSystems Web Search` will use the searchengine DuckDuckGo otherwise it will use Google (Default: _disabled_).
191
+
178
192
---
179
193
180
194
## Color Theme
@@ -193,11 +207,13 @@ The extension will add a new color theme called _InterSystems Real Dark_. You ca
0 commit comments