Skip to content

Add new config options from last hls-1.4.0 #459

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jneira opened this issue Sep 17, 2021 · 0 comments · Fixed by #463
Closed

Add new config options from last hls-1.4.0 #459

jneira opened this issue Sep 17, 2021 · 0 comments · Fixed by #463

Comments

@jneira
Copy link
Member

jneira commented Sep 17, 2021

  • With special attention to checkProject
  • Actual default config is
 {
    "haskell": {
        "checkParents": "CheckOnSaveAndClose",
        "formattingProvider": "ormolu",
        "hlintOn": true,
        "diagnosticsOnChange": true,
        "diagnosticsDebounceDuration": 350000, // unused, should not be added
        "liquidOn": false,
        "plugin": {
            "importLens": {
                "codeActionsOn": true,
                "codeLensOn": true
            },
            "ghcide-hover-and-symbols": {
                "hoverOn": true,
                "symbolsOn": true
            },
            "ghcide-code-actions-bindings": {
                "globalOn": true
            },
            "splice": {
                "globalOn": true
            },
            "retrie": {
                "globalOn": true
            },
            "hlint": {
                "codeActionsOn": true,
                "diagnosticsOn": true,
                "config": {
                    "flags": []
                }
            },
            "ghcide-completions": {
                "globalOn": true,
                "config": {
                    "autoExtendOn": true,
                    "snippetsOn": true
                }
            },
            "ghcide-type-lenses": {
                "globalOn": true,
                "config": {
                    "mode": "always"
                }
            },
            "class": {
                "globalOn": true
            },
            "ghcide-code-actions-fill-holes": {
                "globalOn": true
            },
            "haddockComments": {
                "globalOn": true
            },
            "eval": {
                "globalOn": true
            },
            "tactics": {
                "hoverOn": true,
                "codeActionsOn": true,
                "config": {
                    "max_use_ctor_actions": 5,
                    "proofstate_styling": true,
                    "auto_gas": 4,
                    "timeout_duration": 2,
                    "hole_severity": null
                },
                "codeLensOn": true
            },
            "ghcide-code-actions-type-signatures": {
                "globalOn": true
            },
            "pragmas": {
                "codeActionsOn": true,
                "completionOn": true
            },
            "ghcide-code-actions-imports-exports": {
                "globalOn": true
            },
            "refineImports": {
                "codeActionsOn": true,
                "codeLensOn": true
            },
            "moduleName": {
                "globalOn": true
            },
            "callHierarchy": {
                "globalOn": true
            }
        },
        "formatOnImportOn": true,
        "maxCompletions": 40,
        "checkProject": true
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant