Skip to content

Commit

Permalink
Implement MSBuild functionality as a Task Provider (#1679)
Browse files Browse the repository at this point in the history
  • Loading branch information
baronfel authored Mar 30, 2022
1 parent 8f1d381 commit 66e4a6a
Show file tree
Hide file tree
Showing 4 changed files with 418 additions and 153 deletions.
114 changes: 68 additions & 46 deletions release/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,16 +237,16 @@
},
{
"command": "fsharp.explorer.showProjectLoadFailedInfo",
"title": "Show info about failed project loading",
"icon": {
"title": "Show info about failed project loading",
"icon": {
"light": "./images/icon-status-light.svg",
"dark": "./images/icon-status-dark.svg"
}
},
{
"command": "fsharp.explorer.showProjectStatus",
"title": "Show project status",
"icon": {
"title": "Show project status",
"icon": {
"light": "./images/icon-status-light.svg",
"dark": "./images/icon-status-dark.svg"
}
Expand Down Expand Up @@ -803,8 +803,8 @@
},
{
"command": "fsharp.explorer.showProjectLoadFailedInfo",
"when": "viewItem == ionide.projectExplorer.projectLoadFailed",
"group": "inline@98"
"when": "viewItem == ionide.projectExplorer.projectLoadFailed",
"group": "inline@98"
},
{
"command": "fsharp.explorer.openProjectFile",
Expand Down Expand Up @@ -839,8 +839,8 @@
},
{
"command": "fsharp.explorer.showProjectStatus",
"when": "viewItem == ionide.projectExplorer.projectNotRestored",
"group": "inline@98"
"when": "viewItem == ionide.projectExplorer.projectNotRestored",
"group": "inline@98"
},
{
"command": "fsharp.explorer.addProjecRef",
Expand Down Expand Up @@ -1129,10 +1129,18 @@
{
"language": "fsharp",
"scopes": {
"mutable": ["variable.fsharp.mutable"],
"disposable": ["variable.fsharp.mutable"],
"operator": ["keyword.symbol.fsharp"],
"cexpr": ["keyword.control.fsharp"]
"mutable": [
"variable.fsharp.mutable"
],
"disposable": [
"variable.fsharp.mutable"
],
"operator": [
"keyword.symbol.fsharp"
],
"cexpr": [
"keyword.control.fsharp"
]
}
}
],
Expand All @@ -1152,7 +1160,7 @@
"scope": "window"
},
"FSharp.fsac.dotnetArgs": {
"type" : "array",
"type": "array",
"default": [],
"description": "additional CLI arguments to be provided to the dotnet runner for FSAC",
"items": {
Expand Down Expand Up @@ -1230,17 +1238,17 @@
"default": "failwith \"Not Implemented\"",
"description": "The expression to fill in the right-hand side of record fields when generating missing fields for a record construction expression"
},
"FSharp.interfaceStubGeneration": {
"FSharp.interfaceStubGeneration": {
"type": "boolean",
"default": true,
"description": "Enables a codefix that generates missing interface members when inside of an interface implementation expression"
},
"FSharp.interfaceStubGenerationObjectIdentifier": {
},
"FSharp.interfaceStubGenerationObjectIdentifier": {
"type": "string",
"default": "this",
"description": "The name of the 'self' identifier in an interface member. For example, `this` in the expression `this.Member(x: int) = ()`"
},
"FSharp.interfaceStubGenerationMethodBody": {
},
"FSharp.interfaceStubGenerationMethodBody": {
"type": "string",
"default": "failwith \"Not Implemented\"",
"description": "The expression to fill in the right-hand side of interface members when generating missing members for an interface implementation expression"
Expand All @@ -1249,13 +1257,13 @@
"type": "boolean",
"default": true,
"description": "Enables a codefix that generates missing members for an abstract class when in an type inheriting from that abstract class."
},
"FSharp.abstractClassStubGenerationObjectIdentifier": {
},
"FSharp.abstractClassStubGenerationObjectIdentifier": {
"type": "string",
"default": "this",
"description": "The name of the 'self' identifier in an inherited member. For example, `this` in the expression `this.Member(x: int) = ()`"
},
"FSharp.abstractClassStubGenerationMethodBody": {
},
"FSharp.abstractClassStubGenerationMethodBody": {
"type": "string",
"default": "failwith \"Not Implemented\"",
"description": "The expression to fill in the right-hand side of inherited members when generating missing members for an abstract base class"
Expand Down Expand Up @@ -1395,37 +1403,37 @@
],
"default": "sameAsFileExplorer",
"scope": "window"
},
"FSharp.smartIndent": {
"type": "boolean",
"default": false,
"description": "Enables smart indent feature"
},
"FSharp.smartIndent": {
"type": "boolean",
"default": false,
"description": "Enables smart indent feature"
},
"FSharp.infoPanelUpdate": {
"type": "string",
"type": "string",
"description": "Controls when the info panel is updated",
"enum": [
"onCursorMove",
"onHover",
"both",
"none"
],
"default": "onCursorMove"
"default": "onCursorMove"
},
"FSharp.infoPanelReplaceHover": {
"type": "boolean",
"type": "boolean",
"description": "Controls whether the info panel replaces tooltips",
"default": false
"default": false
},
"FSharp.infoPanelStartLocked": {
"type": "boolean",
"type": "boolean",
"description": "Controls whether the info panel should be locked at startup",
"default": false
"default": false
},
"FSharp.infoPanelShowOnStartup": {
"type": "boolean",
"type": "boolean",
"description": "Controls whether the info panel should be displayed at startup",
"default": false
"default": false
},
"FSharp.verboseLogging": {
"type": "boolean",
Expand Down Expand Up @@ -1497,6 +1505,10 @@
{
"fileMatch": "wsconfig.json",
"url": "./schemas/wsconfig.json"
},
{
"fileMatch": "**/launchSettings.json",
"url": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/launchsettings.json"
}
],
"breakpoints": [
Expand Down Expand Up @@ -1560,22 +1572,32 @@
}
],
"terminal": {
"profiles": [{
"icon": "terminal",
"id": "ionide-fsharp.fsi",
"title": "F# Interactive"
}]
}
"profiles": [
{
"icon": "terminal",
"id": "ionide-fsharp.fsi",
"title": "F# Interactive"
}
]
},
"taskDefinitions": [
{
"type": "msbuild",
"required": [],
"properties": {}
}
]
},
"activationEvents": [
"onCommand:fsharp.NewProject",
"onCommand:fsi.Start",
"onCommand:workbench.action.tasks.runTask",
"onDebugDynamicConfigurations:coreclr",
"onLanguage:fsharp",
"workspaceContains:**/*.fs",
"workspaceContains:**/*.fsx",
"workspaceContains:**/*.fsproj",
"workspaceContains:**/*.sln",
"onLanguage:fsharp",
"onCommand:fsi.Start",
"onCommand:fsharp.NewProject"
"workspaceContains:**/*.fsx",
"workspaceContains:**/*.sln"
],
"extensionDependencies": [
"ms-dotnettools.csharp"
Expand Down
Loading

0 comments on commit 66e4a6a

Please sign in to comment.