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

Update the commands sample to have 2 commands #491

Closed
wants to merge 2 commits into from

Conversation

gurjeet
Copy link

@gurjeet gurjeet commented May 6, 2022

Update the commands sample to have 2 commands

Before the change, the sample showed how to add one command, and how to
update it, reset it, and respond to it. But usually the extension
developer needs to configure more than one command, and the code was not
readily usable for such a need.

After this patch, the developer can easily see what are the different
places they need to make conditional decisions, to add a new command to
the extension.

This patch also includes some cosmetic changes, like wrapping the long
lines of the README.md, as intended by the authors of Markdown syntax.
If desirable, I can put such cosmetic changes in a separate commit.

Before the change, the sample showed how to add one command, and how to
update it, reset it, and respond to it. But usually the extension
developer needs to configure more than one command, and the code was not
readily usable for such a need.

After this patch, the developer can easily see what are the different
places they need to make conditional decisions, to add a new command to
the extension.

This patch also includes some cosmetic changes, like wrapping the long
lines of the README.md, as intended by the authors of Markdown syntax.
If desirable, I can put such cosmetic changes in a separate commit.
@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Jan 22, 2023
@github-actions github-actions bot removed the idle Issues and pull requests with no activity for three months. label Aug 8, 2023
@rebloor
Copy link
Collaborator

rebloor commented Aug 11, 2023

@gurjeet I've tested the update, and this extension no longer seems to work as expected, it doesn't pre-populate the existing value for shortcut one, and I am not able to register any new keyboard shortcuts. Could you also explain why you added the description fields? Also, please revert the changes to the readme file, there's no need to manually apply line wraps.

@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Sep 11, 2023
@rebloor
Copy link
Collaborator

rebloor commented Sep 13, 2023

This PR has been inactive for over a year. While the change may be helpful, there are issues in the code and further improvements are needed to achieve the intended goal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idle Issues and pull requests with no activity for three months.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants