|
1 | 1 | {
|
2 |
| - "title": "fortls schema", |
3 | 2 | "description": "Schema for the fortls Fortran Language Server",
|
4 |
| - "type": "object", |
5 | 3 | "properties": {
|
6 | 4 | "config": {
|
7 |
| - "title": "Config", |
8 |
| - "description": "Configuration options file (default file name: .fortlsrc, other default supported names: .fortls.json, .fortls)", |
9 | 5 | "default": ".fortlsrc",
|
| 6 | + "description": "Configuration options file (default file name: .fortlsrc, other default supported names: .fortls.json, .fortls)", |
| 7 | + "title": "Config", |
10 | 8 | "type": "string"
|
11 | 9 | },
|
12 | 10 | "nthreads": {
|
13 |
| - "title": "Nthreads", |
14 |
| - "description": "Number of threads to use during workspace initialization (default: 4)", |
15 | 11 | "default": 4,
|
| 12 | + "description": "Number of threads to use during workspace initialization (default: 4)", |
| 13 | + "title": "Nthreads", |
16 | 14 | "type": "integer"
|
17 | 15 | },
|
18 | 16 | "notify_init": {
|
19 |
| - "title": "Notify Init", |
20 |
| - "description": "Send notification message when workspace initialization is complete", |
21 | 17 | "default": false,
|
| 18 | + "description": "Send notification message when workspace initialization is complete", |
| 19 | + "title": "Notify Init", |
22 | 20 | "type": "boolean"
|
23 | 21 | },
|
24 | 22 | "incremental_sync": {
|
25 |
| - "title": "Incremental Sync", |
26 |
| - "description": "Use incremental document synchronization (beta)", |
27 | 23 | "default": false,
|
| 24 | + "description": "Use incremental document synchronization (beta)", |
| 25 | + "title": "Incremental Sync", |
28 | 26 | "type": "boolean"
|
29 | 27 | },
|
30 | 28 | "recursion_limit": {
|
31 |
| - "title": "Recursion Limit", |
32 |
| - "description": "Set the maximum recursion depth for the parser (default: 1000)", |
33 | 29 | "default": 1000,
|
| 30 | + "description": "Set the maximum recursion depth for the parser (default: 1000)", |
| 31 | + "title": "Recursion Limit", |
34 | 32 | "type": "integer"
|
35 | 33 | },
|
36 | 34 | "sort_keywords": {
|
37 |
| - "title": "Sort Keywords", |
38 |
| - "description": "Display variable keywords information, function/subroutine definitions, etc. in a consistent (sorted) manner default: no sorting, display code as is)", |
39 | 35 | "default": false,
|
| 36 | + "description": "Display variable keywords information, function/subroutine definitions, etc. in a consistent (sorted) manner default: no sorting, display code as is)", |
| 37 | + "title": "Sort Keywords", |
40 | 38 | "type": "boolean"
|
41 | 39 | },
|
42 | 40 | "disable_autoupdate": {
|
43 |
| - "title": "Disable Autoupdate", |
44 |
| - "description": "fortls automatically checks PyPi for newer version and installs them.Use this option to disable the autoupdate feature.", |
45 | 41 | "default": false,
|
| 42 | + "description": "fortls automatically checks PyPi for newer version and installs them.Use this option to disable the autoupdate feature.", |
| 43 | + "title": "Disable Autoupdate", |
46 | 44 | "type": "boolean"
|
47 | 45 | },
|
48 | 46 | "preserve_keyword_order": {
|
49 |
| - "title": "Preserve Keyword Order", |
50 |
| - "description": "DEPRECATED, this is now the default. To sort use sort_keywords", |
51 | 47 | "default": false,
|
| 48 | + "description": "DEPRECATED, this is now the default. To sort use sort_keywords", |
| 49 | + "title": "Preserve Keyword Order", |
52 | 50 | "type": "boolean"
|
53 | 51 | },
|
54 | 52 | "debug_log": {
|
55 |
| - "title": "Debug Log", |
56 |
| - "description": "Generate debug log in project root folder", |
57 | 53 | "default": false,
|
| 54 | + "description": "Generate debug log in project root folder", |
| 55 | + "title": "Debug Log", |
58 | 56 | "type": "boolean"
|
59 | 57 | },
|
60 | 58 | "source_dirs": {
|
61 |
| - "title": "Source Dirs", |
62 |
| - "description": "Folders containing source files (default: set())", |
63 | 59 | "default": [],
|
64 |
| - "type": "array", |
| 60 | + "description": "Folders containing source files (default: set())", |
65 | 61 | "items": {},
|
| 62 | + "title": "Source Dirs", |
| 63 | + "type": "array", |
66 | 64 | "uniqueItems": true
|
67 | 65 | },
|
68 | 66 | "incl_suffixes": {
|
69 |
| - "title": "Incl Suffixes", |
70 |
| - "description": "Consider additional file extensions to the default (default: .F, .F77, .F90, .F95, .F03, .F08, .FOR, .FPP (lower & upper casing))", |
71 | 67 | "default": [],
|
72 |
| - "type": "array", |
| 68 | + "description": "Consider additional file extensions to the default (default: .F, .F77, .F90, .F95, .F03, .F08, .FOR, .FPP (lower & upper casing))", |
73 | 69 | "items": {},
|
| 70 | + "title": "Incl Suffixes", |
| 71 | + "type": "array", |
74 | 72 | "uniqueItems": true
|
75 | 73 | },
|
76 | 74 | "excl_suffixes": {
|
77 |
| - "title": "Excl Suffixes", |
78 |
| - "description": "Source file extensions to be excluded (default: set())", |
79 | 75 | "default": [],
|
80 |
| - "type": "array", |
| 76 | + "description": "Source file extensions to be excluded (default: set())", |
81 | 77 | "items": {},
|
| 78 | + "title": "Excl Suffixes", |
| 79 | + "type": "array", |
82 | 80 | "uniqueItems": true
|
83 | 81 | },
|
84 | 82 | "excl_paths": {
|
85 |
| - "title": "Excl Paths", |
86 |
| - "description": "Folders to exclude from parsing", |
87 | 83 | "default": [],
|
88 |
| - "type": "array", |
| 84 | + "description": "Folders to exclude from parsing", |
89 | 85 | "items": {},
|
| 86 | + "title": "Excl Paths", |
| 87 | + "type": "array", |
90 | 88 | "uniqueItems": true
|
91 | 89 | },
|
92 | 90 | "autocomplete_no_prefix": {
|
93 |
| - "title": "Autocomplete No Prefix", |
94 |
| - "description": "Do not filter autocomplete results by variable prefix", |
95 | 91 | "default": false,
|
| 92 | + "description": "Do not filter autocomplete results by variable prefix", |
| 93 | + "title": "Autocomplete No Prefix", |
96 | 94 | "type": "boolean"
|
97 | 95 | },
|
98 | 96 | "autocomplete_no_snippets": {
|
99 |
| - "title": "Autocomplete No Snippets", |
100 |
| - "description": "Do not use snippets with place holders in autocomplete results", |
101 | 97 | "default": false,
|
| 98 | + "description": "Do not use snippets with place holders in autocomplete results", |
| 99 | + "title": "Autocomplete No Snippets", |
102 | 100 | "type": "boolean"
|
103 | 101 | },
|
104 | 102 | "autocomplete_name_only": {
|
105 |
| - "title": "Autocomplete Name Only", |
106 |
| - "description": "Complete only the name of procedures and not the parameters", |
107 | 103 | "default": false,
|
| 104 | + "description": "Complete only the name of procedures and not the parameters", |
| 105 | + "title": "Autocomplete Name Only", |
108 | 106 | "type": "boolean"
|
109 | 107 | },
|
110 | 108 | "lowercase_intrinsics": {
|
111 |
| - "title": "Lowercase Intrinsics", |
112 |
| - "description": "Use lowercase for intrinsics and keywords in autocomplete requests", |
113 | 109 | "default": false,
|
| 110 | + "description": "Use lowercase for intrinsics and keywords in autocomplete requests", |
| 111 | + "title": "Lowercase Intrinsics", |
114 | 112 | "type": "boolean"
|
115 | 113 | },
|
116 | 114 | "use_signature_help": {
|
117 |
| - "title": "Use Signature Help", |
118 |
| - "description": "Use signature help instead of subroutine/function snippets. This effectively sets --autocomplete_no_snippets", |
119 | 115 | "default": false,
|
| 116 | + "description": "Use signature help instead of subroutine/function snippets. This effectively sets --autocomplete_no_snippets", |
| 117 | + "title": "Use Signature Help", |
120 | 118 | "type": "boolean"
|
121 | 119 | },
|
122 | 120 | "variable_hover": {
|
123 |
| - "title": "Variable Hover", |
124 |
| - "description": "DEPRECATED: This option is always on. Show hover information for variables", |
125 | 121 | "default": false,
|
| 122 | + "description": "DEPRECATED: This option is always on. Show hover information for variables", |
| 123 | + "title": "Variable Hover", |
126 | 124 | "type": "boolean"
|
127 | 125 | },
|
128 | 126 | "hover_signature": {
|
129 |
| - "title": "Hover Signature", |
130 |
| - "description": "Show signature information in hover for arguments ", |
131 | 127 | "default": false,
|
| 128 | + "description": "Show signature information in hover for arguments ", |
| 129 | + "title": "Hover Signature", |
132 | 130 | "type": "boolean"
|
133 | 131 | },
|
134 | 132 | "hover_language": {
|
135 |
| - "title": "Hover Language", |
136 |
| - "description": "Language used for responses to hover requests a VSCode language id (default: fortran90)", |
137 | 133 | "default": "fortran90",
|
| 134 | + "description": "Language used for responses to hover requests a VSCode language id (default: fortran90)", |
| 135 | + "title": "Hover Language", |
138 | 136 | "type": "string"
|
139 | 137 | },
|
140 | 138 | "max_line_length": {
|
141 |
| - "title": "Max Line Length", |
142 |
| - "description": "Maximum line length (default: -1)", |
143 | 139 | "default": -1,
|
| 140 | + "description": "Maximum line length (default: -1)", |
| 141 | + "title": "Max Line Length", |
144 | 142 | "type": "integer"
|
145 | 143 | },
|
146 | 144 | "max_comment_line_length": {
|
147 |
| - "title": "Max Comment Line Length", |
148 |
| - "description": "Maximum comment line length (default: -1)", |
149 | 145 | "default": -1,
|
| 146 | + "description": "Maximum comment line length (default: -1)", |
| 147 | + "title": "Max Comment Line Length", |
150 | 148 | "type": "integer"
|
151 | 149 | },
|
152 | 150 | "disable_diagnostics": {
|
153 |
| - "title": "Disable Diagnostics", |
154 |
| - "description": "Disable diagnostics", |
155 | 151 | "default": false,
|
| 152 | + "description": "Disable diagnostics", |
| 153 | + "title": "Disable Diagnostics", |
156 | 154 | "type": "boolean"
|
157 | 155 | },
|
158 | 156 | "pp_suffixes": {
|
159 |
| - "title": "Pp Suffixes", |
160 |
| - "description": "File extensions to be parsed ONLY for preprocessor commands (default: all uppercase source file suffixes)", |
161 | 157 | "default": [],
|
162 |
| - "type": "array", |
| 158 | + "description": "File extensions to be parsed ONLY for preprocessor commands (default: all uppercase source file suffixes)", |
163 | 159 | "items": {},
|
| 160 | + "title": "Pp Suffixes", |
| 161 | + "type": "array", |
164 | 162 | "uniqueItems": true
|
165 | 163 | },
|
166 | 164 | "include_dirs": {
|
167 |
| - "title": "Include Dirs", |
168 |
| - "description": "Folders containing preprocessor files with extensions PP_SUFFIXES.", |
169 | 165 | "default": [],
|
170 |
| - "type": "array", |
| 166 | + "description": "Folders containing preprocessor files with extensions PP_SUFFIXES.", |
171 | 167 | "items": {},
|
| 168 | + "title": "Include Dirs", |
| 169 | + "type": "array", |
172 | 170 | "uniqueItems": true
|
173 | 171 | },
|
174 | 172 | "pp_defs": {
|
175 |
| - "title": "Pp Defs", |
176 |
| - "description": "A dictionary with additional preprocessor definitions. Preprocessor definitions are normally included via INCLUDE_DIRS", |
177 | 173 | "default": {},
|
| 174 | + "description": "A dictionary with additional preprocessor definitions. Preprocessor definitions are normally included via INCLUDE_DIRS", |
| 175 | + "title": "Pp Defs", |
178 | 176 | "type": "object"
|
179 | 177 | },
|
180 | 178 | "symbol_skip_mem": {
|
181 |
| - "title": "Symbol Skip Mem", |
182 |
| - "description": "Do not include type members in document symbol results", |
183 | 179 | "default": false,
|
| 180 | + "description": "Do not include type members in document symbol results", |
| 181 | + "title": "Symbol Skip Mem", |
184 | 182 | "type": "boolean"
|
185 | 183 | },
|
186 | 184 | "enable_code_actions": {
|
187 |
| - "title": "Enable Code Actions", |
188 |
| - "description": "Enable experimental code actions (default: false)", |
189 | 185 | "default": false,
|
| 186 | + "description": "Enable experimental code actions (default: false)", |
| 187 | + "title": "Enable Code Actions", |
190 | 188 | "type": "boolean"
|
191 | 189 | }
|
192 |
| - } |
| 190 | + }, |
| 191 | + "title": "fortls schema", |
| 192 | + "type": "object" |
193 | 193 | }
|
0 commit comments