Skip to content

Commit 46211b2

Browse files
committed
edits based on Brett's comments
1 parent 775ecd7 commit 46211b2

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

docs/Configuration.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Here is the simplest `settings.json` file contents:
2222
```json
2323
{
2424
"objectscript.conn": {
25-
"server": "iris",
2625
"ns": "USER",
2726
"active": true,
2827
"host": "localhost",
@@ -32,7 +31,19 @@ Here is the simplest `settings.json` file contents:
3231
}
3332
```
3433

35-
If you need ObjectScript compilation flags other than the default, add an `"objectscript.compileFlags"` property to `settings.json` (more compileFlags options are [covered here](/vscode-objectscript/settings/):
34+
However, a better strategy is to let the InterSystems Server manager handle the server connection information as described [later](#config-server). That extension also allows you to store your password securely, so please use it. Then in `settings.json` you only need to specify the server name:
35+
36+
```json
37+
{
38+
"objectscript.conn": {
39+
"server": "iris",
40+
"ns": "USER",
41+
"active": true
42+
}
43+
}
44+
```
45+
46+
If you need ObjectScript compilation flags other than the default, add an `"objectscript.compileFlags"` property to `settings.json` (more compileFlags options are [covered here](/vscode-objectscript/settings/)):
3647

3748
{: #code-workspace-compileFlags}
3849

@@ -42,15 +53,12 @@ If you need ObjectScript compilation flags other than the default, add an `"obje
4253
"server": "iris",
4354
"ns": "USER",
4455
"active": true,
45-
"host": "localhost",
46-
"port": 52773,
47-
"username": "_SYSTEM"
4856
},
4957
"objectscript.compileFlags": "cuk/compileembedded=1"
5058
}
5159
```
5260

53-
Here is the simplest `launch.json` file contents, which debugs the method `Test` in the class `Example.Service`, passing 2 parameters as input:
61+
Here is the simplest `launch.json` file contents, which debugs the method `Test` in the class `Example.Service`, passing 2 parameters as input (see ["Running and Debugging"](/vscode-objectscript/rundebug/) for more information):
5462

5563
{: #code-workspace-simple-debug}
5664

0 commit comments

Comments
 (0)