Parinfer

latest features memo

Hello, I'd like your feedback on these new experimental features!

Please try them below or in atom-parinfer under the Smart Mode setting.

Porting to other editors can begin after we address your feedback!

Smart Mode

It was difficult to remember when to switch between the different modes.

Indent code without disrupting structure below...

So now, indenting a line in the new Smart Mode will actively prevent any change in structure below it. Thanks Ryan!

...but you can still indent the old way.

You sometimes need to be able to correct the indentation of a line without regard to the incorrect structure following a bad copy/paste. Thus, you can still indent a line without preserving structure in Smart Mode by selecting the text you are indenting. Thanks Dominic!

Structural tab-stops to important points when pressing Tab or Shift+Tab.
Structural safeguards preserve structure below an edit (and waits on cursor to avoid aggression).
Compromise on imbalance by allowing unmatched close-parens (optional) when it is easier to get you want.