-
Notifications
You must be signed in to change notification settings - Fork 323
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
Fix atom types in dropdowns. #7670
Conversation
This reverts commit b218697.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see all consequences, but If the fix works, then fine. Thanks for the suggestion DB debugging shortcut.
Co-authored-by: Jaroslav Tulach <[email protected]>
app/gui/view/src/project.rs
Outdated
@@ -795,7 +799,7 @@ impl application::View for View { | |||
(Press, "", "cmd alt p", "toggle_component_browser_private_entries_visibility"), | |||
(Press, "", "cmd s", "save_project_snapshot"), | |||
(Press, "", "cmd shift r", "restore_project_snapshot"), | |||
(Press, "", "cmd z", "undo"), | |||
// (Press, "", "cmd z", "undo"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented shortcut. Quite important, I'd say.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, good catch. It was left after debugging.
Yep, there was an issue tracked in #7674. Fixing that issue should (I think) fix the booleans automatically. If not, we will handle it in a separate task. As for debug shortcut, it only works with the CB being opened (not the best UX), perhaps this is the reason. |
Pull Request Description
Fixes #7468
The fix is pretty simple: we reuse the existing functionality for importing stuff and generating expressions. It fixes issues with
Nothing
orReport_Unmatched
types.Kapture.2023-08-28.at.14.26.04.mp4
While debugging, I found it easier to work with a suggestion database when exported to some external format. Hence, I implemented serde serialization support for database entries and also a new debug shortcut ctrl+shift+u to dump all entries to the console.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
./run ide build
.