This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Source > Format behaves incorrectly with heredoc string in method calls, example: def test() puts(<<-STR) Some text STR if true end # this end and all the following code has wrong indentation puts("something else") end
Created attachment 79264 [details] Test file with the same example
Reproduced, thanks for the report. Will attempt to fix for 6.8. Format appears to work fine if you add a newline after the heredoc.