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
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,8 @@ To unlock these features (optional):
64
64
65
65
1. Download and install a beta version from GitHub. This is necessary because Marketplace does not allow publication of extensions that use proposed APIs.
66
66
- Go to https://github.com/intersystems-community/vscode-objectscript/releases
67
-
- Locate the beta immediately above the release you installed from Marketplace. For instance, if you installed `1.8.0`, look for `1.8.1-beta.1`. This will be functionally identical to the Marketplace version apart from being able to use proposed APIs.
68
-
- Download the VSIX file (for example `vscode-objectscript-1.8.1-beta.1.vsix`) and install it. One way to install a VSIX is to drag it from your download folder and drop it onto the list of extensions in the Extensions view of VS Code.
67
+
- Locate the beta immediately above the release you installed from Marketplace. For instance, if you installed `1.8.1`, look for `1.8.2-beta.1`. This will be functionally identical to the Marketplace version apart from being able to use proposed APIs.
68
+
- Download the VSIX file (for example `vscode-objectscript-1.8.2-beta.1.vsix`) and install it. One way to install a VSIX is to drag it from your download folder and drop it onto the list of extensions in the Extensions view of VS Code.
69
69
70
70
2. From [Command Palette](https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_command-palette) choose `Preferences: Configure Runtime Arguments`.
71
71
3. In the argv.json file that opens, add this line (required for both Stable and Insiders versions of VS Code):
Copy file name to clipboardExpand all lines: docs/RunDebug.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ You can select a debug configuration from the list VS Code provides in the Run a
108
108
109
109
Clicking on the green arrow runs the currently selected debug configuration.
110
110
111
-
When starting **objectscript launch** debug session, make sure that the file containing the **program** that you are debugging is open in your editor and is the active tab. VS Code will start a debug session with the server of the file in the active editor (the tab that the user is focused on).
111
+
When starting **objectscript launch** debug session, make sure that the file containing the **program** that you are debugging is open in your editor and is the active tab. VS Code will start a debug session with the server of the file in the active editor (the tab that the user is focused on). This also applies to **objectscript attach** debug sessions.
112
112
113
113
This extension uses WebSockets to communicate with the InterSystems server during debugging. If you are experiencing issues when trying to start a debugging session, check that the InterSystems server's web server allows WebSocket connections.
Copy file name to clipboardExpand all lines: docs/SettingsReference.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ The extensions in the InterSystems ObjectScript Extension Pack provide many sett
20
20
|`"intersystems.language-server.diagnostics.routines"`| Controls whether error diagnostics are provided when a routine or include file that is being referred to doesn't exist in the database. |`boolean`|`false`||
21
21
|`"intersystems.language-server.formatting.commands.case"`| Controls the case that ObjectScript commands will be changed to during a document formatting request. |`"upper"`, `"lower"` or `"word"`|`"word"`||
22
22
|`"intersystems.language-server.formatting.commands.length"`| Controls the length that ObjectScript commands will be changed to during a document formatting request. |`"short"` or `"long"`|`"long"`||
23
+
|`"intersystems.language-server.formatting.expandClassNames"`| Controls whether short class names will be expanded to include a package during a document formatting request. |`boolean`|`false`||
23
24
|`"intersystems.language-server.formatting.system.case"`| Controls the case that ObjectScript system functions and variables will be changed to during a document formatting request. |`"upper"`, `"lower"` or `"word"`|`"upper"`||
24
25
|`"intersystems.language-server.formatting.system.length"`| Controls the length that ObjectScript system functions and variables will be changed to during a document formatting request. |`"short"` or `"long"`|`"long"`||
25
26
|`"intersystems.language-server.hover.commands"`| Controls whether hover information is provided for ObjectScript commands. |`boolean`|`true`||
@@ -40,10 +41,18 @@ The extensions in the InterSystems ObjectScript Extension Pack provide many sett
40
41
|`"objectscript.compileFlags"`| Compilation flags. |`string`|`"cuk"`| Common compilation flags are ***b*** (compile dependent classes), ***k*** (keep generated source code) and ***u*** (skip related up-to-date documents). For descriptions of all available flags and qualifiers, click [here](https://docs.intersystems.com/irislatest/csp/docbook/Doc.View.cls?KEY=RCOS_vsystem#RCOS_vsystem_flags_qualifiers). |
41
42
|`"objectscript.compileOnSave"`| Automatically compile an InterSystems file when saved in the editor. |`boolean`|`true`||
42
43
|`"objectscript.conn"`| Configures the active server connection. |`object`|`undefined`| See the [Configuration page](../configuration/#config-server-conn) for more details on configuring server connections. |
44
+
|`"objectscript.conn.ns"`| InterSystems server's namespace to use. |`string`|`undefined`||
45
+
|`"objectscript.conn.active"`| Should the connection be active on startup. |`boolean`|`false`||
46
+
|`"objectscript.conn.username"`| InterSystems server's user name. |`string`|`undefined`||
47
+
|`"objectscript.conn.password"`| InterSystems server's password. |`string`|`undefined`| It's not recommended to specify your password in a config file except when you are using the default password |
48
+
|`"objectscript.conn.server"`| InterSystems server's name in Server Manager settings from which to get connection info. |`string`|`undefined`| Specify only `ns` and `active` when using this setting. See the [Server Manager README](https://github.com/intersystems-community/intersystems-servermanager) for more details. |
49
+
|`"objectscript.conn.docker-compose"`| Configures the active server port using information from a file which must be named `docker-compose.yml` in the project's root directory. |`object`|`undefined`||
50
+
|`"objectscript.conn.docker-compose.service"`| InterSystems service's name in `docker-compose.yml`. |`string`|`undefined`||
51
+
|`"objectscript.conn.docker-compose .internalPort"`| InterSystems service's internal port in `docker-compose.yml`. |`object`|`undefined`| This should almost always be 52773 unless your IRIS server is configured in a non-standard way|
43
52
|`"objectscript.debug.debugThisMethod"`| Show inline `Debug this method` CodeLens action for ClassMethods. |`boolean`|`true`||
44
-
|`"objectscript.explorer.alwaysShowServerCopy"`| Always show the server copy of a document in the ObjectScript Explorer. |`boolean`|`false`||
53
+
|`"objectscript.explorer.alwaysShowServerCopy"`| Always show the server copy of a document in the ObjectScript Explorer. |`boolean`|`false`||
45
54
|`"objectscript.export.addCategory"`| Add a category folder to the beginning of the export path. |`boolean` or `object`|`false`||
46
-
|`"objectscript.export.atelier"`| Export source code as Atelier did it, with packages as subfolders. |`boolean`|`true`||
55
+
|`"objectscript.export.atelier"`| Export source code as Atelier did it, with packages as subfolders. |`boolean`|`true`|This setting only affects classes, routines, include files and DFI files. |
47
56
|`"objectscript.export.category"`| Category of source code to export: `CLS` = classes; `RTN` = routines; `CSP` = csp files; `OTH` = other. Default is `*` = all. |`string` or `object`|`"*"`||
48
57
|`"objectscript.export.dontExportIfNoChanges"`| Do not rewrite the local file if the content is identical to what came from the server. |`boolean`|`false`||
49
58
|`"objectscript.export.exactFilter"`| SQL filter to limit what to export. |`string`|`""`| The filter is applied to document names using the [LIKE predicate](https://irisdocs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=RSQL_like) (i.e. `Name LIKE 'exactFilter'`). If provided, `objectscript.export.filter` is ignored. |
@@ -52,7 +61,7 @@ The extensions in the InterSystems ObjectScript Extension Pack provide many sett
52
61
|`"objectscript.export.generated"`| Export generated source code files, such as INTs generated from classes. |`boolean`|`false`||
53
62
|`"objectscript.export.map"`| Map file names before export, with regexp pattern as a key and replacement as a value. |`object`|`{}`| For example, `{ \"%(.*)\": \"_$1\" }` to make % classes or routines use underscore prefix instead. |
54
63
|`"objectscript.export.mapped"`| Export source code files mapped from a non-default database. |`boolean`|`true`||
55
-
|`"objectscript.export.maxConcurrentConnections"`| Maximum number of concurrent export connections. |`number`|`0`| 0 = unlimited |
64
+
|`"objectscript.export.maxConcurrentConnections"`| Maximum number of concurrent export connections. |`number`|`0`| 0 = unlimited |
56
65
|`"objectscript.export.noStorage"`| Strip the storage definition on export. |`boolean`|`false`| Can be useful when working across multiple systems. |
57
66
|`"objectscript.format.commandCase"`| Case for commands. |`"upper"`, `"lower"` or `"word"`|`"word"`| Has no effect if the `InterSystems Language Server` extension is installed and enabled. |
58
67
|`"objectscript.format.functionCase"`| Case for system functions and system variables. |`"upper"`, `"lower"` or `"word"`|`"word"`| Has no effect if the `InterSystems Language Server` extension is installed and enabled. |
@@ -62,7 +71,7 @@ The extensions in the InterSystems ObjectScript Extension Pack provide many sett
62
71
|`"objectscript.overwriteServerChanges"`| Overwrite a changed server version without confirmation when importing the local file. |`boolean`|`false`||
63
72
|`"objectscript.projects.webAppFileExtensions"`| When browsing a virtual workspace folder that has a project query parameter, all files with these extensions will be automatically treated as web application files. Extensions added here will be appended to the default list and should **NOT** include a dot. |`string[]`|`[]`| Default extensions: `["csp","csr","ts","js","css","scss","sass","less","html","json","md","markdown","png","svg","jpeg","jpg","ico","xml","txt"]`|
64
73
|`"objectscript.serverSideEditing"`| Allow editing code directly on the server after opening it from ObjectScript Explorer. |`boolean`|`false`||
65
-
|`"objectscript.serverSourceControl.disableOtherActionTriggers"`| Prevent server-side source control 'other action' triggers from firing. |`boolean`|`false`||
74
+
|`"objectscript.serverSourceControl.disableOtherActionTriggers"`| Prevent server-side source control 'other action' triggers from firing. |`boolean`|`false`||
66
75
|`"objectscript.showExplorer"`| Show the ObjectScript Explorer view. |`boolean`|`true`||
67
76
|`"objectscript.studioActionDebugOutput"`| Log in JSON format the action that VS Code should perform as requested by the server. |`boolean`|`false`| Actions will be logged to the `ObjectScript` Output channel. |
68
77
|`"objectscript.suppressCompileErrorMessages"`| Suppress popup messages about errors during compile, but still focus on Output view. |`boolean`|`false`||
0 commit comments