-
Notifications
You must be signed in to change notification settings - Fork 93
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
Epic: New Customizable Toolbar for Editors #2085
Comments
For now we'll leave the existing VSCode menu editor/title/run contribution as is, and focus on the new capabilities we require first. |
This can be broken down into a few different areas, which I can create issues for New editor menu action item types (UI components):
New extension API for adding the above action item types from an extension Creating a new location for these editor action items, within the editor breadcrumbs bar |
That's look amazing. I hope the feature will be soon considered to add for Positron |
We'll tackle Quarto's use of this new capability outside of this Epic, e.g. #3923 |
Verified FixedPositron Version(s) : 2025.03.0 (Universal) build 4 Test scenario(s)Tested the following editor action bar behaviors across multiple file types:
Link(s) to test cases run or created:Added: https://github.com/posit-dev/positron/blob/main/test/e2e/tests/editor-action-bar/data-files.test.ts |
We want to add a new customizable toolbar or "action bar" to an Editor, likely best positioned to the right on the same line as the breadcrumb below the tabs.
Given extensions will have requirements to add interactive controls, modify visual state and register event handlers, we expect this will require a new programmatic API (beyond simple contributions that you may see in package.json).
An early use of this capability will be to improve the user experience in Quarto to expose common preview and rendering commands to the end user, similar to the easy access provided for these functions in RStudio today.
The initial set of controls will need to include:
Extensions may also need to customize the state of these controls based on information in the file being edited.
Test Coverage
The following automated e2e tests have been created:
These tests cover editor action bar functionality across different file types:
The text was updated successfully, but these errors were encountered: