|
237 | 237 | }, |
238 | 238 | { |
239 | 239 | "command": "fsharp.explorer.showProjectLoadFailedInfo", |
240 | | - "title": "Show info about failed project loading", |
241 | | - "icon": { |
| 240 | + "title": "Show info about failed project loading", |
| 241 | + "icon": { |
242 | 242 | "light": "./images/icon-status-light.svg", |
243 | 243 | "dark": "./images/icon-status-dark.svg" |
244 | 244 | } |
245 | 245 | }, |
246 | 246 | { |
247 | 247 | "command": "fsharp.explorer.showProjectStatus", |
248 | | - "title": "Show project status", |
249 | | - "icon": { |
| 248 | + "title": "Show project status", |
| 249 | + "icon": { |
250 | 250 | "light": "./images/icon-status-light.svg", |
251 | 251 | "dark": "./images/icon-status-dark.svg" |
252 | 252 | } |
|
803 | 803 | }, |
804 | 804 | { |
805 | 805 | "command": "fsharp.explorer.showProjectLoadFailedInfo", |
806 | | - "when": "viewItem == ionide.projectExplorer.projectLoadFailed", |
807 | | - "group": "inline@98" |
| 806 | + "when": "viewItem == ionide.projectExplorer.projectLoadFailed", |
| 807 | + "group": "inline@98" |
808 | 808 | }, |
809 | 809 | { |
810 | 810 | "command": "fsharp.explorer.openProjectFile", |
|
839 | 839 | }, |
840 | 840 | { |
841 | 841 | "command": "fsharp.explorer.showProjectStatus", |
842 | | - "when": "viewItem == ionide.projectExplorer.projectNotRestored", |
843 | | - "group": "inline@98" |
| 842 | + "when": "viewItem == ionide.projectExplorer.projectNotRestored", |
| 843 | + "group": "inline@98" |
844 | 844 | }, |
845 | 845 | { |
846 | 846 | "command": "fsharp.explorer.addProjecRef", |
|
1129 | 1129 | { |
1130 | 1130 | "language": "fsharp", |
1131 | 1131 | "scopes": { |
1132 | | - "mutable": ["variable.fsharp.mutable"], |
1133 | | - "disposable": ["variable.fsharp.mutable"], |
1134 | | - "operator": ["keyword.symbol.fsharp"], |
1135 | | - "cexpr": ["keyword.control.fsharp"] |
| 1132 | + "mutable": [ |
| 1133 | + "variable.fsharp.mutable" |
| 1134 | + ], |
| 1135 | + "disposable": [ |
| 1136 | + "variable.fsharp.mutable" |
| 1137 | + ], |
| 1138 | + "operator": [ |
| 1139 | + "keyword.symbol.fsharp" |
| 1140 | + ], |
| 1141 | + "cexpr": [ |
| 1142 | + "keyword.control.fsharp" |
| 1143 | + ] |
1136 | 1144 | } |
1137 | 1145 | } |
1138 | 1146 | ], |
|
1152 | 1160 | "scope": "window" |
1153 | 1161 | }, |
1154 | 1162 | "FSharp.fsac.dotnetArgs": { |
1155 | | - "type" : "array", |
| 1163 | + "type": "array", |
1156 | 1164 | "default": [], |
1157 | 1165 | "description": "additional CLI arguments to be provided to the dotnet runner for FSAC", |
1158 | 1166 | "items": { |
|
1230 | 1238 | "default": "failwith \"Not Implemented\"", |
1231 | 1239 | "description": "The expression to fill in the right-hand side of record fields when generating missing fields for a record construction expression" |
1232 | 1240 | }, |
1233 | | - "FSharp.interfaceStubGeneration": { |
| 1241 | + "FSharp.interfaceStubGeneration": { |
1234 | 1242 | "type": "boolean", |
1235 | 1243 | "default": true, |
1236 | 1244 | "description": "Enables a codefix that generates missing interface members when inside of an interface implementation expression" |
1237 | | - }, |
1238 | | - "FSharp.interfaceStubGenerationObjectIdentifier": { |
| 1245 | + }, |
| 1246 | + "FSharp.interfaceStubGenerationObjectIdentifier": { |
1239 | 1247 | "type": "string", |
1240 | 1248 | "default": "this", |
1241 | 1249 | "description": "The name of the 'self' identifier in an interface member. For example, `this` in the expression `this.Member(x: int) = ()`" |
1242 | | - }, |
1243 | | - "FSharp.interfaceStubGenerationMethodBody": { |
| 1250 | + }, |
| 1251 | + "FSharp.interfaceStubGenerationMethodBody": { |
1244 | 1252 | "type": "string", |
1245 | 1253 | "default": "failwith \"Not Implemented\"", |
1246 | 1254 | "description": "The expression to fill in the right-hand side of interface members when generating missing members for an interface implementation expression" |
|
1249 | 1257 | "type": "boolean", |
1250 | 1258 | "default": true, |
1251 | 1259 | "description": "Enables a codefix that generates missing members for an abstract class when in an type inheriting from that abstract class." |
1252 | | - }, |
1253 | | - "FSharp.abstractClassStubGenerationObjectIdentifier": { |
| 1260 | + }, |
| 1261 | + "FSharp.abstractClassStubGenerationObjectIdentifier": { |
1254 | 1262 | "type": "string", |
1255 | 1263 | "default": "this", |
1256 | 1264 | "description": "The name of the 'self' identifier in an inherited member. For example, `this` in the expression `this.Member(x: int) = ()`" |
1257 | | - }, |
1258 | | - "FSharp.abstractClassStubGenerationMethodBody": { |
| 1265 | + }, |
| 1266 | + "FSharp.abstractClassStubGenerationMethodBody": { |
1259 | 1267 | "type": "string", |
1260 | 1268 | "default": "failwith \"Not Implemented\"", |
1261 | 1269 | "description": "The expression to fill in the right-hand side of inherited members when generating missing members for an abstract base class" |
|
1395 | 1403 | ], |
1396 | 1404 | "default": "sameAsFileExplorer", |
1397 | 1405 | "scope": "window" |
1398 | | - }, |
1399 | | - "FSharp.smartIndent": { |
1400 | | - "type": "boolean", |
1401 | | - "default": false, |
1402 | | - "description": "Enables smart indent feature" |
| 1406 | + }, |
| 1407 | + "FSharp.smartIndent": { |
| 1408 | + "type": "boolean", |
| 1409 | + "default": false, |
| 1410 | + "description": "Enables smart indent feature" |
1403 | 1411 | }, |
1404 | 1412 | "FSharp.infoPanelUpdate": { |
1405 | | - "type": "string", |
| 1413 | + "type": "string", |
1406 | 1414 | "description": "Controls when the info panel is updated", |
1407 | 1415 | "enum": [ |
1408 | 1416 | "onCursorMove", |
1409 | 1417 | "onHover", |
1410 | 1418 | "both", |
1411 | 1419 | "none" |
1412 | 1420 | ], |
1413 | | - "default": "onCursorMove" |
| 1421 | + "default": "onCursorMove" |
1414 | 1422 | }, |
1415 | 1423 | "FSharp.infoPanelReplaceHover": { |
1416 | | - "type": "boolean", |
| 1424 | + "type": "boolean", |
1417 | 1425 | "description": "Controls whether the info panel replaces tooltips", |
1418 | | - "default": false |
| 1426 | + "default": false |
1419 | 1427 | }, |
1420 | 1428 | "FSharp.infoPanelStartLocked": { |
1421 | | - "type": "boolean", |
| 1429 | + "type": "boolean", |
1422 | 1430 | "description": "Controls whether the info panel should be locked at startup", |
1423 | | - "default": false |
| 1431 | + "default": false |
1424 | 1432 | }, |
1425 | 1433 | "FSharp.infoPanelShowOnStartup": { |
1426 | | - "type": "boolean", |
| 1434 | + "type": "boolean", |
1427 | 1435 | "description": "Controls whether the info panel should be displayed at startup", |
1428 | | - "default": false |
| 1436 | + "default": false |
1429 | 1437 | }, |
1430 | 1438 | "FSharp.verboseLogging": { |
1431 | 1439 | "type": "boolean", |
|
1497 | 1505 | { |
1498 | 1506 | "fileMatch": "wsconfig.json", |
1499 | 1507 | "url": "./schemas/wsconfig.json" |
| 1508 | + }, |
| 1509 | + { |
| 1510 | + "fileMatch": "**/launchSettings.json", |
| 1511 | + "url": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/launchsettings.json" |
1500 | 1512 | } |
1501 | 1513 | ], |
1502 | 1514 | "breakpoints": [ |
|
1560 | 1572 | } |
1561 | 1573 | ], |
1562 | 1574 | "terminal": { |
1563 | | - "profiles": [{ |
1564 | | - "icon": "terminal", |
1565 | | - "id": "ionide-fsharp.fsi", |
1566 | | - "title": "F# Interactive" |
1567 | | - }] |
1568 | | - } |
| 1575 | + "profiles": [ |
| 1576 | + { |
| 1577 | + "icon": "terminal", |
| 1578 | + "id": "ionide-fsharp.fsi", |
| 1579 | + "title": "F# Interactive" |
| 1580 | + } |
| 1581 | + ] |
| 1582 | + }, |
| 1583 | + "taskDefinitions": [ |
| 1584 | + { |
| 1585 | + "type": "msbuild", |
| 1586 | + "required": [], |
| 1587 | + "properties": {} |
| 1588 | + } |
| 1589 | + ] |
1569 | 1590 | }, |
1570 | 1591 | "activationEvents": [ |
| 1592 | + "onCommand:fsharp.NewProject", |
| 1593 | + "onCommand:fsi.Start", |
| 1594 | + "onCommand:workbench.action.tasks.runTask", |
1571 | 1595 | "onDebugDynamicConfigurations:coreclr", |
| 1596 | + "onLanguage:fsharp", |
1572 | 1597 | "workspaceContains:**/*.fs", |
1573 | | - "workspaceContains:**/*.fsx", |
1574 | 1598 | "workspaceContains:**/*.fsproj", |
1575 | | - "workspaceContains:**/*.sln", |
1576 | | - "onLanguage:fsharp", |
1577 | | - "onCommand:fsi.Start", |
1578 | | - "onCommand:fsharp.NewProject" |
| 1599 | + "workspaceContains:**/*.fsx", |
| 1600 | + "workspaceContains:**/*.sln" |
1579 | 1601 | ], |
1580 | 1602 | "extensionDependencies": [ |
1581 | 1603 | "ms-dotnettools.csharp" |
|
0 commit comments