Posts by angelixd@mastodon.social
(DIR) Post #AVMijheUf7iMjTgVsG by angelixd@mastodon.social
2023-05-05T23:14:53Z
0 likes, 0 repeats
I noticed someone using VSCode (I think) highlight a variable name and open multiple cursors. He renamed it, but there are multiple options. I am sure this is possible in #emacs with a combination of embark and multiple-cursors, and maybe some help from expand-region?
(DIR) Post #AVMijjQ25rKsDCvzc0 by angelixd@mastodon.social
2023-05-06T01:32:39Z
0 likes, 0 repeats
@acowley I would prefer that too! Do you know if anyone has something like that working, or am I going to have to start hacking eglot?
(DIR) Post #AVMijjR61uBcGVQqGm by angelixd@mastodon.social
2023-05-05T23:17:10Z
0 likes, 0 repeats
However, I recently switched from ruby-electric-mode to ruby-ts-mode and the expand-region functionality has noticeably deteriorated, which if expand-region is relying on the mode's AST of the buffer, then ruby-ts-mode needs more robust representation. Which makes sense, it is a very new mode.
(DIR) Post #AVMijlW8I9P4ihntOi by angelixd@mastodon.social
2023-05-05T23:18:05Z
0 likes, 0 repeats
So yeah, time for figure out which yak (gnu?) I want to shave.
(DIR) Post #AVOFVIzj26etqkJmBE by angelixd@mastodon.social
2023-05-06T04:13:38Z
0 likes, 0 repeats
@acowley @hochata Ah yeah, that is a good reason to do something tree-sitter-based; that way you only have to rely on the major mode and not on the app itself being configured. I use solargraph (ruby) and support for that is still experimental