Skip to content

Commit 48872dd

Browse files
authored
Merge pull request #10 from daimor/master
Небольшие изменения в отображении в описании
2 parents c6582f2 + 1faabf3 commit 48872dd

File tree

3 files changed

+70
-17
lines changed

3 files changed

+70
-17
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
end_of_line = lf
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[*.md]
13+
max_line_length = 0
14+
trim_trailing_whitespace = false

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

package.json

Lines changed: 55 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"contributes": {
3030
"languages": [
3131
{
32-
"id": "cachéobjectscript",
32+
"id": "cacheobjectscript",
3333
"aliases": [
3434
"COS"
3535
],
@@ -40,7 +40,7 @@
4040
"configuration": "./language-configuration.json"
4141
},
4242
{
43-
"id": "cachéobjectscriptinclude",
43+
"id": "cacheobjectscriptinclude",
4444
"aliases": [
4545
"COS.INC"
4646
],
@@ -52,12 +52,12 @@
5252
],
5353
"grammars": [
5454
{
55-
"language": "cachéobjectscript",
55+
"language": "cacheobjectscript",
5656
"scopeName": "source.cos",
5757
"path": "syntaxes/cos.tmLanguage.json"
5858
},
5959
{
60-
"language": "cachéobjectscriptinclude",
60+
"language": "cacheobjectscriptinclude",
6161
"scopeName": "source.cosinc",
6262
"path": "syntaxes/cosinc.tmLanguage.json"
6363
}
@@ -82,27 +82,65 @@
8282
}
8383
],
8484
"configuration": {
85-
"title": "cos",
85+
"title": "CacheObjectScript Configuration",
8686
"type": "object",
8787
"properties": {
8888
"cos.conn": {
89-
"description": "connection to cos server",
9089
"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
102137
}
103138
}
104139
}
105140
},
141+
"scripts": {
142+
"postinstall": "node ./node_modules/vscode/bin/install"
143+
},
106144
"devDependencies": {
107145
"vscode": "^1.0.3"
108146
},

0 commit comments

Comments
 (0)