-
-
Notifications
You must be signed in to change notification settings - Fork 389
Documenting the new generic config for plugins #1433
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
|
|
|
The value of ghcide-type-lenses' |
I think it's ok to expose features, but maybe with an unhelpful description "Features to enable in the plugin" |
{
"haskell": {
"plugin" : {
"importLens" : {
"globalOn" : false,
"codeActionsOn" : false,
"codeLensOn" : false
},
"hlint" : {
"globalOn" : false,
"codeActionsOn" : false,
"diagnosticsOn" :false
},
"eval" : {
"globalOn" : false,
"codeLensOn" : false
},
"moduleName" : {
"globalOn" : false,
"codeLensOn" : false
},
"splice" : {
"globalOn" : false,
"codeActionsOn" : false
},
"haddockComments" : {
"globalOn" : false,
"codeActionsOn" : false
},
"class" : {
"globalOn" : false,
"codeActionsOn" : false
},
"retrie" : {
"globalOn" : false,
"codeActionsOn" : false
},
"tactic" : {
"globalOn" : false,
"codeActionsOn" : false,
"config": {
"features": "not exposed?",
"max_use_ctor_actions": "Int"
}
},
"pragmas" : {
"globalOn" : false,
"codeActionsOn" : false,
"completionOn" : false
},
"ghcide-hover-and-symbols" : {
"globalOn" : false,
"hoverOn" :false,
"symbolsOn" :false
},
"ghcide-code-actions" : {
"globalOn" : false,
"codeActionsOn" : false
},
"ghcide-completions" : {
"globalOn" : false,
"completionOn" :false
},
"ghcide-type-lenses" : {
"globalOn" : false,
"codeLensOn" : false,
"config": {
"mode": "always | exported | diagnostics"
}
}
}
}
} |
.vscode/settings.json
with the desired configuration (and other editors lets you do it too)hlintOn
)config
(@isovector)The text was updated successfully, but these errors were encountered: