Support overriding lint panel UI #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Additional background here
I'm from Replit, and we're interested in extending the lint panel to support our own custom UI and component library. We've done this in the past with search (supported by this commit), and I tried to mimic that behavior here.
I tested this change through the following:
/demo/demo.tsto use the new changes:Cmd + Shift + M:https://user-images.githubusercontent.com/16962017/214962040-41a65e8b-37bb-48eb-be77-ca3b58786301.mov
createPaneloverride, and the default still worked as intended:https://user-images.githubusercontent.com/16962017/214962029-348ac888-be81-4174-8aec-0e87a8d3b161.mov
Definitely open to feedback or suggestions here! I'd be interested in also adding:
Cmd + Shift + Mto "toggle" lint pane from current state, rather than just open it.Thanks!
Would adjusting your keymap to not use the built-in
openLinePanel, and just using a custom commands that opens a panel entirely managed by your extension work for you?That would likely work, you're right. I'll try it. Thanks!
Pull request closed