atom / language-go

Go language package for Atom
Other
106 stars 58 forks source link

Differentiate between methods and functions #157

Open warpkanal opened 6 years ago

warpkanal commented 6 years ago

I initially filed this issue against vscode https://github.com/Microsoft/vscode-go/issues/1923 but understood that it's more a problem in the parser than in vscode.

I'd like to treat method vs. function invocations differently. This is for example possible in Goland: image Function invocations on some package (e.g. time.Now()) can be rendered differently than method invocations on some receiver e.g. (now.Day()). I find this quite helpful in distinguishing the two.

Would be awesome if the atom go parser would support this!