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

Feature Request: GoLang Support #2

Open
TechDufus opened this issue Aug 10, 2023 · 1 comment
Open

Feature Request: GoLang Support #2

TechDufus opened this issue Aug 10, 2023 · 1 comment

Comments

@TechDufus
Copy link

No description provided.

@laureanray
Copy link
Contributor

It might be tricky to implement this in Go partially because of Go's variable declaration syntax.

For example:

package main

func main() {
    var a = 2
//        ^- we would ideally insert here
// but what if we want something like this
    var result int 
//            ^- the moment we press space it would insert `=` automatically
// which might be annoying if that's not what you want 
//  var result =
}

If we used a query to match the first one, it would be annoying if we want to just declare a variable (without initializing)

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