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

Add 'record' option to 'wrap' command #76

Merged
merged 3 commits into from
Mar 17, 2022
Merged

Add 'record' option to 'wrap' command #76

merged 3 commits into from
Mar 17, 2022

Conversation

tshino
Copy link
Owner

@tshino tshino commented Mar 17, 2022

Part of #33.

This PR adds a new recode parameter to the kb-macro.wrap command.
If the record parameter has a string value side-effect, the wrap command will enable side-effect detection to capture the effect of the target command instead while not appending the target command to the sequence.

This side-effect mode of wrap will be used for some special commands related to IntelliSense and snippet insertion to enable to distinguish the expected side effects of them from unexpected ones.

@tshino tshino merged commit f5a7c93 into main Mar 17, 2022
@tshino tshino deleted the wrap-side-effect-mode branch March 17, 2022 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant