diff --git a/.gitignore b/.gitignore index e3822bbe..ee361aa9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ out node_modules .vscode-test .DS_Store -dist \ No newline at end of file +dist +*.vsix \ No newline at end of file diff --git a/images/haskell-logo.png b/images/haskell-logo.png deleted file mode 100644 index 45028e00..00000000 Binary files a/images/haskell-logo.png and /dev/null differ diff --git a/images/hls-logo.png b/images/hls-logo.png new file mode 100644 index 00000000..82dc2341 Binary files /dev/null and b/images/hls-logo.png differ diff --git a/package-lock.json b/package-lock.json index ed692272..605201bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "haskell", - "version": "1.2.0", + "version": "1.3.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 1597397e..66e05725 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "haskell", "displayName": "Haskell", "description": "Haskell language support powered by the Haskell Language Server and ghcide", - "version": "1.2.0", + "version": "1.3.0", "license": "MIT", "publisher": "haskell", "engines": { @@ -30,7 +30,7 @@ "Linters", "Other" ], - "icon": "images/haskell-logo.png", + "icon": "images/hls-logo.png", "galleryBanner": { "color": "#22172A", "theme": "dark" @@ -69,6 +69,7 @@ "properties": { "haskell.hlintOn": { "title": "Hlint", + "markdownDeprecationMessage": "**Deprecated**: Please use `#haskell.plugin.hlint.globalOn#` instead.", "scope": "resource", "type": "boolean", "default": true, @@ -86,12 +87,6 @@ "default": true, "description": "Compute diagnostics continuously as you type. Turn off to only generate diagnostics on file save." }, - "haskell.liquidOn": { - "scope": "resource", - "type": "boolean", - "default": false, - "description": "Get diagnostics from liquid haskell" - }, "haskell.completionSnippetsOn": { "title": "Completion Snippets", "scope": "resource", @@ -117,7 +112,7 @@ "none" ], "default": "ormolu", - "description": "The formatter to use when formatting a document or range" + "description": "The formatter to use when formatting a document or range. Ensure the plugin is enabled." }, "haskell.trace.server": { "scope": "resource", @@ -139,7 +134,6 @@ "scope": "resource", "type": "string", "enum": [ - "haskell-ide-engine", "haskell-language-server", "ghcide" ], @@ -173,6 +167,119 @@ ], "default": "keep-up-to-date", "markdownDescription": "Only applicable with `#haskell.languageServerVariant#` set to `haskell-language-server`. Determine what to do when a new version of the language server is available." + }, + "haskell.plugin.importLens.codeActionsOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables explicit imports code actions" + }, + "haskell.plugin.importLens.codeLensOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables explicit imports code lenses" + }, + "haskell.plugin.hlint.codeActionsOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables hlint code actions (apply hints)" + }, + "haskell.plugin.hlint.diagnosticsOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables hlint diagnostics" + }, + "haskell.plugin.eval.globalOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables eval plugin" + }, + "haskell.plugin.moduleName.globalOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables module name plugin" + }, + "haskell.plugin.splice.globalOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables splice plugin (expand template haskell definitions)" + }, + "haskell.plugin.haddockComments.globalOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables haddock comments plugin" + }, + "haskell.plugin.class.globalOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables type class plugin" + }, + "haskell.plugin.retrie.globalOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables retrie plugin" + }, + "haskell.plugin.tactic.globalOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables wingman (tactic) plugin" + }, + "haskell.plugin.tactic.config.max_use_ctor_actions": { + "title": "Max number of constructors", + "scope": "resource", + "type": "boolean", + "default": true, + "markdownDescription": "Maximum number of `Use constructor ` code actions that can appear" + }, + "haskell.plugin.tactic.config.features": { + "scope": "resource", + "type": "Object", + "default": true, + "markdownDescription": "Features set used by wingman (tactic) plugin" + }, + "haskell.plugin.pragmas.codeActionsOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables pragmas code actions" + }, + "haskell.plugin.pragmas.completionOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables pragmas completions" + }, + "haskell.plugin.ghcide-type-lenses.globalOn": { + "scope": "resource", + "type": "boolean", + "default": true, + "description": "Enables type lenses plugin" + }, + "haskell.plugin.ghcide-type-lenses.config.mode": { + "scope": "resource", + "type": "string", + "default": true, + "description": "Control how type lenses are shown", + "enum": [ + "always", + "exported", + "diagnostics" + ], + "enumDescriptions": [ + "Always displays type lenses of global bindings", + "Only display type lenses of exported global bindings", + "Follows error messages produced by GHC about missing signatures" + ] } } },