Re:Show HN: Ki Editor - the multicursor syntactical editor
by hou32hou on Tuesday September 10, 2024 @07:04PM
(#41506537)
Multi-cursor, yes; structural selection, not so much, they are more like an afterthought for most editors, there’s a big difference between being treated as first-class and second-class.
[ Parent
| on HN ]
Re:Show HN: Ki Editor - the multicursor syntactical editor
by yencabulator on Tuesday September 10, 2024 @07:17PM
(#41506620)
Can you describe what you think is the difference between Ki and the syntax tree based selection expanding that's been available in emacs for probably a decade or more?
Re:Show HN: Ki Editor - the multicursor syntactical editor
by hou32hou on Tuesday September 10, 2024 @09:30PM
(#41507335)
Do you mind sharing the Emacs package that does "tree based selection expanding" so I can better highlight their differences?
Re:Show HN: Ki Editor - the multicursor syntactical editor
by yencabulator on Wednesday September 11, 2024 @10:35AM
(#41511776)
I haven't been active in Emacs world for a couple of years, but https://github.com/magnars/expand-region.el has been there for a while. I think the new code is right in lsp-mode and called lsp-extend-selection.
VSCode has "Expand Selection".
Mathematica has ctrl-. (http://xahlee.info/emacs/emacs/syntax_tree_walk.html)
Zed has "select enclosing symbol" but that seems to jump to function level expansion immediately, I didn't see anything more gradual there.