3 ms·
Not really due to the fundamental difference between Lisp and JavaScript syntax. You could borrow the idea of indentation inferring function scope structure an
by chrisoakman 11y ago
Not really due to the fundamental difference between Lisp and JavaScript syntax.
You could borrow the idea of indentation inferring function scope structure and make a plugin that would modify JavaScript syntax accordingly, but I'm not sure that would even be desirable when writing JavaScript.
Parinfer is made possible by Lisp's unique syntax.
- lemming 11y agoCheck out Kent Beckman's Prune for ideas along this line: https://www.facebook.com/notes/kent-beck/prune-a-code-editor-that-is-not-a-text-editor/1012061842160013 https://www.facebook.com/notes/kent-beck/prune-a-code-editor.... It's not quite the same since it's more like an enforced paredit, but it contains a lot of similar ideas and also enforces indentation.