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
+48-6Lines changed: 48 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
13
13
- Documentation on [GitHub Pages](https://intersystems-community.github.io/vscode-objectscript/).
14
14
15
-
- Guidance on [reporting issues](https://community.intersystems.com/post/using-intersystems-objectscript-vs-code-how-report-issues).
15
+
- Guidance on [reporting issues](https://community.intersystems.com/post/using-intersystems-objectscript-vs-code-how-report-issues). This guidance also appears in a later section of this document.
16
16
17
17
## Features
18
18
@@ -38,10 +38,11 @@
38
38
39
39
Install [Visual Studio Code](https://code.visualstudio.com/) first.
40
40
41
-
Open VS Code. Go to Extensions view (<kbd>⌘</kbd>/<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>X</kbd>), search for "vscode-objectscript" and install it.
42
-
Or install direct from the ObjectScript extension page on [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=intersystems-community.vscode-objectscript).
41
+
Then to get a set of extensions that collaborate to bring you a great ObjectScript development experience, install the [InterSystems ObjectScript Extension Pack](https://marketplace.visualstudio.com/items?itemName=intersystems-community.objectscript-pack).
When you install an extension pack VS Code installs any of its members that you don't already have. Then if you ever need to switch off all of those extensions (for example, in a VS Code workspace on a non-ObjectScript project) simply disable the extension pack at the desired level. Member extensions can still be managed individually.
44
+
45
+
Open VS Code. Go to Extensions view (<kbd>⌘</kbd>/<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>X</kbd>), use the search string **@id:intersystems-community.objectscript-pack** and install it.
45
46
46
47
## Enable Proposed APIs
47
48
@@ -55,8 +56,8 @@ To unlock these features (optional):
55
56
56
57
1. Download and install a beta version from GitHub. This is necessary because Marketplace does not allow publication of extensions that use proposed APIs.
57
58
- Go to https://github.com/intersystems-community/vscode-objectscript/releases
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.
59
+
- Locate the beta immediately above the release you installed from Marketplace. For instance, if you installed `1.0.11`, look for `1.0.12-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.12-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.
60
61
61
62
2. From [Command Palette](https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_command-palette) choose `Preferences: Configure Runtime Arguments`.
62
63
3. In the argv.json file that opens, add this line:
@@ -107,6 +108,47 @@ To edit code directly in one or more namespaces on one or more servers (local or
107
108
108
109
For more about `isfs` and `isfs-readonly` folder specifications see the [Notes](#Notes) section below.
109
110
111
+
## Reporting Issues
112
+
113
+
[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:
114
+
115
+
1. From the Help menu in VS Code choose 'Report Issue'. Alternatively, open the Command Palette and run `Help: Report Issue...`.
116
+
117
+
2. When the dialog appears, use the first dropdown to classify your issue:
118
+
- Bug Report
119
+
- Feature Request
120
+
- Performance Issue
121
+
122
+
3. In the second dropdown pick 'An extension'
123
+
124
+
4. The third dropdown lets you pick one of your installed extensions. You can type a few characters to find the right entry. For example, `isls` quickly selects "InterSystems Language Server".
125
+
126
+
Which one to choose? Here's a guide:
127
+
- InterSystems Language Server
128
+
- code coloring
129
+
- Intellisense
130
+
- InterSystems ObjectScript
131
+
- export, import and compile
132
+
- ObjectScript Explorer (browsing namespace contents)
133
+
- direct server-side editing using `isfs://` folders in a workspace
134
+
- integration with server-side source control etc
135
+
- InterSystems Server Manager
136
+
- Server Browser on the InterSystems Tools view
137
+
- password management in local keychain
138
+
- definition and selection of entries in `intersystems.servers`
139
+
140
+
If unsure, pick InterSystems ObjectScript.
141
+
142
+
5. Type a descriptive one-line summary of your issue. The dialog may offer a list of existing issues which could be duplicates. If you don't find one that covers yours, proceed.
143
+
144
+
6. Enter details. If your VS Code is authenticated to GitHub the dialog's button is captioned "Create on GitHub" and clicking it will open the issue, then load it in your browser so you can edit it. Otherwise it reads "Preview on GitHub" and launches a browser page where you must complete and submit your report.
145
+
146
+
Tips for use on the GitHub page:
147
+
148
+
- Paste images from your clipboard directly into the report field. For hard-to-describe issues an animated GIF or a short MP4 gets bonus points. The `Developer: Toggle Screencast Mode` in VS Code can help your recording make more sense.
149
+
- Link to other issues by prefixing the target number with #
150
+
- Remember that whatever you post here is visible to anyone on the Internet. Mask/remove confidential information. Be polite.
151
+
110
152
## Notes
111
153
112
154
- Connection-related output appears in the 'Output' view while switched to the 'ObjectScript' channel using the drop-down menu on the view titlebar.
0 commit comments