Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Prepend first space in rest parameter hints - #86

Open
LexLuengas wants to merge 1 commit into
lannonbr:masterfrom
LexLuengas:first-space-in-rest-params
Open

Prepend first space in rest parameter hints#86
LexLuengas wants to merge 1 commit into
lannonbr:masterfrom
LexLuengas:first-space-in-rest-params

Conversation

@LexLuengas

Copy link
Copy Markdown

Before this change, the first space was not prepended for hints that correspond to rest parameters. When 'showFirstSpace' is active, now every parameter
annotation gets a space character prepended.

Before:
foo(items[0]: bar, items[1]: baz);
doo( a: 1, b: 2);
After:
foo( items[0]: bar, items[1]: baz);
doo( a: 1, b: 2);

Before this change, the first space was not prepended for hints that correspond to rest
parameters. When 'showFirstSpace' is active, now every parameter
annotation gets a space character prepended.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant