by therealmarv · 9y ago · 0 comments
I still keep vim around for huge files though. I work daily with NASTRAN input and output files, routinely multiple 100 mb, sometimes multiple-gb. I edited a 10gb file earlier this week and vim didn't choke up too much. Best editor I've found so far for huge files.
That being said I've used PyCharm on a system with 2 GB memory before and that does work okay, you just need to make sure that no other memory-hungry apps run at the same time (browser, email, multimedia) and that the system itself doesn't use too much memory.
Well, for all of their benefits Electron apps in general have some hiccups on resource constrained systems.
Edit: realized you're probably talking about vscode, which is an electron app
But sometimes there are merge conflicts. I've settled for xpra and kdiff3 as the mergetool. I just can't handle the problem without a GUI tool.
Yeah, nobody does that. Well, nobody who has any kind of serious operation going on.
If you can't replicate a bug outside a production environment you have a serious deficit in the devops department.
You should be able to stage a machine with a copy of the production DB/data and the same reproducible package(code) that currently runs on your production systems.
Everything else is just an accident waiting to happen.
If I need to do something significant, i'll scp the file around. I know vim can edit over ssh, but I honestly never do.
I've never tried vscode, but I am tempted to try the remote support: https://github.com/DonJayamanne/pythonVSCode/wiki/Debugging-...
The base editor is open source but you can get the full PyCharm for $99 per year. Worth every cent.
Also, Visual Studio has been around since 1997 and there's no reason to assume, out of hand, that VSCode won't last as long, being both popular and Open Source.
I'm a Vim user, but cut the FUD.
In ubuntu it's file -> connect to server -> type in ssh://username@ip
That's it you are done. You can now browse the files as if they are local and use sublime/gedit/VSCode/Pycharm/whatever you want
sshfs -o Ciphers=aes128-gcm@openssh.com -o Compression=no -o reconnect \
-o modules=iconv,from_code=utf-8,to_code=utf-8-mac \
myremote:/somedirectory/ /mylocalmountdir