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 skeletons for types & statements (closes #31) #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smoeding
Copy link
Contributor

These skeletons insert common types and statements using mnemonic keybinding. The C-c C-t prefix is used for types and the C-c C-kprefix is used for keywords. Some of the statement skeletons (if, elsif, else & unless) wrap around the region if it is defined.
Turning an existing block of code into a conditional block of code is now an easy task with braces and indentation handled automatically.

@smoeding
Copy link
Contributor Author

Hmm, tests run on Emacs 24 and locally on Emacs 27 but not on Emacs 25...
I suspect this is due to bug #31950

These skeletons insert common types and statements using mnemonic
keybinding.  The "C-c C-t" prefix is used for types and the "C-c C-k"
prefix is used for keywords.  Some of the statement skeletons ("if",
"elsif", "else" & "unless") wrap around the region if it is defined.
Turning an existing block of code into a conditional block of code is
now an easy task with braces and indentation handled automatically.
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