Skip to content

Completion on first structure field should not fallback to top-level #11018

Description

@RblSb
typedef Foo = {
	?someField:String,
	?secondField:Int,
}

class Main {
	static function main() {
		final foo:Foo = {
			s|
			secondField: 10,
		}
	}
}

4.2.5 (secondField can be detected and filtered from completion on vshaxe side, i think, fields after first comma are parsed and filtered already):
Upd: cannot reproduce this result anymore, my mistake, happens only if you trigger completion first and then write s
image
dev:
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions