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

Make the ”Infer parens from indentation” command more accessible #1126

Closed
PEZ opened this issue Apr 17, 2021 · 1 comment
Closed

Make the ”Infer parens from indentation” command more accessible #1126

PEZ opened this issue Apr 17, 2021 · 1 comment
Labels

Comments

@PEZ
Copy link
Collaborator

PEZ commented Apr 17, 2021

Calva has a nifty command for infering brackets from indentation, which can essentially ”heal” a code structure after some unstructural edit like commenting out a bracket trail. We are using Parinfer for this, which makes it very accurate and powerful.

95422679-477A-4CCF-982C-563C0639FC83-80848-00016F51BA5D4545

However, we do not have a very nifty keyboard shortcut for it: ctrl+alt+f ctrl+alt+p, making it hard to use. On Slack it was suggested to use shift+tab. A neat balance is then achieved with the tab shortcut which indents stuff based on brackets.

@PEZ
Copy link
Collaborator Author

PEZ commented Apr 17, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant