You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Symbols are always turned on through `fortls` so now the options
are to use the `fortls` symbols or `fortls` + `Built-in` i.e. `Both`
which does not make much sense but some people might end up using it.
- Added the `-f(free|fixed)-line-length-<n>` arguments to be
included automatically when when the `fortran.fortls.maxLineLength`
is specified.
- Added the flag for Intel's preprocessor `-fpp` to be included
automatically.
|`provide.hover`|`fortls`, `Built-in`, `Both`, `Disabled`|`fortls`| Enables hover support, by default it uses fortran-language-server |
181
-
|`provide.autocomplete`|`fortls`, `Built-in`, `Both`, `Disabled`|`fortls`| Enables code autocompletion, by default it uses fortran-language-server |
182
-
|`provide.symbols`|`fortls`, `Built-in`, `Both`, `Disabled`|`fortls`| Outline of type members in the document, by default it uses fortran-language-server |
183
-
|`linter.compiler`|`gfortran`, `flang`, `ifort`, `Disabled`|`gfortran`| Compiler used for linting support |
184
-
|`linter.includePaths`| String Array |`[]`| Specifies folder paths to be used as include paths during linting. Can handle globs |
185
-
|`linter.compilerPath`| String |`''`| Specifies the path to the linter executable |
186
-
|`linter.extraArgs`| String Array |`[-Wall]`| Pass additional options to the linter compiler |
187
-
|`linter.modOutput`| String |`''`| Global output directory for .mod files generated due to linting |
188
-
|`formatting.formatter`|`findent`, `fprettify`, `Disabled`|`findent`| Fortran formatter, currently supports findent and fprettify |
189
-
|`fortran.formatting.args`| String Array |`[]`| Additional arguments for the formatter |
190
-
|`formatting.path`| String |`''`| If the formatter is not in the $PATH specify the full path to its location |
191
-
|`fortls.path`| String |`fortls`| Path to the Fortran language server (fortls) |
192
-
|`fortls.preserveKeywordOrder`| Boolean |`true`| Display variable keywords information when hovering in original order (default: sort to consistent ordering) |
|`provide.hover`|`fortls`, `Built-in`, `Both`, `Disabled`|`fortls`| Enables hover support, by default it uses fortran-language-server |
181
+
|`provide.autocomplete`|`fortls`, `Built-in`, `Both`, `Disabled`|`fortls`| Enables code autocompletion, by default it uses fortran-language-server |
182
+
|`provide.symbols`|`fortls`, `Both`|`fortls`| Outline of modules, functions, subroutines, etc. in the document, by default it uses fortran-language-server, `Both` will use `fortls` and the `Built-in` functionality (not recommended) |
183
+
|`linter.compiler`|`gfortran`, `flang`, `ifort`, `Disabled`|`gfortran`| Compiler used for linting support |
184
+
|`linter.includePaths`| String Array |`[]`| Specifies folder paths to be used as include paths during linting. Can handle globs |
185
+
|`linter.compilerPath`| String |`''`| Specifies the path to the linter executable |
186
+
|`linter.extraArgs`| String Array |`[-Wall]`| Pass additional options to the linter compiler |
187
+
|`linter.modOutput`| String |`''`| Global output directory for .mod files generated due to linting |
188
+
|`formatting.formatter`|`findent`, `fprettify`, `Disabled`|`findent`| Fortran formatter, currently supports findent and fprettify |
189
+
|`fortran.formatting.args`| String Array |`[]`| Additional arguments for the formatter |
190
+
|`formatting.path`| String |`''`| If the formatter is not in the $PATH specify the full path to its location |
191
+
|`fortls.path`| String |`fortls`| Path to the Fortran language server (fortls) |
192
+
|`fortls.preserveKeywordOrder`| Boolean |`true`| Display variable keywords information when hovering in original order (default: sort to consistent ordering) |
193
+
|`fortls.disableDiagnostics`| Boolean |`false`| Disable additional diagnostics from fortls e.g. multiple variable definitions, unknown modules in use statement (requires v1.12.0+) |
194
+
|`fortls.incrementalSync`| Boolean |`true`| Use incremental synchronization for file changes |
195
+
|`fortls.symbolTypes`| Boolean |`trues`| Include derived types in the symbols outline. If false it adds the `--symbol_skip_mem` argument to fortls. |
196
+
|`fortls.notifyInit`| Boolean |`false`| Notify when workspace initialization is complete (requires v1.7.0+) |
197
+
|`fortls.maxLineLength`| Number | -1 | Maximum line length (fortls requires v1.8.0+). For `gfortran` and `flang` this also sets the linting compiler flag `-ffree-line-length-<n>` and `-ffixed-line-length-<n>`. Default value is `none`|
198
+
|`fortls.maxCommentLineLength`| Number | -1 | Maximum comment line length (fortls requires v1.8.0+). |
199
+
|`fortls.extraArgs`| String Array |`[]`| Additional arguments for the fortran-language-server |
200
+
|`preferredCase`|`lowercase`, `uppercase`|`lowercase`| Specify the word case to use when suggesting autocomplete options |
Copy file name to clipboardExpand all lines: package.json
+19-16Lines changed: 19 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -155,11 +155,9 @@
155
155
"default": "fortls",
156
156
"enum": [
157
157
"fortls",
158
-
"Built-in",
159
-
"Both",
160
-
"Disabled"
158
+
"Both"
161
159
],
162
-
"description": "Outline of type members in the document, by default it uses fortran-language-server."
160
+
"description": "Outline of modules, functions, subroutines, etc. in the document, by default it uses fortran-language-server, `Both` will use `fortls` and the `Built-in` functionality (not recommended)."
"description": "Disable additional diagnostics from fortls e.g. multiple variable definitions, unknown modules in use statement (requires v1.12.0+)."
238
236
},
239
237
"fortran.fortls.incrementalSync": {
240
238
"type": "boolean",
241
239
"default": true,
242
240
"description": "Use incremental synchronization for file changes."
243
241
},
242
+
"fortran.fortls.symbolTypes": {
243
+
"type": "boolean",
244
+
"default": true,
245
+
"description": "Include derived types in the symbols outline. If false it adds the `--symbol_skip_mem` argument to fortls."
246
+
},
244
247
"fortran.fortls.notifyInit": {
245
248
"type": "boolean",
246
249
"default": false,
247
250
"description": "Notify when workspace initialization is complete (requires v1.7.0+)."
248
251
},
252
+
"fortran.fortls.maxLineLength": {
253
+
"type": "number",
254
+
"default": -1,
255
+
"description": "Maximum line length (fortls requires v1.8.0+). For `gfortran` and `flang` this also sets the linting compiler flag `-ffree-line-length-<n>` and `-ffixed-line-length-<n>`. Default value is `none`."
256
+
},
257
+
"fortran.fortls.maxCommentLineLength": {
258
+
"type": "number",
259
+
"default": -1,
260
+
"description": "Maximum comment line length (fortls requires v1.8.0+)."
261
+
},
249
262
"fortran.fortls.extraArgs": {
250
263
"type": [
251
264
"array"
@@ -256,16 +269,6 @@
256
269
"default": [],
257
270
"description": "Additional arguments for the fortran-language-server"
258
271
},
259
-
"fortran.maxLineLength": {
260
-
"type": "number",
261
-
"default": -1,
262
-
"description": "Maximum line length (fortls requires v1.8.0+). Passed in both the linter and the language server."
263
-
},
264
-
"fortran.maxCommentLineLength": {
265
-
"type": "number",
266
-
"default": -1,
267
-
"description": "Maximum comment line length (fortls requires v1.8.0+). Passed in both the linter and the language server."
268
-
},
269
272
"fortran.preferredCase": {
270
273
"type": "string",
271
274
"default": "lowercase",
@@ -294,7 +297,7 @@
294
297
"deprecationMessage": "fortran.provideSymbols has been renamed to fortran.provide.symbols. By default the fortran-language-server symbols are used, to enable the built-in symbols turn on the Built-in option."
295
298
},
296
299
"fortran.symbols": {
297
-
"deprecationMessage": "fortran.symbols has been removed in favour of returning all symbols."
300
+
"deprecationMessage": "fortran.symbols has been removed in favour of the fortran language server returning all symbols."
298
301
},
299
302
"fortran.provideHover": {
300
303
"deprecationMessage": "fortran.provideHover has been renamed to fortran.provide.hover. By default the fortran-language-server hover is used, to enable the built-in hover turn on the Built-in option."
0 commit comments