this post was submitted on 05 Aug 2023
423 points (100.0% liked)

Technology

1088 readers
4 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
top 26 comments
sorted by: hot top controversial new old
[–] aport@programming.dev 50 points 2 years ago (12 children)

Alternatively you can use and support a true community-driven editing environment dedicated to preserving your freedom, like vim/neovim or emacs.

[–] I_like_cats@lemmy.one 45 points 2 years ago (2 children)

But that's something new to learn and configure. I just want to code why should I spend my time learning another text editor when vscodium is fine

[–] nonearther@lemmy.ml 13 points 2 years ago (1 children)

Who doesn't want to go through learning of text editor and pain of configuring instead of actually coding?

[–] Appoxo@lemmy.dbzer0.com 2 points 2 years ago

Well...obviously them.

[–] exu@feditown.com 3 points 2 years ago

Well, if you learned emacs, you could do everything in it and won't have to change ever again! /s kinda

[–] Parsnip8904 10 points 2 years ago (1 children)

lapce is a vscode replacement that has all the sugar that people love and it's blazingly fast. It's still in alpha but I'm very hopeful for it's future.

[–] NixDev@programming.dev 8 points 2 years ago (1 children)

I have looked at lapce and I am hopeful it will mature enough to replace vscode. I haven't had the time to see if it works enough to replace vscode for my daily work, but I am planning on trying it again soon.

Fleet seems promising but not sure how I feel about another JetBrains editor.

[–] Parsnip8904 1 points 2 years ago (1 children)

Glad you liked it :) It still has issues but the development is happening at breakneck pace. I'm planning on daily driving it once it goes beta.

I also have conflicting feelings about jetbrains IDEs. Does fleet have a community edition? I use pycharm sometimes but also hate it sometimes.

[–] NixDev@programming.dev 2 points 2 years ago (1 children)

Right now fleet is basically a community edition. They had stated there will be a paid version. So I am wondering how many features will be locked behind a paywall. Hopefully they have all the features from the beta available and just add some enterprise features to the paid version.

I really miss atom, would have been great if MS didn't kill that project. It would be interesting to see how it would have compared to code.

[–] Parsnip8904 1 points 2 years ago

Hopefully it'll stay that way. Otherwise there is EAP I suppose. That's what I do with webstorm.

For me it's Sublime text. It's blazingly fast and robust, but because it isn't as popular as code and not open, there aren't as many plugins. I honestly think that if it had been opensource, it would have captured the market share that vscose holds now.

[–] BloodForTheBloodGod@lemmy.ca 4 points 2 years ago

Emacs isn't super great for C#. The language server is a bit hit and miss.

[–] csolisr@communities.azkware.net 2 points 2 years ago

Personally though, I use Kate. Ain't got time to learn new keybindings

load more comments (8 replies)
[–] wesker@lemmy.sdf.org 22 points 2 years ago (2 children)

Am I correct that you also don't get access to the extensions marketplace, though?

[–] Solaris1789@jlai.lu 35 points 2 years ago
[–] jackpot@lemmy.ml 8 points 2 years ago (1 children)

hit or miss but many of the popular ones work

[–] wesker@lemmy.sdf.org 10 points 2 years ago* (last edited 2 years ago)

I tried it a few months back, and unfortunately the free marketplace didn't have a number of extensions that make or break VS Code for me.

I settled on relying on my pihole to block as much M$ telemetry as I could.

[–] Gargari@lemmy.ml 6 points 2 years ago

Is there firefox based vscode? (JOKE)

[–] Contend6248@feddit.de 5 points 2 years ago (1 children)

Sadly with much less extensions, i use it just to compile and flash my marlin 3D printer and every extension needed has to be set up manually, for some reason even then i can't get it to work.

[–] elfahor@lemmy.blahaj.zone 4 points 2 years ago

You can change your product.json to gain access to the Microsoft extension repositories. I still don't do it because fuck ms, for the few extensions that I do need I download them as .vsix on the web frontend.

[–] Gargari@lemmy.ml 2 points 2 years ago

What you think Tauri's potential in cross-platform ui like editors development?

[–] kyub@discuss.tchncs.de 1 points 1 month ago

As others have mentioned there are unfortunately issues in detail when using an inofficial version of VSCode and even more issues when using the original VSCode of course. I get that it's currently the most popular code editor but it's really not recommended to use it. It's kind of painfully obvious that Microsoft is driving the development of VSCode, and MS is simply not your friend. Not even when it gives you a permissively-licensed open source tool. It's still kind of poisoned albeit at a low dosage, making it hard to detect. The type of poison we're talking here are opt-out (if you're lucky) telemetry (of course!), features or extensions which are ONLY compatible with the OFFICIAL build of VSCode so you can't 100% work around VSCode's issues by "being smart" and using a better-preconfigured inofficial build, and as an Electron-based application it's very bloated and prone to security issues. And, of course, Microsoft steers its development so it may at any point introduce additional anti-features (which is likely, since this is MS we're talking about here) and also steer its users away from using inofficial builds which might in theory fix some of those anti-features. It smells, and it's not a particularly smart long-term time investment option.

My recommendations are:

If you want another relatively easy option learn the Vim keybindings (not that hard) and then use Neovim or NVim or however it's called officially. It can be made into a full-fledged IDE with tons of modern features including LSP and Treesitter quite quickly and painlessly. As a bonus you become familiar with Vim which is present on basically all Linux/Unix/*BSD based operating systems on the planet, so it's useful to know its basics.

If you don't mind the harder but more rewarding option, learn and configure Emacs (maybe start with Doom Emacs, it's easier at the start and uses the Vim keybinds by default). Some other "starter kits" or "distributions" exist as well of course, e.g. Bedrock or Crafted Emacs. Emacs can do literally everything and more, it just needs a lot of time to tweak it, it uses a weird language, and the learning curve at the very start is basically a straight wall into the sky including an overhang. But once you've climbed that, it's an amazing tool for life, going beyond just code editing. Emacs has been around ~40 years and is even growing stronger recently so it's rock solid and highly dependable, a real tool for life. Also it's community-maintained, GNU-backed FOSS without weird drawbacks. Since its default keybinds (as well as many other defaults) are ancient (terrible) you should either customize them in various possible ways or use evil-mode which allows you to use basically all of Vim's keybinds inside Emacs as well.