-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Add annotation type autodetection #116
Conversation
Creates a new generate() type, `any`, which contextually adds an annotation by whichever matching type is first found in the tree around the cursor. So, if your cursor is in a function, it will annotate the function, if in a class or struct definition, it'll annotate that, etc. Co-authored-by: Sabu Siyad <hello@ssiyad.com> Signed-off-by: Sabu Siyad <hello@ssiyad.com>
c66e3d8
to
2c454f7
Compare
Hello, I had a quick look at the PR and thank you for your proposition ! One small thing though, i prefer |
I'd prefer |
I agree, then the semver version will need to update the major, because of possible backwards compatibility. I'm adding this to the commit |
@danymat cool. is there anything else I can help with, related to this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, I reviewed the code responsible for autodetection.
Sorry for the delay, life has been complicated these last months.
Thank's a lot for your PR, ping me for anything !
Regards
Signed-off-by: Sabu Siyad <hello@ssiyad.com>
Signed-off-by: Sabu Siyad <hello@ssiyad.com>
Signed-off-by: Sabu Siyad <hello@ssiyad.com>
Signed-off-by: Sabu Siyad <hello@ssiyad.com>
Hello, |
The honour is all mine. Thank you! |
ref: #74