This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
forked from nsf/gocode
-
Notifications
You must be signed in to change notification settings - Fork 87
Skip completions in comments #87
Comments
Would like to take a stab at this task 😅 |
@stamblerre Can you provide some pointers for @tohjustin ? |
@ramya-rao-a @stamblerre Here's my attempt in getting Do we want this as a default behavior for |
Sorry I wasn't able to give advice, but the PR looks pretty good. I'll add some comments there. Thanks for the contribution, @tohjustin! |
No worries, thanks for the quick response! 😄 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It is simple enough for editors to avoid calling gocode when inside a line comment and simple strings, but it gets complicated when inside a block comment or a multi-line string.
It would be great to have gocode avoid giving completions when inside comments and strings.
The text was updated successfully, but these errors were encountered: