Skip to content

Commit ab9ee35

Browse files
authored
Merge branch 'master' into correct-serverside
2 parents 35c7214 + fbdd6fe commit ab9ee35

File tree

4 files changed

+28
-15
lines changed

4 files changed

+28
-15
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Change Log
22

3+
## [1.0.10] 26-Apr-2021
4+
- Avoid prompting for already-saved password (#61)
5+
- Constrain QuickOpen list contents when `isfs` folder path targets a specific package (#581)
6+
- Show `isfs` folder label in breadcrumb even without proposed APIs enabled (#599)
7+
- Improve information about compiler flags (#532)
8+
- Add clickable links to compilation error text in Output pane (#386)
9+
- Relabel Variables folders in debugger to be `Private` and `Public` instead of `Local` and `Global` (#482)
10+
- Fix debugging breakpoint command message when class has multiple packages (#597)
11+
- Support expansion of orefs in debugger Variables pane provided server-side API version implements the necessary support (#598)
12+
- Improve README.
13+
- Upgrade vulnerable dependencies.
14+
315
## [1.0.9] 22-Mar-2021
416
- Allow system files (% classes) to be searched from non-%SYS namespace.
517
- Handle `objectscript.conn.server` referencing non-existent `intersystems.servers` entry (#586)

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,13 @@ This extension is able to to take advantage of some VS Code APIs that have not y
5050
The additional features (and the APIs used) are:
5151
- Server-side [searching across files](https://code.visualstudio.com/docs/editor/codebasics#_search-across-files) being accessed using isfs (_TextSearchProvider_)
5252
- [Quick Open](https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_quick-open) of isfs files (_FileSearchProvider_).
53-
- Improved labels (tabs, file lists, tooltips) for server-side files (_ResourceLabelFormatter_)
5453

5554
To unlock these features (optional):
5655

5756
1. Download and install a beta version from GitHub. This is necessary because Marketplace does not allow publication of extensions that use proposed APIs.
5857
- Go to https://github.com/intersystems-community/vscode-objectscript/releases
59-
- Locate the beta immediately above the release you installed from Marketplace. For instance, if you installed `1.0.6`, look for `1.0.7-beta.1`. This will be functionally identical to the Marketplace version apart from being able to use proposed APIs.
60-
- Download the VSIX file (for example `vscode-objectscript-1.0.7-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.
58+
- Locate the beta immediately above the release you installed from Marketplace. For instance, if you installed `1.0.10`, look for `1.0.11-beta.1`. This will be functionally identical to the Marketplace version apart from being able to use proposed APIs.
59+
- Download the VSIX file (for example `vscode-objectscript-1.0.11-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.
6160

6261
2. From [Command Palette](https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_command-palette) choose `Preferences: Configure Runtime Arguments`.
6362
3. In the argv.json file that opens, add this line:
@@ -78,7 +77,7 @@ To be able to use many features you first need to configure the connection to yo
7877

7978
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.
8079

81-
Install that extension and consult its documentation about commands for easy setup of connections, plus assistance when editing the JSON definition directly.
80+
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.
8281

8382
For more tips about the `intersystems.servers` object, see the [Notes](#Notes) section below.
8483

@@ -101,14 +100,16 @@ To edit code directly in one or more namespaces on one or more servers (local or
101100

102101
1. Start VS Code.
103102
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'.
104-
3. On VS Code's Explorer view (<kbd>⌘</kbd>/<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>E</kbd>), click the 'Choose Server and Namespace' button. Respond to the sequence of quickpicks. You can also define a new server connection during this process.
105-
4. Use 'Save Workspace As...' to store your workspace definition in a file with a `.code-workspace` extension.
103+
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.
104+
4. Find your target server in the tree, or use the '+' button to add a new server.
105+
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.
106+
6. Use 'Save Workspace As...' to store your workspace definition in a file with a `.code-workspace` extension.
106107

107108
For more about `isfs` and `isfs-readonly` folder specifications see the [Notes](#Notes) section below.
108109

109110
## Notes
110111

111-
- Connection-related output appears in the "Output" view while switched to the "ObjectScript" channel using the drop-down menu on the view titlebar.
112+
- Connection-related output appears in the 'Output' view while switched to the 'ObjectScript' channel using the drop-down menu on the view titlebar.
112113

113114
- The `/api/atelier/` web application used by this extension usually requires the authenticated user to have Use permission on the %Development resource ([read more](https://community.intersystems.com/post/using-atelier-rest-api)). One way is to assign the %Developer role to the user.
114115

@@ -163,15 +164,15 @@ This settings object is primarily relevant when doing client-side development.
163164
### More about `isfs` and `isfs-readonly` workspace folders
164165
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.
165166

166-
To modify how your folder behaves, edit the JSON of your workspace definition (_XYZ.code-workspace_ file). Get there by running the 'Preferences: Open Workspace Settings (JSON)' command. Edit your `uri` property.
167+
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.
167168

168169
- 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:
169170
```json
170171
{
171172
"uri": "isfs://local:user/csp/user?csp"
172173
},
173174
{
174-
"name": "local:%SYS web files (read-only)",
175+
"name": "local:%SYS web files (read-only)",
175176
"uri": "isfs-readonly://local/?ns=%SYS&csp"
176177
}
177178
```

docs/ServerSide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The `.code-workspace` file is a JSON file which you can edit directly, as descri
5050
"folders": [
5151
{
5252
"name": "iris184:USER",
53-
"uri": "isfs://iris184:user"
53+
"uri": "isfs://iris184:user/"
5454
}
5555
],
5656
"settings": {}
@@ -59,8 +59,8 @@ The `.code-workspace` file is a JSON file which you can edit directly, as descri
5959
- The `name` property provides a name for this server-side folder.
6060
- The `uri` property indicates the location of resources on the server. The supplied value has three components:
6161
- The first component can be either `isfs` or `isfs-readonly`. These values specify that this folder is on an InterSystems IRIS server. `isfs-readonly` specifies read-only access.
62-
- The value following `/` specifies the name of the server.
63-
- The value follosing `:` specifies the namespace (lowercase).
62+
- The value following `://` specifies the name of the server.
63+
- The value following the next `:` specifies the namespace (lowercase).
6464

6565
To add more root folders to your workspace, giving you access to code in a different namespace, or on a different server, use the context menu on your existing root folder to invoke the `Add Server Namespace to Workspace...` command. This command is also available on the Command Palette.
6666

@@ -70,11 +70,11 @@ An example of a two-folder workspace in which the second folder gives read-only
7070
"folders": [
7171
{
7272
"name": "iris184:USER",
73-
"uri": "isfs://iris184:user"
73+
"uri": "isfs://iris184:user/"
7474
},
7575
{
7676
"name": "iris184:%SYS (read-only)",
77-
"uri": "isfs-readonly://iris184:%sys"
77+
"uri": "isfs-readonly://iris184:%sys/"
7878
}
7979
],
8080
"settings": {}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-objectscript",
33
"displayName": "InterSystems ObjectScript",
44
"description": "InterSystems ObjectScript language support for Visual Studio Code",
5-
"version": "1.0.10-SNAPSHOT",
5+
"version": "1.0.11-SNAPSHOT",
66
"icon": "images/logo.png",
77
"aiKey": "9cd75d51-697c-406c-a929-2bcf46e97c64",
88
"categories": [

0 commit comments

Comments
 (0)