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

Parameter names aren't taken into consideration with capital setting #28

Open
chrisdoherty4 opened this issue Nov 2, 2022 · 1 comment

Comments

@chrisdoherty4
Copy link

Its reasonably common to write comments that reference parameter names. Sometimes they're the first word, sometimes they aren't.

Example

// Foo takes a bar. bar should be formatted ...
func Foo(bar string) {}

When title case is enabled it doesn't make any exceptions.

@chrisdoherty4 chrisdoherty4 changed the title Parameter names aren't taken into consideration Parameter names aren't taken into consideration with capital setting Nov 2, 2022
@tetafro
Copy link
Owner

tetafro commented Nov 3, 2022

Good idea, thanks.
Currently godot doesn't have any information about code outside comments, and Go doesn't provide any easy way to get it. So I'd say don't expect this feature any time soon.

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

No branches or pull requests

2 participants