Closed dbyron0 closed 7 years ago
I believe this situation has been covered by changes in the past. I wonder if there is a bug in the code sample above in that there is a dot after blah
and before method1
.
You're right there was an extra . above. I've removed it. Still get the same behavior though.
Hummm… maybe it was the d-mode we sorted this issue in, and I thought we had fixed it in the groovy-mode. I'll have to see what can be done.
Though, if you find someone who can solve this and provide a pull request, that would be excellent.
Thanks. I'm pretty sure my lisp skills are not up for this. Or at least, even if it takes you awhile, I bet it still takes me a fair bit longer :(
We have changed the Groovy mode from being a CC-Mode derived one to being a standalone one. We are therefore closing all issues relating to the old mode. If you try the new mode and see any problems please post a new issue.
For code like this:
when the cursor is on the lines with
.method1()
and.method2()
, C-c C-o reveals that the current syntactic context is statement. I'd love for groovy mode to recognize these as statement-cont so they're indented properly. I can't tell if the issue is with c-guess-basic-syntax or groovy-vsemi-p.I'd love a hand confirming my understanding of the issue, and even better, a fix.
Thanks much.
-DB