|
17 | 17 | "firebird": "isql", |
18 | 18 | "sqsh" : "sqsh" |
19 | 19 | }, |
20 | | - "expand_to_paragraph" : false, // use paragraph (text between newlines), if selection is empty |
21 | | - "show_result_on_window" : false, // puts results either in output pannel or new window |
22 | | - "clear_output" : true, // clears the output of prev. query |
23 | | - "thread_timeout" : 15, // query timeout in seconds |
24 | | - "use_streams" : false, // stream the output line by line |
25 | | - "history_size" : 100, // number of queries to save in the history |
| 20 | + |
| 21 | + // use paragraph (text between newlines), if selection is empty |
| 22 | + "expand_to_paragraph" : false, |
| 23 | + |
| 24 | + // puts results either in output panel or new window |
| 25 | + "show_result_on_window" : false, |
| 26 | + |
| 27 | + // clears the output of prev. query |
| 28 | + "clear_output" : true, |
| 29 | + |
| 30 | + // query timeout in seconds |
| 31 | + "thread_timeout" : 15, |
| 32 | + |
| 33 | + // stream the output line by line |
| 34 | + "use_streams" : false, |
| 35 | + |
| 36 | + // number of queries to save in the history |
| 37 | + "history_size" : 100, |
| 38 | + |
| 39 | + // unless false, appends LIMIT clause to SELECT statements (not compatible with all DB's) |
| 40 | + "safe_limit": false, |
| 41 | + |
| 42 | + "unescape_quotes" : [ |
| 43 | + "php" |
| 44 | + ], |
| 45 | + |
26 | 46 | "show_records": { |
27 | 47 | "limit": 50 |
28 | 48 | }, |
| 49 | + |
| 50 | + "debug" : false, |
| 51 | + |
29 | 52 | /** |
30 | 53 | * Print the queries that were executed to the output. |
31 | 54 | * Possible values for show_query: "top", "bottom", true ("top"), or false (disable) |
|
34 | 57 | * the bottom of result. |
35 | 58 | */ |
36 | 59 | "show_query": false, |
| 60 | + |
37 | 61 | /** |
38 | 62 | * Possible values for autocompletion: "basic", "smart", true ("smart"), |
39 | 63 | * or false (disable) |
40 | 64 | * Completion keywords case is controlled by format.keyword_case (see below) |
41 | 65 | */ |
42 | 66 | "autocompletion": "smart", |
| 67 | + |
43 | 68 | // Settings used for formatting the queries and autocompletions |
| 69 | + // |
| 70 | + // "keyword_case" , "upper", "lower", "capitalize" and null (leaves case intact) |
| 71 | + // "identifier_case", "upper", "lower", "capitalize" and null (leaves case intact) |
| 72 | + // "strip_comments" , formatting removes comments |
| 73 | + // "indent_tabs" , use tabs instead of spaces |
| 74 | + // "indent_width" , indentation width |
| 75 | + // "reindent" , reindent code |
44 | 76 | "format" : { |
45 | | - "keyword_case" : "upper", // "upper", "lower", "capitalize" and null (leaves case intact) |
46 | | - "identifier_case" : null, // "upper", "lower", "capitalize" and null (leaves case intact) |
47 | | - "strip_comments" : false, // formatting removes comments |
48 | | - "indent_tabs" : false, // use tabs instead of spaces |
49 | | - "indent_width" : 4, // indentation width |
50 | | - "reindent" : true // reindent code |
| 77 | + "keyword_case" : "upper", |
| 78 | + "identifier_case" : null, |
| 79 | + "strip_comments" : false, |
| 80 | + "indent_tabs" : false, |
| 81 | + "indent_width" : 4, |
| 82 | + "reindent" : true |
51 | 83 | }, |
52 | | - "debug": false, |
53 | | - "safe_limit": false, // unless false, appends LIMIT clause to SELECT statements (not compatible with all DB's) |
54 | | - "unescape_quotes" : [ |
55 | | - "php" |
56 | | - ], |
| 84 | + |
57 | 85 | /** |
58 | 86 | * The list of syntax selectors for which the plugin autocompletion will be active. |
59 | 87 | * An empty list means autocompletion always active. |
60 | 88 | */ |
61 | | - "selectors": ["source.sql", "source.pgsql", "source.plpgsql.postgres", "source.plsql.oracle", "source.tsql"], |
| 89 | + "selectors": [ |
| 90 | + "source.sql", |
| 91 | + "source.pgsql", |
| 92 | + "source.plpgsql.postgres", |
| 93 | + "source.plsql.oracle", |
| 94 | + "source.tsql" |
| 95 | + ], |
| 96 | + |
62 | 97 | /** |
63 | 98 | * Command line interface options for each RDBMS. |
64 | | - * In this file, the section `cli` above has the names you can use here. E.g.: "mysql", "pgsql", "oracle" |
| 99 | + * In this file, the section `cli` above has the names you can use here. |
| 100 | + * E.g.: "mysql", "pgsql", "oracle" |
65 | 101 | * |
66 | | - * Names in the curly brackets (e.g. `{host}`) in sections `args`, `args_optional`, `env`, `env_optional` |
67 | | - * are replaced by the values specified in the connetion. |
| 102 | + * Names in the curly brackets (e.g. `{host}`) in sections `args`, `args_optional`, |
| 103 | + * `env`, `env_optional` are replaced by the values specified in the connection. |
68 | 104 | */ |
69 | 105 | "cli_options": { |
70 | 106 | "pgsql": { |
|
109 | 145 | } |
110 | 146 | } |
111 | 147 | }, |
| 148 | + |
112 | 149 | "mysql": { |
113 | 150 | "options": ["--default-character-set=utf8"], |
114 | 151 | "before": [], |
|
149 | 186 | } |
150 | 187 | } |
151 | 188 | }, |
| 189 | + |
152 | 190 | "mssql": { |
153 | 191 | "options": [], |
154 | 192 | "before": [], |
|
194 | 232 | } |
195 | 233 | } |
196 | 234 | }, |
| 235 | + |
197 | 236 | "oracle": { |
198 | 237 | "options": ["-S"], |
199 | 238 | "before": [ |
|
287 | 326 | } |
288 | 327 | } |
289 | 328 | }, |
| 329 | + |
290 | 330 | "sqlite": { |
291 | 331 | "options": [], |
292 | 332 | "before": [], |
|
317 | 357 | } |
318 | 358 | } |
319 | 359 | }, |
| 360 | + |
320 | 361 | "vertica": { |
321 | 362 | "options": [], |
322 | 363 | "before" : [], |
|
348 | 389 | } |
349 | 390 | } |
350 | 391 | }, |
| 392 | + |
351 | 393 | "firebird": { |
352 | 394 | "options": [], |
353 | 395 | "before": [], |
|
419 | 461 | } |
420 | 462 | } |
421 | 463 | }, |
| 464 | + |
422 | 465 | "sqsh": { |
423 | 466 | "options": [], |
424 | 467 | "before": [], |
|
0 commit comments