Skip to content

Commit 2efbe03

Browse files
authored
Merge pull request #470 from fortran-lang/feature/update-package.json
Updading package.json
2 parents 0805cf3 + 94de75b commit 2efbe03

File tree

2 files changed

+34
-31
lines changed

2 files changed

+34
-31
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![Downloads](https://vsmarketplacebadge.apphb.com/downloads-short/fortran-lang.linter-gfortran.svg)](https://marketplace.visualstudio.com/items?itemName=fortran-lang.linter-gfortran)
99
[![Installs](https://vsmarketplacebadge.apphb.com/installs-short/fortran-lang.linter-gfortran.svg)](https://marketplace.visualstudio.com/items?itemName=fortran-lang.linter-gfortran)
1010
[![VS Marketplace](https://vsmarketplacebadge.apphb.com/version-short/fortran-lang.linter-gfortran.svg)](https://marketplace.visualstudio.com/items?itemName=fortran-lang.linter-gfortran)
11-
[![MIT License](https://img.shields.io/npm/l/stack-overflow-copy-paste.svg?)](http://opensource.org/licenses/MIT)
11+
[![MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/master/LICENSE)
1212

1313
</div>
1414

package.json

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "linter-gfortran",
33
"displayName": "Modern Fortran",
4-
"description": "Modern Fortran language support, including syntax highlighting and error detection.",
4+
"description": "Fortran language support, syntax highlighting, Language Server support, Debugging, Diagnostics and much more.",
55
"version": "3.0.2022050508",
66
"publisher": "fortran-lang",
77
"license": "MIT",
@@ -129,7 +129,6 @@
129129
}
130130
],
131131
"configuration": {
132-
"type": "object",
133132
"title": "Fortran configuration",
134133
"properties": {
135134
"fortran.provide.hover": {
@@ -141,7 +140,7 @@
141140
"Both",
142141
"Disabled"
143142
],
144-
"description": "Enables hover support, by default it uses fortls."
143+
"markdownDescription": "Enables hover support, by default it uses `fortls`."
145144
},
146145
"fortran.provide.autocomplete": {
147146
"type": "string",
@@ -151,7 +150,7 @@
151150
"Built-in",
152151
"Disabled"
153152
],
154-
"description": "Enables code autocompletion, by default it uses fortls."
153+
"markdownDescription": "Enables code autocompletion, by default it uses `fortls`."
155154
},
156155
"fortran.provide.symbols": {
157156
"type": "string",
@@ -160,7 +159,7 @@
160159
"fortls",
161160
"Both"
162161
],
163-
"description": "Outline of modules, functions, subroutines, etc. in the document, by default it uses fortls, `Both` will use `fortls` and the `Built-in` functionality (not recommended)."
162+
"markdownDescription": "Outline of modules, functions, subroutines, etc. in the document, by default it uses `fortls`, `Both` will use `fortls` and the `Built-in` functionality (not recommended)."
164163
},
165164
"fortran.linter.compiler": {
166165
"type": "string",
@@ -171,7 +170,7 @@
171170
"ifort",
172171
"Disabled"
173172
],
174-
"description": "Compiler used for linting support."
173+
"markdownDescription": "Compiler used for linting support."
175174
},
176175
"fortran.linter.includePaths": {
177176
"type": [
@@ -181,12 +180,12 @@
181180
"type": "string"
182181
},
183182
"default": [],
184-
"description": "Specifies folder paths to be used as include paths during linting. Can resolve glob patterns e.g. `/usr/local/include/**` and internal variables with `~`, `${workspaceFolder}`, `${env}`, `${config}`, `${file}`, `${fileDirname}`, `${fileBasenameNoExtension}`"
183+
"markdownDescription": "Specifies folder paths to be used as include paths during linting. Can resolve glob patterns e.g. `/usr/local/include/**` and internal variables with `~`, `${workspaceFolder}`, `${env}`, `${config}`, `${file}`, `${fileDirname}`, `${fileBasenameNoExtension}`"
185184
},
186185
"fortran.linter.compilerPath": {
187186
"type": "string",
188187
"default": "",
189-
"description": "Specifies the path to the linter executable."
188+
"markdownDescription": "Specifies the path to the linter executable."
190189
},
191190
"fortran.linter.extraArgs": {
192191
"type": [
@@ -195,12 +194,12 @@
195194
"items": {
196195
"type": "string"
197196
},
198-
"description": "Pass additional options to the linter compiler. Can resolve internal variables with `~`, `${workspaceFolder}`, `${env}`, `${config}`, `${file}`, `${fileDirname}`, `${fileBasenameNoExtension}`"
197+
"markdownDescription": "Pass additional options to the linter compiler. Can resolve internal variables with `~`, `${workspaceFolder}`, `${env}`, `${config}`, `${file}`, `${fileDirname}`, `${fileBasenameNoExtension}`"
199198
},
200199
"fortran.linter.modOutput": {
201200
"type": "string",
202201
"default": "",
203-
"description": "Global output directory for .mod files generated due to linting `-J<linter.modOutput>`. Can resolve internal variables with `~`, `${workspaceFolder}`, `${env}`, `${config}`, `${file}`, `${fileDirname}`, `${fileBasenameNoExtension}`"
202+
"markdownDescription": "Global output directory for .mod files generated due to linting `-J<linter.modOutput>`. Can resolve internal variables with `~`, `${workspaceFolder}`, `${env}`, `${config}`, `${file}`, `${fileDirname}`, `${fileBasenameNoExtension}`"
204203
},
205204
"fortran.formatting.formatter": {
206205
"type": "string",
@@ -210,87 +209,91 @@
210209
"fprettify",
211210
"Disabled"
212211
],
213-
"description": "Fortran formatter, currently supports findent and fprettify"
212+
"markdownDescription": "Fortran formatter, currently supports `findent` and `fprettify`"
214213
},
215214
"fortran.formatting.findentArgs": {
216215
"type": "array",
216+
"items": {
217+
"type": "string"
218+
},
217219
"default": [],
218-
"description": "Additional arguments for the findent formatter"
220+
"markdownDescription": "Additional arguments for the `findent` formatter"
219221
},
220222
"fortran.formatting.fprettifyArgs": {
221223
"type": "array",
224+
"items": {
225+
"type": "string"
226+
},
222227
"default": [],
223-
"description": "Additional arguments for the fprettify formatter"
228+
"markdownDescription": "Additional arguments for the `fprettify` formatter"
224229
},
225230
"fortran.formatting.path": {
226231
"type": "string",
227232
"default": "",
228-
"description": "If the formatter is not in the $PATH specify the full path to its location."
233+
"markdownDescription": "If the formatter is not in the `$PATH` specify the full path to its location."
229234
},
230235
"fortran.fortls.path": {
231236
"type": "string",
232237
"default": "fortls",
233-
"description": "Path to the Fortran language server (fortls)."
238+
"markdownDescription": "Path to the Fortran language server (`fortls`)."
234239
},
235240
"fortran.fortls.configure": {
236241
"type": "string",
237242
"default": "",
238-
"description": "Filename holding additional configuration options. For more see: https://gnikit.github.io/fortls/options.html#configuration-using-a-file"
243+
"markdownDescription": "Filename holding additional configuration options. For more see: https://gnikit.github.io/fortls/options.html#configuration-using-a-file"
239244
},
240245
"fortran.fortls.sortKeywords": {
241246
"type": "boolean",
242247
"default": false,
243-
"description": "Display variable keywords information when hovering in a sorted, consistent order."
248+
"markdownDescription": "Display variable keywords information when hovering in a sorted, consistent order."
244249
},
245250
"fortran.fortls.disableAutoupdate": {
246251
"type": "boolean",
247252
"default": false,
248-
"description": "fortls will automatically attempt to update itself from PyPi. Set this option if you want to fix your version of fortls. Autoudpate will not occur for Anaconda environments."
253+
"markdownDescription": "fortls will automatically attempt to update itself from PyPi. Set this option if you want to fix your version of fortls. Autoudpate will not occur for Anaconda environments."
249254
},
250255
"fortran.fortls.disableDiagnostics": {
251256
"type": "boolean",
252257
"default": false,
253-
"description": "Disable additional diagnostics from fortls e.g. multiple variable definitions, unknown modules in use statement (requires v1.12.0+)."
258+
"markdownDescription": "Disable additional diagnostics from `fortls` e.g. multiple variable definitions, unknown modules in use statement."
254259
},
255260
"fortran.fortls.incrementalSync": {
256261
"type": "boolean",
257262
"default": true,
258-
"description": "Use incremental synchronization for file changes."
263+
"markdownDescription": "Use incremental synchronization for file changes."
259264
},
260265
"fortran.fortls.symbolTypes": {
261266
"type": "boolean",
262267
"default": true,
263-
"description": "Include derived types in the symbols outline. If false it adds the `--symbol_skip_mem` argument to fortls."
268+
"markdownDescription": "Include derived types in the symbols outline. If false it adds the `--symbol_skip_mem` argument to fortls."
264269
},
265270
"fortran.fortls.notifyInit": {
266271
"type": "boolean",
267272
"default": false,
268-
"description": "Notify when workspace initialization is complete (requires v1.7.0+)."
273+
"markdownDescription": "Notify when workspace initialization is complete."
269274
},
270275
"fortran.fortls.maxLineLength": {
271276
"type": "number",
272277
"default": -1,
273-
"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`."
278+
"markdownDescription": "Maximum line length. For `gfortran` and `flang` this also sets the linting compiler flag `-ffree-line-length-<n>` and `-ffixed-line-length-<n>`. Default value is `none`."
274279
},
275280
"fortran.fortls.maxCommentLineLength": {
276281
"type": "number",
277282
"default": -1,
278-
"description": "Maximum comment line length (fortls requires v1.8.0+)."
283+
"markdownDescription": "Maximum comment line length."
279284
},
280285
"fortran.fortls.extraArgs": {
281-
"type": [
282-
"array"
283-
],
286+
"type": "array",
284287
"items": {
285288
"type": "string"
286289
},
287290
"default": [],
288-
"description": "Additional arguments for the fortls"
291+
"markdownDescription": "Additional arguments for the `fortls`"
289292
},
290293
"fortran.fortls.disabled": {
291294
"type": "boolean",
292295
"default": false,
293-
"description": "Disable the Language Server. If true, it will limit the extension's functionality substantially (should be avoid!)"
296+
"markdownDescription": "Disable the Language Server. If true, it will limit the extension's functionality substantially. **Should be avoided!**"
294297
},
295298
"fortran.preferredCase": {
296299
"type": "string",
@@ -299,7 +302,7 @@
299302
"lowercase",
300303
"uppercase"
301304
],
302-
"description": "Specify the word case to use when suggesting autocomplete options."
305+
"markdownDescription": "Specify the word case to use when suggesting autocomplete options."
303306
},
304307
"fortran.includePaths": {
305308
"deprecationMessage": "fortran.includePaths has been renamed to fortran.linter.includePaths."

0 commit comments

Comments
 (0)