VS Code

1055 readers
1 users here now

founded 2 years ago
MODERATORS
26
27
28
 
 

If I open a text file that needs root privileges to modify, I get this error:

Failed to save 'this_file': Insufficient permissions. Select 'Retry as Sudo' to retry as superuser.

That's fine, that's expected.

But when I click on "Retry as Sudo", I get this error:

Failed to save 'this_file': Unable to find pkexec or kdesudo.

This happens though pkexec is installed on my machine, at /usr/bin/pkexec; and I granted VSCodium access to it through Flatseal. How do I fix this?

29
7
submitted 9 months ago* (last edited 9 months ago) by neme@lemm.ee to c/vscode@programming.dev
30
 
 

I made this because I started using Codium but wanted to use an extension that didn't have an OpenVSX equivalent and found out MS removed the VSIX download buttons on the marketplace site.

This should also work for Code-OSS and the MS VS Code. You can also just use it to only download the VSIX files so you can keep them locally for future use or take them to another computer that does not have internet connection for whatever reason to install there.

It will also check for dependencies and download them if you don't already have them installed.

At the moment it only downloads the latest versions of an extension.

Sharing because I imagine I'm not the only one with this issue.

31
32
18
submitted 9 months ago* (last edited 9 months ago) by neme@lemm.ee to c/vscode@programming.dev
33
21
submitted 9 months ago* (last edited 9 months ago) by neme@lemm.ee to c/vscode@programming.dev
34
35
36
7
submitted 10 months ago* (last edited 10 months ago) by eager_eagle@lemmy.world to c/vscode@programming.dev
37
 
 

found this in an extension description today:

Why not use the Dev Containers from VS Code? Because Microsoft Devcontainer is a proprietary extension incompatible with VS Codium.

Why it is not on VS Code Marketplace? Because Microsoft is a VS Code gatekeeper and won't allow anyone to publish an extension if it uses Proposed API. Except Microsoft and its "partners", of course.

Meanwhile, these API are the only way to implement an extension like Open Remote SSH or Devcontainers.

Microsoft promises to allow everyone to use these API and publish extensions based on them in the future, once these API are "stable". But it's been many years since Microsoft first published an extension backed by a proposed API. It has also published many other extensions supported by the same API. However, the API is "unstable" and doesn't seem to be going to stabilise anytime soon.

38
 
 

If this issue gets 20 upvotes, the bot says it'll get added to the backlog to get fixed. Just posting it here to help it get some traction. We have ~40 days before it's simply closed.

Last month I posted this issue to the VSCode github about a bug where new instances of VSCode launched from a windows terminal fail to inherit the environment if VSCode is already running. I have to use Windows where I work and I often need different environments when working on different projects so I'd really like this issue to get fixed.

39
40
41
42
43
 
 
  • Find in Explorer - Quickly find files in the Explorer view with the improved Find control.
  • Source Control Graph - More filtering options and interactivity in the Source Control Graph.
  • Python test coverage - Run Python tests with coverage and get rich results in the editor.
  • ESM - Faster VS Code startup thanks to the migration to ESM.
  • Account preference - Specify which account to use for an extension.
  • Copilot in Native REPL - Get code completions and Inline Chat in the Native REPL.
  • Improved chat context - Drag & drop files or use IntelliSense for more relevant chat context.
  • Test environment setup - Get help with setting up a test framework for your workspace.
44
29
submitted 1 year ago* (last edited 1 year ago) by lens0021@lemmy.ml to c/vscode@programming.dev
45
 
 

Do you know the .vscode/tasks.json file? You can add it to your project, and @vscode will run your configured commands automatically when you open the project ✨

I use this for the Inertia Table so it starts the web server and Vite without me having to open terminals for them 👌

#Laravel #PHP #JS #coding

46
47
13
submitted 1 year ago* (last edited 1 year ago) by waterplants@lemm.ee to c/vscode@programming.dev
 
 
  • Default browser - Configure which browser to use for opening links in VS Code.
  • Revert PRs - Easily create a revert PR for a merged PR.
  • Extension updates - More easily configure auto updating of extensions.
  • Override profiles - Override an existing profile with the Profiles Editor.
  • Paste files in CSS - Quickly add CSS file references with paste or drag and drop.
  • Move Panel to top - Position the Panel section at the top of the workbench.
  • Copilot uses GPT-4o - GitHub Copilot Chat upgraded to OpenAI's GPT-4o.
48
49
 
 

Upvote the issue on Github if you want to see this feature added into VSCode.

50
view more: ‹ prev next ›