Skip to content
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

Feature request: Auto-Indent & Reformat code #60

Closed
majorgilles opened this issue Nov 19, 2016 · 1 comment
Closed

Feature request: Auto-Indent & Reformat code #60

majorgilles opened this issue Nov 19, 2016 · 1 comment

Comments

@majorgilles
Copy link

First all, many thanks for creating this plugin, it's already a god-sent... Plugin is working fine with latest versions of stack and ghc 8 to boot...

First of all, the feature 'Keep indent on empty lines' in style settings are already usable, but it would be nice to have the ability quickly reformat a source code file according to styling rules as is already the case for other languages.

An 'optimize imports' solution would also be nice.

Keep up the great work!

@rikvdkleij
Copy link
Owner

Thanks for your kind words.

Version 1.0.0-beta3 supports formatting by Hindent and/or Stylish haskell. Only max line length and indent size can be configured in IntelliJ. Other styling rules are defined inside hindent and stylish haskell.

Optimize imports is already available by using compiler warnings.

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

No branches or pull requests

2 participants