-
Notifications
You must be signed in to change notification settings - Fork 186
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
APIView: Cross-Language API reviews #4033
Comments
I think a way that would work is something like this: you start in the CADL view, you click on some definition, and a right-blade appears with a tabbed interface for each language. In each tab is a fully-fledged APIView, with the selected language-specific code highlighted. This will resolve issues with flicking between tabs, because we never leave the CADL review, and it also means we can see all associated code with the highlighting, even if it is in different parts of the review for each language. |
Small step in this direction: #4677 |
Phase 1 is complete. Phase 2 is planned for 1H Gallium |
For DPG generated libraries we need a way to review all the languages together with the Cadl/OpenAPI source used for generation in one ApiView review.
The Cadl/OpenAPI and each language should be shown in separate tabs and switching tabs should maintain context -- meaning that if the user is viewing a particular operation in Python and switches to the Cadl/OpenAPI tab, the content in that tab will be scrolled to the same operation as the Python tab.
We may also want special handling of comments, such as showing comments from all tabs in the OpenAPI/Cadl view (since presumably that's where the changes would be needed).
Tasks
The text was updated successfully, but these errors were encountered: