continuation style settings not behaving as I expect.
The continuation settings I have don't carry over if I reuse the variable on subsequent lines. See example below.
// This one indents properly
BindVariables vars = BindVariablesBuilder.create()
.add()
.build();
// This one doesn't indent properly
vars = BindVariablesBuilder.create()
.add()
.build();
Comments (5)
-
repo owner -
repo owner Mike, I think the original formatting may have been lost so I'm not 100% sure about the formatting issue that you're seeing. When I try to reproduce that, here's the result:
String foo = UserInfo.getOrganizationId() .toUpperCase() .toLowerCase(); foo = UserInfo.getOrganizationId() .toUpperCase() .toLowerCase();
which appears to be formatted properly to me. Can you let me know the difference between what I've done and what you're doing?
-
repo owner -
reporter Hey Scott,
What you are doing is correct. I just tried this at home, and it seems to be working for me. I'll check on Monday when I get back to work, maybe something different on that machine.
-
repo owner - changed status to resolved
Okay, I'm going to resolve this for now assuming that it may be a config issue, but if you find a consistently reproducible example, reopen with that info.
- Log in to comment
Thanks for logging. Hopefully should be a pretty trivial fix. I'll take a look for the next release.