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

fold indentation for fun like vim & emacs is missing #739

Open
benoitc opened this issue May 25, 2016 · 8 comments
Open

fold indentation for fun like vim & emacs is missing #739

benoitc opened this issue May 25, 2016 · 8 comments
Assignees
Labels
Enhancement Ticket describes a possible improvement feat:Formatter Related to the Code Formatter feature

Comments

@benoitc
Copy link

benoitc commented May 25, 2016

Related to #738 , here a specific case for fold . In vim or emacs, when you type enter after -> the content is aligned after the first ( of the fold function:

  lists:foldl(fun(A, Acc) ->

type enter, you have in intellij:

  lists:foldl(fun(A, Acc) ->
    [A| Acc]

where in vim you have:

fun() ->
    lists:foldl(fun(A, Acc) ->
                    [A | Acc]
@benoitc
Copy link
Author

benoitc commented May 31, 2016

i tried to fix that, but hen I clone from git your sources it is not recognized as a plugin module. Any idea how to fix it?

@ignatov
Copy link
Owner

ignatov commented May 31, 2016

@benoitc
Copy link
Author

benoitc commented Jun 1, 2016

@ignatov i imported via gradle but according to the doc I should have an action to generate the archive in the Build menu, which is not the case (in latest intellij-idea universal) . How do you tell intelli-jdea it needs to generate a plugin? (note that some iml files are missing from the repo)

@benoitc
Copy link
Author

benoitc commented Jun 1, 2016

nvm just using gradle tasks did the trick.

@ignatov
Copy link
Owner

ignatov commented Jun 1, 2016 via email

@Njbud13
Copy link

Njbud13 commented Mar 14, 2017

I'm having this issue with the latest version. Is there a way to fix it?

@ignatov
Copy link
Owner

ignatov commented Mar 14, 2017

@Njbud13 I haven't fixed the issue yet, so it's very hard to get the fix :–)

@Andy-Richards
Copy link

I would also like to see this fixed. Currently I have to manually indent the fun.

@ignatov ignatov self-assigned this Jul 26, 2018
@ignatov ignatov added Enhancement Ticket describes a possible improvement feat:Formatter Related to the Code Formatter feature labels Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Ticket describes a possible improvement feat:Formatter Related to the Code Formatter feature
Projects
None yet
Development

No branches or pull requests

4 participants