|
52 | 52 | "onLanguage:terraform" |
53 | 53 | ], |
54 | 54 | "contributes": { |
| 55 | + "menus": { |
| 56 | + "view/title": [ |
| 57 | + { |
| 58 | + "command": "tcTerraform.resourcesExplorer.refresh", |
| 59 | + "when": "view == tcTerraform.resourcesExplorer.cvm", |
| 60 | + "group": "navigation" |
| 61 | + } |
| 62 | + ] |
| 63 | + }, |
55 | 64 | "viewsContainers": { |
56 | 65 | "activitybar": [ |
57 | 66 | { |
|
113 | 122 | "command": "tcTerraform.login", |
114 | 123 | "title": "%TcTerraform.view.login.welcome%" |
115 | 124 | }, |
| 125 | + { |
| 126 | + "command": "tcTerraform.resourcesExplorer.refresh", |
| 127 | + "title": "%TcTerraform.refresh%", |
| 128 | + "icon": { |
| 129 | + "light": "resources/light/refresh.svg", |
| 130 | + "dark": "resources/dark/refresh.svg" |
| 131 | + } |
| 132 | + }, |
116 | 133 | { |
117 | 134 | "command": "tcTerraform.init", |
118 | 135 | "title": "Init", |
|
180 | 197 | "properties": { |
181 | 198 | "tcTerraform.properties.secretId": { |
182 | 199 | "type": "string", |
183 | | - "default": "", |
184 | | - "description": "Tencent Cloud Secret ID" |
| 200 | + "default": "your_secretid", |
| 201 | + "description": "Input your Tencent Cloud secret Id." |
185 | 202 | }, |
186 | 203 | "tcTerraform.properties.secretKey": { |
187 | 204 | "type": "string", |
188 | | - "default": "", |
189 | | - "description": "Tencent Cloud Secret Key" |
| 205 | + "default": "your_secretkey", |
| 206 | + "description": "Input your Tencent Cloud secret key." |
190 | 207 | }, |
191 | 208 | "tcTerraform.terminal": { |
192 | 209 | "type": "string", |
|
212 | 229 | "default": "true", |
213 | 230 | "description": "Specifies whether or not TCCLI installed in the PATH." |
214 | 231 | }, |
215 | | - "tcTerraform.secretid.cmd": { |
216 | | - "type": "string", |
217 | | - "default": "tccli configure list | grep 'secretId'", |
218 | | - "description": "Indicates how to get the secretid." |
219 | | - }, |
220 | | - "tcTerraform.secretkey.cmd": { |
221 | | - "type": "string", |
222 | | - "default": "tccli configure list | grep 'secretKey'", |
223 | | - "description": "Indicates how to get the secretkey." |
224 | | - }, |
225 | | - "tcTerraform.secretid": { |
226 | | - "type": "string", |
227 | | - "default": "your_secretid", |
228 | | - "description": "Input your tencentcloud secret key id." |
229 | | - }, |
230 | | - "tcTerraform.secretkey": { |
231 | | - "type": "string", |
232 | | - "default": "your_secretkey", |
233 | | - "description": "Input your tencentcloud secret key." |
234 | | - }, |
235 | 232 | "tcTerraform.test.path": { |
236 | 233 | "type": "string", |
237 | 234 | "default": "./", |
|
0 commit comments