VS Code on openSUSE? (yes really)
All, I would never use such a thing, but given the frequency questions arise on StackOverflow regarding its use, I decided to see if I could install it on Leap. To my utter amazement, MS has a repo for openSUSE making it trivial to install the IDE. So I did. Works absolutely fine. (few rants about the tooty-fruity C/C++ syntax highlight colors aside) Yes, you have to opt out of usage statistics (I left the crash reporter enabled). They try and hook you again by suggesting you download and install the C/C++ extensions which automatically re-enables usage stats, but you can just write a tasks.json file to build C/C++ without it. I spent about an hour with the settings (there are many, but no way to change the syntax colors). The have the nice mini-map like kate/kwrite in plasma (that gets a Meh... in usefulness, but you can patterns in your code and jump easily with it -- that was about the only use I found for it, even in sources with thousands of lines -- crayons issue) Nothing will ever beat kate/kwrite as simple code editors. I'll use them both in plasma, but prefer the KDE3 versions of both. Once you have learned the shortcuts (at least in the KDE3 version -- for the most part unchanged in plasma), all other shortcut key layouts just seem horrible inefficient by comparison... So bottom line, if you like VS Code and wish you had it on openSUSE, well it's as simple as go to the download page, configure your "code" repo per the instruction on the page, import the gpg key (kudo for the security), and then zypper in code done.. a 94M download and about 250M full install. Even with the "nanny" feature rich environment it has, it is kitten-light on CPU usage (compared to something like TI CCS which is implemented through chrome). So there you go, my $0.02 review. -- David C. Rankin, J.D.,P.E.
Hi David, yes the install works fine and it's nice that MSFT offers a repository for openSUSE. I use it daily for my C++ development work. The nicest feature is actually that you can work on a corporate windows machine but connect to a ssh backend on my virtual opensuse development machine. Or connect to WSL or connect via ssh to my remote opensuse "embedded" device. It has nice syntax highlighting (you can change it CTRL+K CTRL+T or left menu and 'colors' or something, mine's in German), C++ autocompletion and cmake integration. And the task definition is also nice (but cumbersome to configure imho). All in all, i think its nice that they have an option for openSUSE here. Aside from the configuration it is as easy to install as emacs (and also eats your RAM, so feeling right at home there). Cheers, Bernd Am 21.04.21 um 07:55 schrieb David C. Rankin:
All,
I would never use such a thing, but given the frequency questions arise on StackOverflow regarding its use, I decided to see if I could install it on Leap. To my utter amazement, MS has a repo for openSUSE making it trivial to install the IDE. So I did. Works absolutely fine. (few rants about the tooty-fruity C/C++ syntax highlight colors aside)
Yes, you have to opt out of usage statistics (I left the crash reporter enabled). They try and hook you again by suggesting you download and install the C/C++ extensions which automatically re-enables usage stats, but you can just write a tasks.json file to build C/C++ without it.
I spent about an hour with the settings (there are many, but no way to change the syntax colors). The have the nice mini-map like kate/kwrite in plasma (that gets a Meh... in usefulness, but you can patterns in your code and jump easily with it -- that was about the only use I found for it, even in sources with thousands of lines -- crayons issue)
Nothing will ever beat kate/kwrite as simple code editors. I'll use them both in plasma, but prefer the KDE3 versions of both. Once you have learned the shortcuts (at least in the KDE3 version -- for the most part unchanged in plasma), all other shortcut key layouts just seem horrible inefficient by comparison...
So bottom line, if you like VS Code and wish you had it on openSUSE, well it's as simple as go to the download page, configure your "code" repo per the instruction on the page, import the gpg key (kudo for the security), and then
zypper in code
done.. a 94M download and about 250M full install.
Even with the "nanny" feature rich environment it has, it is kitten-light on CPU usage (compared to something like TI CCS which is implemented through chrome).
So there you go, my $0.02 review.
-- David C. Rankin, J.D.,P.E.
Hi, Am 21.04.2021 um 07:55 schrieb David C. Rankin:
done.. a 94M download and about 250M full install.
Even with the "nanny" feature rich environment it has, it is kitten-light on CPU usage (compared to something like TI CCS which is implemented through chrome). I have to agree. VScode, including extensions for docker and scripting languages, is easy to get and easy to work with. The only lockups I experienced were when containers went down/unavailable as vcode, at least on linux, seems not to be aware this can happen.
I use it a lot on all platforms linux, mac, windows, was a heavy kdevelop user before. -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
Yes, I found the repo when looking for a way to compile firmware for my Ender 3 3D printer. Mostly because of the seamless integration of this platformio thing - I failed on the manual install :( But I'm not using it for more than compiling. If I need to edit code files, I use my emacs, as for everything else :D I definitely do think it's an enritchment to have it available for those that want...
In addition to VS, there are: https://packages.microsoft.com/yumrepos/vscode https://packages.microsoft.com/yumrepos/ms-teams https://packages.microsoft.com/yumrepos/edge I use Teams a lot because it is how our company has set up meetings. While Edge does seem to work fine, I do not actually use it. On Thu, Apr 22, 2021 at 10:25 AM Peter Suetterlin <pit@astro.su.se> wrote:
Yes, I found the repo when looking for a way to compile firmware for my Ender 3 3D printer. Mostly because of the seamless integration of this platformio thing - I failed on the manual install :(
But I'm not using it for more than compiling. If I need to edit code files, I use my emacs, as for everything else :D
I definitely do think it's an enritchment to have it available for those that want...
-- Roger Oberholtzer
hi, Am 22.04.21 um 14:50 schrieb Roger Oberholtzer:
In addition to VS, there are:
https://packages.microsoft.com/yumrepos/vscode https://packages.microsoft.com/yumrepos/ms-teams https://packages.microsoft.com/yumrepos/edge
they also offer powershell and dotnet core and for powershell vscode is a good IDE -- Best Regards | Freundliche Grüße | Cordialement | Cordiali Saluti | Atenciosamente | Saludos Cordiales *DI Rainer Klier* DevOps, Research & Development
participants (6)
-
Bernd Ritter
-
David C. Rankin
-
Peter Suetterlin
-
Rainer Klier
-
Ralf Lang
-
Roger Oberholtzer