|
29 | 29 | "contributes": {
|
30 | 30 | "languages": [
|
31 | 31 | {
|
32 |
| - "id": "cachéobjectscript", |
| 32 | + "id": "cacheobjectscript", |
33 | 33 | "aliases": [
|
34 | 34 | "COS"
|
35 | 35 | ],
|
|
40 | 40 | "configuration": "./language-configuration.json"
|
41 | 41 | },
|
42 | 42 | {
|
43 |
| - "id": "cachéobjectscriptinclude", |
| 43 | + "id": "cacheobjectscriptinclude", |
44 | 44 | "aliases": [
|
45 | 45 | "COS.INC"
|
46 | 46 | ],
|
|
52 | 52 | ],
|
53 | 53 | "grammars": [
|
54 | 54 | {
|
55 |
| - "language": "cachéobjectscript", |
| 55 | + "language": "cacheobjectscript", |
56 | 56 | "scopeName": "source.cos",
|
57 | 57 | "path": "syntaxes/cos.tmLanguage.json"
|
58 | 58 | },
|
59 | 59 | {
|
60 |
| - "language": "cachéobjectscriptinclude", |
| 60 | + "language": "cacheobjectscriptinclude", |
61 | 61 | "scopeName": "source.cosinc",
|
62 | 62 | "path": "syntaxes/cosinc.tmLanguage.json"
|
63 | 63 | }
|
|
82 | 82 | }
|
83 | 83 | ],
|
84 | 84 | "configuration": {
|
85 |
| - "title": "cos", |
| 85 | + "title": "CacheObjectScript Configuration", |
86 | 86 | "type": "object",
|
87 | 87 | "properties": {
|
88 | 88 | "cos.conn": {
|
89 |
| - "description": "connection to cos server", |
90 | 89 | "type": "object",
|
91 |
| - "default": { |
92 |
| - "label": "LOCAL", |
93 |
| - "host": "127.0.0.1", |
94 |
| - "port": 57772, |
95 |
| - "username": "_SYSTEM", |
96 |
| - "password": "SYS", |
97 |
| - "path": "/api/atelier/", |
98 |
| - "version": "v1", |
99 |
| - "ns": "SAMPLES", |
100 |
| - "https": false |
101 |
| - } |
| 90 | + "description": "Server Access" |
| 91 | + }, |
| 92 | + "cos.conn.label": { |
| 93 | + "description": "Server Name", |
| 94 | + "type": "string", |
| 95 | + "default": "LOCAL" |
| 96 | + }, |
| 97 | + "cos.conn.host": { |
| 98 | + "description": "Hostname", |
| 99 | + "format": "hostname", |
| 100 | + "type": "string", |
| 101 | + "default": "127.0.0.1" |
| 102 | + }, |
| 103 | + "cos.conn.port": { |
| 104 | + "description": "Port number", |
| 105 | + "type": "number", |
| 106 | + "default": 57772 |
| 107 | + }, |
| 108 | + "cos.conn.username": { |
| 109 | + "description": "Username", |
| 110 | + "type": "string", |
| 111 | + "default": "_SYSTEM" |
| 112 | + }, |
| 113 | + "cos.conn.password": { |
| 114 | + "description": "User's Password", |
| 115 | + "type": "string", |
| 116 | + "default": "SYS" |
| 117 | + }, |
| 118 | + "cos.conn.path": { |
| 119 | + "description": "API Atelier path", |
| 120 | + "type": "string", |
| 121 | + "default": "/api/atelier/" |
| 122 | + }, |
| 123 | + "cos.conn.version": { |
| 124 | + "description": "API Atelier Version", |
| 125 | + "type": "string", |
| 126 | + "default": "v1" |
| 127 | + }, |
| 128 | + "cos.conn.ns": { |
| 129 | + "description": "Server Namespace", |
| 130 | + "type": "string", |
| 131 | + "default": "SAMPLES" |
| 132 | + }, |
| 133 | + "cos.conn.https": { |
| 134 | + "description": "Use SSL to access to API", |
| 135 | + "type": "boolean", |
| 136 | + "default": false |
102 | 137 | }
|
103 | 138 | }
|
104 | 139 | }
|
105 | 140 | },
|
| 141 | + "scripts": { |
| 142 | + "postinstall": "node ./node_modules/vscode/bin/install" |
| 143 | + }, |
106 | 144 | "devDependencies": {
|
107 | 145 | "vscode": "^1.0.3"
|
108 | 146 | },
|
|
0 commit comments