-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Thanks for the plugin. Can you please share steps how I can extend the plugin for golang.
I tried to read the readme but couldn't figure out exactly what is needed to add any new language support.
I tried to add below queries to identify simple functions and their parameters.
I have below simple code. I want to change order of parameters of the function A.
func A(p1 int, p2 string) {
fmt.Println("hello")
}
func main() {
A(1, "2")
}
(call_expression
function: (identifier) @function
arguments: (argument_list (_) @argument.inner)
)
(function_declaration
name: (identifier)
parameters: (parameter_list (_) @parameter.inner)
)
(call_expression
function: (selector_expression
field: (field_identifier) @method
)
arguments: (argument_list (_) @argument.inner)
)
I can see the popup and parameters are identified properly.

But when i Confirm in dialog nothing happens.
Metadata
Metadata
Assignees
Labels
No labels