-
Notifications
You must be signed in to change notification settings - Fork 94
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
Indentation issues #227
Comments
@svs Thanks for reporting. 👍 |
Thanks! Is fixed with #231 |
case parse do
{ [ help: true ], _, _ }
-> :help
{ _, [ user, project, count ], _ }
-> { user, project, count }
{ _, [ user, project ], _ }
-> { user, project, @default_count }
_ -> :help
end the third and fourth cases are improperly implemented. |
I can't reproduce this so far. I tried the following code and it always indent correct. case parse do
{ [ help: true ], _, _ }
-> :help
{ _, [ user, project, count ], _ }
-> { user, project, count }
{ _, [ user, project ], _ }
-> { user, project, @default_count }
_ -> :help
end
def asdasd do
case parse do
{ [ help: true ], _, _ }
-> :help
{ _, [ user, project, count ], _ }
-> { user, project, count }
{ _, [ user, project ], _ }
-> { user, project, @default_count }
_ -> :help
end
end What version of |
2.2.6 |
Ok, I tested it intensively and a few other I'm wondering if you indent it specific, like go to the line and indent or select the whole block and indent? I really can't get any issue there. |
…ding Load all modules after first build
* WorkspaceSymbols index after successful build Previously WorkspaceSymbols depended on a side-effect of running Dialyzer: elixir-lsp/elixir-ls#110 (comment) Now that the Build step loads all modules (added in elixir-editors#227) we need to change the WorkspaceSymbols index to be rebuilt after a successful compile. * Fix tests Allow WorkspaceSymbol to have it's own instance of the GenServer for the test by being parameterized by the server's registered name * Give Server some more time to respond This is probably necessary now because workspace symbols is running earlier * Bump up the timeout
I've copy pasted an example from Dave Thomas's Programming Elixir and the indentation is very weird. Example reproduced below:
I'm using v. 2.2.5 from melpa-stable.
thanks.
The text was updated successfully, but these errors were encountered: