godot
godot copied to clipboard
Parameter names aren't taken into consideration with `capital` setting
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.
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.