4 ms·
The features I've always dreamed about from an AST aware editor was shell-like functionality where operations to rename, move, copy, create, etc were akin to fi
by catskul2 5y ago
The features I've always dreamed about from an AST aware editor was shell-like functionality where operations to rename, move, copy, create, etc were akin to file manipulations done on the command line. At one point I was thinking about the possibility of FUSE-ifying(https://en.wikipedia.org/wiki/Filesystem_in_Userspace https://en.wikipedia.org/wiki/Filesystem_in_Userspace) some code so that a normal shell could be used. Any chance of shell-like functionality from treefrog?
- gushogg-blake 5y agoInteresting! Yes, one of the main things I'm doing at the moment is thinking of and prototyping new commands and ways to represent code. I like the shell idea.
- gushogg-blake 5y agoSo things like classes and functions would be represented as files within a dir representing the actual file?
- catskul2 5y agoYeah! I think the difficult part of this idea though is maintaining/moving the necessary dependencies, or at least keeping track of them to warn that they're no longer satisfied. In many cases it probably requires awareness of packaging in a way that normal AST manipulation does not, at least to be particularly useful it would.
- gushogg-blake 5y agoRight - this is where I would use an LSP server