vscode-gradle-language icon indicating copy to clipboard operation
vscode-gradle-language copied to clipboard

Inconsistent Highlighting in `subprojects` closure

Open littleaj opened this issue 6 years ago • 0 comments

This could be consolidated with #2 if it has the same cause, but I'm going to file it separately and let you make the call.

Consider this build.gradle:

// root region
apply plugin: 'base'
task doSomething {
	doLast {
		println "something"
	}
}
subprojects {
	// subprojects region
	apply plugin: 'java'
	task doSomethingElse {
		doLast {
			println "something else"
		}
	}
}

In the "root region," apply and task are highlighted. In the "subprojects region," they are not. It seems like it should behave the same way. Same similar closures, e.g. allprojects.

littleaj avatar Feb 10 '18 02:02 littleaj