-
Notifications
You must be signed in to change notification settings - Fork 126
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
Suppressing deprecation warnings #384
Comments
Well, the plan is to remove comment-based annotations in the future. This is because it's not the best software engineering solution, and additionally, in the end, I want to use in kscript engine, which won't support such annotations anyway. |
I hope that by the time comment-based annotations are removed VSCode will have improved their handling of KScript files, but until then, being able to suppress the warning would be great. |
This type of annotation, which is used in kscript, is just normal Kotlin: |
I seem to have found a way of making the annotation style directives work in VSCode. It is here, if anybody finds this thread and wants to know. Thanks for not giving in, aartiPI. :-) |
I use comment directives instead of annotations -- //DEPS instead of @file:DependsOn -- in order to make kscript work better in VSCode. And now I get warning from kscript every time I run my scripts:
Any way of suppressing that?
The text was updated successfully, but these errors were encountered: