-
-
Notifications
You must be signed in to change notification settings - Fork 388
Add missing config options in documentation #2203
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
6963a49
Add missing config options
jneira 6d7e5f3
Section about generic plugin configuration
jneira 4c64727
Add plugin specific config
jneira 022080e
Mark haskell.completionSnippetsOn as deprecated
jneira 2fb2ba9
Merge branch 'master' into doc-config
jneira 8e77cbb
Remove unused diagnosticsDebounceDuration
jneira 8035f3e
Correct typos
jneira c731c96
Change tone of using hie.yaml suggestion
jneira 477e9d0
Update exclude list precommit hook
jneira 676d0ff
Remove diagnosticsDebounceDuration from source code
jneira 1fd1379
Correct typo
jneira fbd51d4
Merge branch 'master' into doc-config
mergify[bot] b06318b
Merge branch 'master' into doc-config
jneira 8563167
Merge branch 'master' into doc-config
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,13 +40,16 @@ This option obviously would not make sense for language servers for other langua | |
|
||
Here is a list of the additional settings currently supported by `haskell-language-server`, along with their setting key (you may not need to know this) and default: | ||
|
||
- Formatting provider (`haskell.formattingProvider`, default `ormolu`): what formatter to use; one of `floskell`, `ormolu`, `fourmolu`, `stylish-haskell`, or `brittany` (if compiled with the brittany plugin) | ||
- Format on imports (`haskell.formatOnImportOn`, default true): whether to format after adding an import | ||
- Diagnostics on change (`haskell.diagnosticsOnChange`, default true): (currently unused) | ||
- Completion snippets (`haskell.completionSnippetsOn`, default true): whether to support completion snippets | ||
- Liquid Haskell (`haskell.liquidOn`, default false): whether to enable Liquid Haskell support (currently unused until the Liquid Haskell support is functional again) | ||
- Hlint (`haskell.hlintOn`, default true): whether to enable Hlint support | ||
- Formatting provider (`haskell.formattingProvider`, default `ormolu`): what formatter to use; one of `floskell`, `ormolu`, `fourmolu`, `stylish-haskell`, or `brittany` (if compiled with the brittany plugin). | ||
- Format on imports (`haskell.formatOnImportOn`, default true): whether to format after adding an import. | ||
- Diagnostics on change (`haskell.diagnosticsOnChange`, default true): (currently unused). | ||
- Diagnostics debounce duration (`haskell.diagnosticsDebounceDuration`, default 350000 milliseconds). | ||
jneira marked this conversation as resolved.
Show resolved
Hide resolved
jneira marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Completion snippets (`haskell.completionSnippetsOn`, default true): whether to support completion snippets. | ||
- Liquid Haskell (`haskell.liquidOn`, default false): whether to enable Liquid Haskell support (currently unused until the Liquid Haskell support is functional again, see <https://github.com/haskell/haskell-language-server/issues/367>). | ||
- Hlint (`haskell.hlintOn`, default true): whether to enable Hlint support. | ||
- Max completions (`haskell.maxCompletions`, default 40): maximum number of completions sent to the LSP client. | ||
- Check project (`haskell.checkProject`, default true): whether to typecheck the entire project on load. AS it is activate by default could drive to bad perfomance in large projects. | ||
- Check parents (`haskell.checkParents`, default `CheckOnSaveAndClose`): when to typecheck reverse dependencies of a file; one of `NeverCheck`, `CheckOnClose`, `CheckOnSaveAndClose`, or `AlwaysCheck`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If it can affect performance it should be noted how |
||
|
||
Settings like this are typically provided by the language-specific LSP client support for your editor, for example in Emacs by `lsp-haskell`. | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these might be better as tables?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, it will look cleaner