Skip to content

Source range for implicit script run method covers explicit methods #1628

@eric-milles

Description

@eric-milles

Consider the following:

package p
class C { String s }
void test() {
}

The source range (and hence fold region) for the implicit run method starts at the first method or statement and ends at the last method or statement. Thus it often overlaps with script methods and so collapse works strangely.

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions