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: CHANGELOG.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@
79
79
80
80
## [2.2.0] 31-Oct-2022
81
81
- Enhancements
82
-
- Add features to ease migration from Studio (see [Migrating from Studio documentation page](https://intersystems-community.github.io/vscode-objectscript/studio/) for details) (#1003)
82
+
- Add features to ease migration from Studio (see [Migrating from Studio documentation page](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_fromstudio) for details) (#1003)
83
83
- Improve CodeLenses (#1007)
84
84
- Fixes
85
85
- Improve export error logging (#998)
@@ -136,7 +136,7 @@ Minimum VS Code version is now 1.66.0
136
136
- Enhancements
137
137
- Compile asynchronously to avoid timing out (#890)
138
138
- Add `objectscript.explorer.alwaysShowServerCopy` setting to make ObjectScript Explorer always open server-side code, even when local copy exists (#494)
139
-
- Move issue reporting instructions from README to [documentation](https://intersystems-community.github.io/vscode-objectscript/feedback/) (#874)
139
+
- Move issue reporting instructions from README to [documentation](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_reporting) (#874)
140
140
- Fixes
141
141
- Fix syncing of local CSP files (#886)
142
142
- Stop logging `Non-JSON response` messages to Output (#853)
@@ -406,7 +406,7 @@ Minimum VS Code version is now 1.66.0
406
406
- Swap the two sides displayed by a compare invoked after local file import conflict. Server copy is now on the left, to match convention elsewhere in VS Code.
407
407
- Fix `Import and Compile Current File`.
408
408
- Exclude invalid commands from Command Palette.
409
-
- New documentation site using [GitHub Pages](https://intersystems-community.github.io/vscode-objectscript/).
Copy file name to clipboardExpand all lines: README.md
+3-122Lines changed: 3 additions & 122 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,19 +8,17 @@
8
8
9
9
# InterSystems ObjectScript extension for VS Code
10
10
11
-
> **Note:** The best way to install and use this extension is by installing the [InterSystems ObjectScript Extension Pack](https://marketplace.visualstudio.com/items?itemName=intersystems-community.objectscript-pack) and following the [documentation here](https://intersystems-community.github.io/vscode-objectscript/).
11
+
> **Note:** The best way to install and use this extension is by installing the [InterSystems ObjectScript Extension Pack](https://marketplace.visualstudio.com/items?itemName=intersystems-community.objectscript-pack) and following the [documentation here](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO).
12
12
13
13
[InterSystems®](http://www.intersystems.com) ObjectScript language support for Visual Studio Code, from the [InterSystems Developer Community](https://community.intersystems.com/).
14
14
15
-
- Documentation on [GitHub Pages](https://intersystems-community.github.io/vscode-objectscript/).
15
+
- Documentation on the [InterSystems Documentation site](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO).
16
16
17
-
- Guidance on [reporting issues](https://intersystems-community.github.io/vscode-objectscript/feedback/).
17
+
- Guidance on [reporting issues](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_reporting).
- Intellisense support for commands, system functions, and class members.
26
24
- Export of existing server sources into a working folder:
@@ -33,8 +31,6 @@
33
31
- or, select `ObjectScript: Import and Compile Current File` from Command Palette
34
32
- Direct access to edit or view server code in the VS Code Explorer via `isfs` and `isfs-readonly` FileSystemProviders (e.g. using a [multi-root workspace](https://code.visualstudio.com/docs/editor/multi-root-workspaces)). Server-side source control is respected.
35
33
- Server Explorer view (ObjectScript: Explorer) with ability to export items to your working folder.
- Integration with with [InterSystems Server Manager](https://marketplace.visualstudio.com/items?itemName=intersystems-community.servermanager) for secure storage of connection passwords.
39
35
40
36
## Installation
@@ -75,42 +71,6 @@ intersystems-community.vscode-objectscript version X.Y.Z-beta.1 activating with
75
71
76
72
After a subsequent update of the extension from Marketplace you will only have to download and install the new `vscode-objectscript-X.Y.Z-beta.1` VSIX. None of the other steps above are needed again.
77
73
78
-
## Configure a Connection
79
-
80
-
To be able to use many features you first need to configure the connection to your IRIS/Caché/Ensemble server(s) in your [VS Code settings](https://code.visualstudio.com/docs/getstarted/settings). If you are unfamiliar with how settings work and how they are edited, use that link.
81
-
82
-
We recommend you define server connections in the `intersystems.servers` object whose structure is defined by the [InterSystems Server Manager](https://marketplace.visualstudio.com/items?itemName=intersystems-community.servermanager) helper extension.
83
-
84
-
Install that extension and consult its documentation about its UI and commands for easy setup of connections, plus assistance when editing the JSON definition directly.
85
-
86
-
For more tips about the `intersystems.servers` object, see the [Notes](#Notes) section below.
87
-
88
-
### Client-side Editing
89
-
90
-
A simple workspace -- a local working folder in which you edit InterSystems source files and manage them using client-side source control (e.g. Git) -- will use the `objectscript.conn` settings object to **import** locally-edited code into a namespace on a server, compile it there and run/debug it, and also for initial **export** of an existing codebase (optional). This settings object is usually defined in Workspace Settings, for example in the `.vscode/settings.json` file of your working folder.
91
-
92
-
A quick way to add `objectscript.conn` to a new working folder is:
93
-
94
-
1. Open the folder in VS Code.
95
-
2. Use the InterSystems icon on the activity bar to switch to **ObjectScript Explorer** view.
96
-
3. Click the 'Choose Server and Namespace' button.
97
-
4. Respond to the sequence of quickpicks. You can also define a new server at the start of this sequence by using the '+' button.
98
-
99
-
For more about `objectscript.conn` see the [Notes](#Notes) section below.
100
-
101
-
### Server-side Editing
102
-
103
-
To edit code directly in one or more namespaces on one or more servers (local or remote) we recommend creating a workspace definition file (for example _XYZ.code-workspace_) where you specify one or more root folders that directly access namespaces via the `isfs` or `isfs-readonly` URI schemes. The only difference between these two schemes is that any file opened from a folder using the `isfs-readonly` scheme will be set as read-only in VS Code and thus protected against being changed.
104
-
105
-
1. Start VS Code.
106
-
2. If your last-used folder opens, use 'Close Folder' on the 'File' menu ('Code' menu on macOS). Or if what opened was your last-used workspace, use 'Close Workspace'.
107
-
3. On VS Code's Explorer view (<kbd>⌘</kbd>/<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>E</kbd>), click the 'Manage Servers' button which is contributed by the Server Manager extension.
108
-
4. Find your target server in the tree, or use the '+' button to add a new server.
109
-
5. Expand the server and its 'Namespaces' folder, then click on the 'pencil' icon for editing access to the namespace or the 'eye' icon for viewing access. If you want to work with web application files rather than classes and routines, hold down the <kbd>Alt</kbd>/<kbd>Option</kbd> key when clicking the button.
110
-
6. Use 'Save Workspace As...' to store your workspace definition in a file with a `.code-workspace` extension.
111
-
112
-
For more about `isfs` and `isfs-readonly` folder specifications see the [Notes](#Notes) section below.
113
-
114
74
## Notes
115
75
116
76
- Connection-related output appears in the 'Output' view while switched to the 'ObjectScript' channel using the drop-down menu on the view titlebar.
@@ -122,82 +82,3 @@ For more about `isfs` and `isfs-readonly` folder specifications see the [Notes](
122
82
```SQL
123
83
GRANT EXECUTE ON %Library.RoutineMgr_StudioOpenDialog TO xxx
124
84
```
125
-
126
-
### More about `intersystems.servers`
127
-
This settings object is useful for both client-side and server-side development.
128
-
- An example server definition named 'local':
129
-
130
-
```json
131
-
"intersystems.servers": {
132
-
"local": {
133
-
"webServer": {
134
-
"scheme": "http",
135
-
"host": "127.0.0.1",
136
-
"port": 52773
137
-
},
138
-
"description": "My local IRIS",
139
-
"username": "me"
140
-
}
141
-
}
142
-
```
143
-
144
-
- By defining connections in your User Settings they become available for use by any workspace you open in VS Code. Alternatively, define them in workspace-specific settings.
145
-
146
-
- Setting the `username` property is optional. If omitted it will be prompted for when connecting, then cached for the session.
147
-
148
-
- Setting a plaintext value for the `password` property is **not** recommended. Instead, install the InterSystems Server Manager extension and use that to store your password securely.
149
-
150
-
- If no password has been set or stored it will be prompted for when connecting, then cached for the session.
151
-
152
-
### More about `objectscript.conn`
153
-
This settings object is primarily relevant when doing client-side development.
154
-
- We recommend that `objectscript.conn` uses its `server` property to point to an entry in `intersystems.servers`. For example:
155
-
156
-
```json
157
-
"objectscript.conn": {
158
-
"active": true,
159
-
"server": "local",
160
-
"ns": "USER"
161
-
}
162
-
```
163
-
164
-
- The mandatory `ns` property defines which server namespace you will work with.
165
-
166
-
- When the `server` property is set, any `username` or `password` properties of `objectscript.conn` are ignored. Instead these values come from the `intersystems.servers` entry.
167
-
168
-
### More about `isfs` and `isfs-readonly` workspace folders
169
-
Server-side development is best done using `isfs` folders. The read-only variant `isfs-readonly` is also useful when doing client-side development, since it enables server-side searching of your codebase.
170
-
171
-
To modify how your folder behaves, edit the JSON of your workspace definition (_XYZ.code-workspace_ file). Get there by using the 'Edit Settings' option from the context menu of Server Manager's 'Servers' view, or by running the 'Preferences: Open Workspace Settings (JSON)' command from the Command Palette. Edit your `uri` property.
172
-
173
-
- The `csp` query parameter indicates web application files are to be shown. The uri path optionally specifies which application. The namespace suffix on the server name (preferred syntax) or the `ns` query parameter (deprecated) must specify the same namespace the application is configured to use. In the following example the first folder is for the `/csp/user` web application in the USER namespace of the server named 'local' and the second gives read-only access to all web applications that reside in the %SYS namespace. The second folder also uses the optional `name` property:
174
-
```json
175
-
{
176
-
"uri": "isfs://local:user/csp/user?csp"
177
-
},
178
-
{
179
-
"name": "local:%SYS web files (read-only)",
180
-
"uri": "isfs-readonly://local/?ns=%SYS&csp"
181
-
}
182
-
```
183
-
184
-
- To see only classes in the Xxx.Yyy package, format the uri like this:
185
-
186
-
```json
187
-
{
188
-
"uri": "isfs://local:user/Xxx/Yyy?type=cls"
189
-
}
190
-
```
191
-
192
-
- Other query parameters that can be specified include:
193
-
-`type=cls` to show only classes, or `type=rtn` to show only routines.
194
-
-`flat=1` to flatten the hierarchy.
195
-
-`generated=1` to show generated items.
196
-
-`system=1` to show system (%) items. Without this parameter these are only shown for the %SYS namespace.
197
-
-`filter=filterspec` to use a filter specification formatted in the same way as used in InterSystems Studio's File Open dialog (e.g. `filter=Ensem*.inc`).
198
-
199
-
## Support and Training
200
-
201
-
[CaretDev](https://caretdev.com/#products) provides commercial support services. [Request a quote](https://caretdev.com/contact-us/).
202
-
203
-
On-line course from CaretDev - [Developing with VS Code ObjectScript – Easy Start](https://caretdev.com/courses/).
Copy file name to clipboardExpand all lines: docs/Configuration.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ permalink: /configuration/
5
5
nav_order: 4
6
6
---
7
7
8
+
> **Note:** This documentation has been moved to the [InterSystems Documentation site](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_config). This page will be removed at a later date.
9
+
8
10
# Configuration
9
11
10
12
VS Code settings enable you to customize various aspects of its behavior. The InterSystems extensions provide settings used to configure VS Code for ObjectScript development.
Copy file name to clipboardExpand all lines: docs/ExtensionUI.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ permalink: /extensionui/
5
5
nav_order: 3
6
6
---
7
7
8
+
> **Note:** This documentation has been moved to the [InterSystems Documentation site](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_ui). This page will be removed at a later date.
9
+
8
10
# InterSystems Extensions User Interface
9
11
10
12
The InterSystems extensions add additional capability to the VS Code user interface to support development in ObjectScript. These additions are based on the standard VS Code UI, which is described in the section [User Interface](https://code.visualstudio.com/docs/getstarted/userinterface) in the VS Code documentation.
Copy file name to clipboardExpand all lines: docs/Installation.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,9 @@ title: Installation
4
4
permalink: /installation/
5
5
nav_order: 2
6
6
---
7
+
8
+
> **Note:** This documentation has been moved to the [InterSystems Documentation site](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_install). This page will be removed at a later date.
Copy file name to clipboardExpand all lines: docs/LowCode.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ permalink: /low-code/
5
5
nav_order: 11
6
6
---
7
7
8
+
> **Note:** This documentation has been moved to the [InterSystems Documentation site](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_lowcode). This page will be removed at a later date.
9
+
8
10
# Low-Code Editors
9
11
10
12
VS Code contains support for low-code editors via its [Custom Editors API](https://code.visualstudio.com/api/extension-guides/custom-editors). As InterSystems redevelops its suite of low-code editors for Interoperability components, support for integration with this extension will be included. This page lists the currently supported low-code editors and describes how to use them in VS Code.
Copy file name to clipboardExpand all lines: docs/Projects.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ permalink: /projects/
5
5
nav_order: 9
6
6
---
7
7
8
+
> **Note:** This documentation has been moved to the [InterSystems Documentation site](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_project). This page will be removed at a later date.
9
+
8
10
# Working with Projects
9
11
10
12
A project is a named set of class definitions, routines, include files, web application files or custom documents. All files in a project must be in the same namespace on the same InterSystems server. Each document can be associated with any number of projects. Each namespace can contain any number of projects.
Copy file name to clipboardExpand all lines: docs/ReportingIssues.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,11 @@ permalink: /feedback/
5
5
nav_order: 8
6
6
---
7
7
8
+
> **Note:** This documentation has been moved to the [InterSystems Documentation site](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_reporting). This page will be removed at a later date.
9
+
8
10
# Reporting Issues
9
11
10
-
[InterSystems ObjectScript for VS Code](https://intersystems-community.github.io/vscode-objectscript/) consists of three collaborating VS Code extensions. This modular architecture also means there are three different GitHub repositories where issues can be created. Fortunately VS Code itself helps with the task. You will need a GitHub account. Here's how:
12
+
[InterSystems ObjectScript for VS Code](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO) consists of three collaborating VS Code extensions. This modular architecture also means there are three different GitHub repositories where issues can be created. Fortunately VS Code itself helps with the task. You will need a GitHub account. Here's how:
11
13
12
14
1. From the Help menu in VS Code choose 'Report Issue'. Alternatively, open the Command Palette and run `Help: Report Issue...`.
Copy file name to clipboardExpand all lines: docs/RunDebug.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,9 @@ title: Running and Debugging
4
4
permalink: /rundebug/
5
5
nav_order: 5
6
6
---
7
+
8
+
> **Note:** This documentation has been moved to the [InterSystems Documentation site](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_debug). This page will be removed at a later date.
9
+
7
10
# Running and Debugging
8
11
9
12
The InterSystems ObjectScript Extension provides support for ObjectScript debugging. It takes advantage of the debugging capabilities built into VS Code, so you may find these VS Code documentation resources useful:
Copy file name to clipboardExpand all lines: docs/ServerSide.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ permalink: /serverside/
5
5
nav_order: 6
6
6
---
7
7
8
+
> **Note:** This documentation has been moved to the [InterSystems Documentation site](https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO_ssworkflow). This page will be removed at a later date.
9
+
8
10
# Server-side Editing
9
11
10
12
You can configure the InterSystems ObjectScript extension to edit code directly on the server, using the [multi-root workspaces](https://code.visualstudio.com/docs/editor/multi-root-workspaces) VS Code feature. This type of configuration is useful in cases where source code is stored in a Source Code Management (SCM) product interfaced to the server. For example you might already be using the Source Control menu in InterSystems Studio or Portal, implemented by a source control class that extends `%Studio.SourceControl.Base`.
0 commit comments