forked from fsprojects/fsharp-language-server
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
223 lines (223 loc) · 8.96 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
{
"name": "coc-fsharp",
"displayName": "F# Language Server for coc.nvim",
"description": "F# Language Support using FSAC",
"author": "Yatao Li",
"license": "MIT",
"icon": "Icon512.png",
"version": "0.3.5",
"publisher": "yatli",
"repository": {
"type": "git",
"url": "https://github.com/yatli/fsharp-language-server"
},
"keywords": [
"fsharp",
"coc.nvim",
"dotnet",
".NET Core",
".NET"
],
"categories": [
"Programming Languages",
"Linters",
"coc.nvim"
],
"activationEvents": [
"onLanguage:fsharp"
],
"main": "out/client/extension.js",
"files": [
"out",
"syntaxes"
],
"contributes": {
"languages": [
{
"id": "fsharp",
"aliases": [
"F#",
"FSharp",
"fsharp"
],
"extensions": [
".fs",
".fsx",
".fsi",
".fsl",
".fsy"
],
"configuration": "syntaxes/fsharp.configuration.json"
}
],
"grammars": [
{
"language": "fsharp",
"scopeName": "source.fsharp",
"path": "syntaxes/fsharp.json"
},
{
"language": "fsharp",
"scopeName": "source.fsharp.fsx",
"path": "syntaxes/fsharp.fsx.json"
},
{
"language": "fsharp",
"scopeName": "source.fsharp.fsi",
"path": "syntaxes/fsharp.fsi.json"
}
],
"configuration": {
"type": "object",
"title": "FSharp configuration",
"properties": {
"FSharp.AutomaticWorkspaceInit": {
"scope": "application",
"type": "boolean",
"default": true,
"description": "Automatically initialize workspace solution/project."
},
"FSharp.server.trace": {
"scope": "application",
"type": "boolean",
"default": false,
"description": "Enables verbose log tracing."
},
"FSharp.KeywordsAutocomplete": {
"scope": "application",
"type": "boolean",
"default": false,
"description": "provides keywords in autocomplete list"
},
"FSharp.ExternalAutocomplete": {
"scope": "application",
"type": "boolean",
"default": false,
"description": "provides autocomplete for symbols from not opened namespaces/modules, insert open on accept, recommended default value: false"
},
"FSharp.Linter": {
"scope": "application",
"type": "boolean",
"default": true,
"description": "enables FSharpLint integration, provides additional warnings and code action fixes, recommended default value: true"
},
"FSharp.UnionCaseStubGeneration": {
"scope": "application",
"type": "boolean",
"default": true,
"description": "enables code action to generate pattern matching cases, recommended default value: true"
},
"FSharp.UnionCaseStubGenerationBody": {
"scope": "application",
"type": "string",
"default": "failwith \"Not Implemented\"",
"description": "defines dummy body used by pattern matching generator, recommended default value: \"failwith \\\"Not Implemented\\\"\""
},
"FSharp.RecordStubGeneration": {
"scope": "application",
"type": "boolean",
"default": true,
"description": "enables code action to generate record stub, recommended default value: true"
},
"FSharp.RecordStubGenerationBody": {
"scope": "application",
"type": "string",
"default": "failwith \"Not Implemented\"",
"description": "defines dummy body used by record stub generator, recommended default value: \"failwith \\\"Not Implemented\\\"\""
},
"FSharp.InterfaceStubGeneration": {
"scope": "application",
"type": "boolean",
"default": true,
"description": "enables code action to generate interface stub, recommended default value: true"
},
"FSharp.InterfaceStubGenerationObjectIdentifier": {
"scope": "application",
"type": "string",
"default": "this",
"description": "defines object identifier used by interface stub generator,recommended default value: \"this\""
},
"FSharp.InterfaceStubGenerationMethodBody": {
"scope": "application",
"type": "string",
"default": "failwith \"Not Implemented\"",
"description": "defines dummy body used by interface stub generator, recommended default value: \"failwith \\\"Not Implemented\\\"\""
},
"FSharp.UnusedOpensAnalyzer": {
"scope": "application",
"type": "boolean",
"default": true,
"description": "enables unused open detections, recommended default value: true"
},
"FSharp.UnusedDeclarationsAnalyzer": {
"scope": "application",
"type": "boolean",
"default": true,
"description": "enables unused symbol detection, recommended default value: true"
},
"FSharp.UseSdkScripts": {
"scope": "application",
"type": "boolean",
"default": true,
"description": "enables the use of .Net Core SDKs for script file type-checking and evaluation, otherwise the .Net Framework reference lists will be used. Recommended default value: true."
},
"FSharp.SimplifyNameAnalyzer": {
"scope": "application",
"type": "boolean",
"default": false,
"description": "enables simplify name analyzer and remove redundant qualifier quick fix, recommended default value: false"
},
"FSharp.ResolveNamespaces": {
"scope": "application",
"type": "boolean",
"default": true,
"description": "enables resolve namespace quick fix (add open if symbol is from not yet opened module/namespace), recommended default value: true"
},
"FSharp.EnableReferenceCodeLens": {
"scope": "application",
"type": "boolean",
"default": true,
"description": "enables reference count code lenses, recommended default value: true if --background-service-enabled is used by default, false otherwise"
},
"FSharp.FSIExtraParameters": {
"scope": "application",
"type": "array",
"default": [],
"description": "an array of additional runtime arguments that are passed to FSI. These are used when typechecking scripts to ensure that typechecking has the same context as your FSI instances. An example would be to set the following parameters to enable Preview features (like opening static classes) for typechecking."
}
}
},
"rootPatterns": [
{
"filetype": "fsharp",
"patterns": [
"*.fsproj",
"*.sln",
"*.fsx",
"projects.assets.json",
".vim",
".git",
".hg"
]
}
]
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"extensionDependencies": [],
"engines": {
"coc": "^0.0.80"
},
"dependencies": {
"coc-utils": "0.0.17",
"vscode-jsonrpc": ">=4.0.0",
"vscode-languageserver-protocol": ">=3.14.0"
},
"devDependencies": {
"@types/follow-redirects": "^1.8.0",
"typescript": "^4.6.2",
"coc.nvim": "^0.0.80"
}
}