6 ms·
I badly want to use intellij for Rust and other languages. But the issue I smash up against is that years of Vscode + my customizations has made using any other
by Waterluvian 7y ago
I badly want to use intellij for Rust and other languages. But the issue I smash up against is that years of Vscode + my customizations has made using any other editor terribly clunky.
I can spend hours customizing the controls and UI but I still feel like someone handed me the keys to some old car made in a country that doesn't exist anymore.
This in part revealed to me the cost associated with all the editor customizations I make. Default settings are nice that way.
- sombremesa 7y agoOh boy. This is how I feel any time I touch a coworker's computer to try and peer program or help them out. I have so many shortcuts (Keyboard Maestro), workflows (Alfred 3), keybinding changes (Karabiner), and utility programs (Amethyst, Spectacle) on top of this IDE thing (I use intelliJ and coworkers use VSCode) that I immediately press a bunch of keys (out of muscle memory) and invariably something completely unexpected happens. It's super frustrating - but I doubt anything can be done about it other than sticking to my machine.
- bonestamp2 7y agoIf you pair program a lot you could export your Intellij settings and switch to that profile when you're on their machine. But it sounds like that only handles some of the changes that you'd need (you could move any of your Intellij related key bindings from Karabiner into Intellij to get a little closer).
- sombremesa 7y agoNot sure IntelliJ can handle key mapping the same way as Karabiner - for example, my right option key (only the right one, not the left) is mapped to command + space. Good tip nevertheless!
- bonestamp2 7y agoYa, fair enough... I too have some Karabiner mappings that can't be done in IntelliJ. If you're serious about it, another option could be to get a programmable keyboard so many of the keybindings are right in the keyboard and you could just plug your keyboard in to the other person's computer.
- lowercased 7y agoperhaps at some point IntelliJ/JB will offer the 'live share' functionality vscode has had for over a year. live edit someone else's project on your computer with your editor/keybindings/etc. or you could switch to vscode for the times when you want/need to assist them.
- crazysim 7y agoThey're teasing something about this for H1 2020. I am really looking forward to it.
- hprotagonist 7y agoThis is why we have dotfile repos. i’m like 60% sure that this is why nixOS was born at all: some very dedicated emacs or vim user got so fed up with moving configs around that they built an entire package manager/distro/thing to solve their config issue for all time.
- zenhack 7y agoExcept that Nix doesn't manage your home directory! (though some folks have put together some less-than-prime-time solutions). That's actually something that's a major hole for me; it would be like twice as useful if it did. But yeah, my solution is just: https://github.com/zenhack/vim-config https://github.com/zenhack/vim-config
- braindongle 7y agoCan anyone comment on the state of Vim emulation in Vscode? I'm in Android Studio largely because of its support for my .vimrc, without which I can not live. But I see[1] that there have been recent commits related to this in Vscode. How good is it? Other thoughtful comparisons between life in JetBrains world vs Vscode welcome as well. [1] https://github.com/VSCodeVim/Vim/commit/3158194561fa2fba921be4bd420acda4322316b4 https://github.com/VSCodeVim/Vim/commit/3158194561fa2fba921b...
- big_chungus 7y agoVim support is still pretty meh, though better than some others. The onivim guys are still plugging away at libvim [0], and I'm really hoping once it's stable, someone integrates it with vscode and other editors. [0]: https://github.com/onivim/libvim https://github.com/onivim/libvim
- mffnbs 7y agoI use both and have contributed to the IntelliJ extension. I haven’t noticed any functional difference between the two extensions and they both fit all my use cases.
- braindongle 7y agoUpdate: Curious, I took Vscode for a spin again and installed the latest Vim plugin. Although .vimrc keybinding support is supposed to be there, I'm getting no love. So new ticket for the maintainers [1]. The thing is Vscode is SO snappy and slick, I'm going to switch anyway :) [1] https://github.com/VSCodeVim/Vim/issues/4384 https://github.com/VSCodeVim/Vim/issues/4384
- rjblackman 7y agoover the years, i've learnt that learning to work with vanilla vim commands is the best way to go. any editing plugin feature is just an extra command character or two away if you know the basics very well. this means i am instantly productive in any ide that has a vim plugin. in fact i'd extend that to bash as well. i only use very minimal configuration these days.
- grogenaut 7y agoare you really writing that much code where a 20% (actual, and I'm going to guess to you it's a 100% percieved) slow down is going to make you get fired? Or think of it another way, why are you only able to work in optimal environments, and is that the real benefit you provide? Are you going to get laid off if you aren't fully optimal? If you switched keyboard layouts would you lose this speed too? Can you afford to make ANY changes at all if this is your criteria? After having to code about 80 java file application on a data center pull out crappy laptop screen with a jacket with just notepad and javac over a few days I just use the defaults on everything or settings that are one change away (like eclipse mode in intellij which is a meta setting like vim mode). Other than that I just adapt and never customize. This lets me use other people's computers easily, use many different OSes (I write software that enables the rest of my company so I write for what they use on what they use), and editors with little issue. I can also setup a computer in about 20 minutes. I find that the majority of my time these days is deciding what we should be doing and how. The time to write the actual code is pretty minimal. So I ask again are you optimizing for the right thing here? Unless you are constantly re-enacting the scene from Swordfish I don't think you are.
- haolez 7y agoFormer Emacs user here. I've been doing the same: stick with the defaults as much as possible and adapt. This brought nice additions to my workflow, like multi-cursor editing, which I didn't use in Emacs because doing regexes was my way of solving these problems. PS: I'm pretty sure that Emacs must have a multi-cursor mode somewhere :)
- hprotagonist 7y agohttps://github.com/magnars/multiple-cursors.el https://github.com/magnars/multiple-cursors.el of course it does. in action: https://www.youtube.com/watch?v=jNa3axo40qM https://www.youtube.com/watch?v=jNa3axo40qM
- iLemming 7y agoEmacs doesn't just have multi-cursor, it provides multiple ways to do that, there's iEdit, there's also ahs-edit-mode.
- echelon 7y ago> use intellij for Rust Use CLion instead of IntelliJ. It has much better debugging support. I've used both VSCode and CLion quite a bit for Rust, and I prefer CLion. It's got a much better understanding of the language.
- Waterluvian 7y agoForgive me but aren't they just identical apps? I swear I thought they were all the same base program with a different set of plug-ins. And you could basically make any of them behave like any of them.
- echelon 7y agoNo, they are surprisingly not! IntelliJ doesn't have the debugging support CLion does and won't let you set breakpoints across language boundaries. IntelliJ also sucks for Ruby and Go compared to RubyMine and Goland. Even with the language plugins.
- Waterluvian 7y agoNo wonder I couldn't set breakpoints. Going to try again with CLion then. Thanks for sharing!