void () { getGroovySettings().LINE_COMMENT_AT_FIRST_COLUMN = false; getGroovySettings().LINE_COMMENT_ADD_SPACE = true; lineTest(""" def foo() { println 42<caret> } """, """ def foo() { // println 42 }<caret> """); }