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

Custom command completion #1360

Merged
merged 3 commits into from
Apr 19, 2020
Merged

Custom command completion #1360

merged 3 commits into from
Apr 19, 2020

Conversation

slideclimb
Copy link
Collaborator

Fixes #1359

Summary of additions and changes

  • Fix the completion inside parameters of custom commands.
  • Fix the insertion of a custom command, now also inserts {} for each required parameter.

How to test this pull request

\newcommand{\hello}[1]{hello #1}

\hello{\te<caret>}  % Auto completion list shows
\hell<caret>  % Use auto completion to insert \hello{<caret>}

@slideclimb slideclimb added this to the b0.6.10 milestone Apr 17, 2020
@slideclimb slideclimb self-assigned this Apr 17, 2020
@PHPirates PHPirates merged commit d4737a1 into master Apr 19, 2020
@PHPirates PHPirates deleted the custom-command-completion branch April 19, 2020 08:44
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.

Autocompletion missing in square/curly brackets after user-defined command.
2 participants