Skip to content

Commit 1780839

Browse files
committed
fixes
1 parent 21f40b2 commit 1780839

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## [0.0.3]
44
### Added
5-
- Config connection to server REST API: press Ctrl+Shift+P, type 'Pref', press Enter
6-
- Export sources (experimental): press Ctrl+Shift+P, type 'cos', press Enter
5+
- Config connection to cos-server
6+
- Export sources (experimental)
77

88
## [0.0.1]
99
- Initial release

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ Initial [Cache](http://www.intersystems.com/our-products/cache/cache-overview/)
44
## Features
55

66
![example](images/screenshot.png)
7-
- Connect to Caché instance via Atelier API ( edit 'cos' section in File - Preferences - Settings )
8-
- Export sources ( press Ctrl+Shift+P, type 'cos', press Enter )
7+
8+
### Config connection
9+
- copy 'cos' section from File - Preferences - Settings in workspace settings
10+
- change settings for your Caché instance and reload vscode ( as temporary solution )
11+
12+
### Export sources
13+
press Ctrl+Shift+P, type 'cos', press Enter
914

1015
## Notes
11-
For Caché instance with maximum security level, add %Development role for /api/atelier/ web-application ( [More]( https://community.intersystems.com/post/using-atelier-rest-api) )
16+
For Caché instance with maximum security level, add '%Development' role for '/api/atelier/' web-application ( [More]( https://community.intersystems.com/post/using-atelier-rest-api) )
1217

1318
Language support based on https://github.com/RustamIbragimov/atom-language-cos

cos.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const activate = context => {
3131

3232
api.headServer( ( err ) => {
3333

34-
if ( !!err ) return log( 'connect FAIL ' + JSON.stringify( err ) )
34+
if ( !!err ) return log( 'connect FAIL' )
3535
log( 'connected ' + JSON.stringify( conn ) )
3636
bar.set( conn )
3737

0 commit comments

Comments
 (0)