4 ms·
I appreciate the info! Are you able to talk me through how to move a struct[class]?
by the__alchemist 8mo ago
I appreciate the info! Are you able to talk me through how to move a struct[class]?
- deleted 8mo ago[deleted]
- gigatexal 8mo agoI don't get the question. albeit in vim I use just the navigation things and selectors and s/../.. to replace stuff I am probably using something like 1% of it's power.
- the__alchemist 8mo agoI'm asking how to move a function, or class to a different module (including its methods, imports throughout the project etc), as an example of IDE-101 stuff I can't figure out how to do in Zed, and makes me think Zed might [i]not[/i] be a replacement.
- gigatexal 8mo agoAhh got it. Yeah im not sure but maybe there’s a discord or irc for folks to help with that who use zed. Even Reddit maybe?
- the__alchemist 8mo agoGood calls! I haven't fully wrung this out, and want to like Zed, especially on my tablet. (Not too fast, and uses battery)
- skydhash 8mo agoThat’s a code intellisense feature set, not part of the core set of an editor. Especially when you have dynamic module loading. An IDE only focus on a few languages and it makes sense for them to have that capability.
- scuff3d 8mo agoWith the kind of editor Zed is, just like VSCode and Sublime, it's not goong to provide that function natively. The mechanics of moving functions between class/modules/packages/whatever are too different language to language. So you'll need to rely on LSP plugins for the different languages. Or you could always use an actual IDE, but those are usually more language specific.
- kylecazar 8mo agoI installed Zed a few days ago and have been trying to get acquainted myself. It has far less built-in features for refactoring than other editors you might be coming from. It's handled at the LSP level, get the LSP for your language and hit cmd+ to see what it can do. I'm not working in Python or Rust at the moment (Elixir), but I'm sure they have some good extensions.