Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Differentiate between methods and functions #157

Open
warpkanal opened this issue Oct 24, 2018 · 0 comments
Open

Differentiate between methods and functions #157

warpkanal opened this issue Oct 24, 2018 · 0 comments

Comments

@warpkanal
Copy link

I initially filed this issue against vscode microsoft/vscode-go#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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants