Skip to content
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

Tidy up everything to do with messages, commands and command providers #55

Merged
merged 3 commits into from
Jan 8, 2025

Conversation

davep
Copy link
Owner

@davep davep commented Jan 8, 2025

Move around and tidy up the code relating to messages, command messages and command palette providers. This PR doesn't make any significant changes to how this code works, it just breaks things down a little to help make it easier to navigate and maintain, and also improves the naming somewhat.

davep added 3 commits January 8, 2025 12:30
There are some messages that are system-wide but which don't really have a
command (in the command palette and key binding sense), so rather have them
typed as a Command but with no other information added, fall back to doing
them just as a Message.
What was the commands directory becomes the providers directory (the
providers of commands for the command palette). What was (mostly) the
messages directory gets turned into the commands directory; this is now
where command messages are defined.

Those messages that aren't "command messages" remain where they were.
@davep davep added the Housekeeping General codebase housekeeping label Jan 8, 2025
@davep davep self-assigned this Jan 8, 2025
@davep davep marked this pull request as ready for review January 8, 2025 16:58
@davep davep merged commit 8cf79c4 into main Jan 8, 2025
4 checks passed
@davep davep deleted the tidy-commands branch January 8, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Housekeeping General codebase housekeeping
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant