-
Notifications
You must be signed in to change notification settings - Fork 144
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
Use @since tag in Protocol's Javadocs #537
Conversation
Is the semantics of |
the since relates to the lsp4k version, not the lsp version. maybe once we go over the 1.0 version we could use a naming scheme aligning with the lsp version like 3.17.1 but this would only work if we stay lenient with api breakages e.g. between a 3.17.0 and a 3.17.1 |
As far as I understand, it can be used for both, e.g. |
If we turn on API analysis (something we can be done once we are at 1.0???) then the Please also see #538 |
For the reference, https://docs.oracle.com/javase/7/docs/technotes/tools/windows/javadoc.html#since Even multiple
But how this all interacts with API Tooling needs to be investigated before this PR can be considered for merging. I'll try to do it and report here if there is some interest in considering this further. If not, please feel free to close. Probably, this was not my best idea. |
Please let me know what you find out about API tooling. I was very curious about how a non-Eclipse first project may use API tooling. From past experience I have found that unless API tooling is on, despite best efforts, projects break API compatibility/semantic versioning. |
Well, I have some good news and some bad news on this. The good news is that, generally speaking, Eclipse API tooling appears to be smart enough to work correctly with several The bad news is that it turns out that Eclipse API tooling is only for plug-in projects. I could find no way to enable it for LSP4J projects, sorry. Of course, without API tooling of some kind, However, regarding this PR, I would suggest to simply close it. When/if more clarity is gained, the work involved can be redone with minimal effort (the transformation is semi-automatic). Thank you all for the feedback. |
Having said this, Eclipse API tooling can still be useful for plug-in projects that use LSP4J such as LSP4E and LXTK. This needs to be taken into account. So this might not be correct in general:
|
Thanks @pisv for investigation and reporting back. |
No description provided.