Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide signature help inside callbacks #131

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

RblSb
Copy link
Member

@RblSb RblSb commented Oct 21, 2024

Solution for HaxeFoundation/haxe#11794, idk if it's better on ide level.

Example for testing:

class Main {
	static function main() {
		foo(0, (name, age) -> {});

		foo(0, (name, age) -> {
			final f = (a, b, c) -> {}
			f(1, 2, 3);
		});
	}

	/** Foo **/
	static function foo(
		a:Int,
		?cb:(name:String, age:Int) -> Void,
		?b:Int,
		?c:Int,
	):Void {}
}

@RblSb RblSb force-pushed the autoclose-signature-hints branch from 366fc67 to dbb7ef1 Compare October 28, 2024 16:47
@AlexHaxe AlexHaxe merged commit 900c057 into vshaxe:master Oct 29, 2024
2 checks passed
@AlexHaxe
Copy link
Member

thanks!

@RblSb RblSb deleted the autoclose-signature-hints branch October 30, 2024 08:27
@skial skial mentioned this pull request Oct 31, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants