Questions tagged [visual-studio-code]

For questions about using the macOS version of Visual Studio Code, an open source text editor available for macOS, Linux and Windows.

40 questions
82
votes
3 answers

How do I sync the Visual Studio Code (vscode) theme to use my OS light/dark color scheme?

MacOS now supports both "Light" and "Dark" mode (found in "System Preferences", "General", "Appearance"). How can I make VS Code automatically change it's theme to be light or dark, when I change my MacOS "Appearance"?
JBallin
  • 9,512
  • 9
  • 37
  • 73
48
votes
1 answer

Unable to add Visual Studio Code app's icon to macOS Dock

I had Visual Studio Code app's icon in my Mac's Dock before, but I can't put it there again. I tried dragging and dropping the app bundle from the /Applications folder, but the icon doesn't land in the Dock. Have I accidentally banned Visual Studio…
Brainmaniac
  • 1,447
  • 3
  • 12
  • 14
37
votes
9 answers

VS Code - Code Helper process using more than 100% CPU on macOS

I noticed that my MacBook gets hot and noisy (fans) when using VS Code (v1.31). The Activity Monitor shows the process Code Helper using more than 100% of CPU. It started happening with one repository which is huge. Only one window opened, no files…
Manasés Jesús
  • 561
  • 2
  • 6
  • 11
24
votes
7 answers

M1 mac: mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e') - python

When I try to run "scrapy startproject" in vscode, below error comes up. Traceback (most recent call last): File "/Users/admin/Desktop/development/project/scrapyTutorial/venv/bin/scrapy", line 5, in from scrapy.cmdline import execute …
Ryan
  • 343
  • 1
  • 2
  • 5
8
votes
2 answers

How can I make ctrl+right/left arrow jump words in Visual Studio Code

My fingers are programmed to use ctrl+right arrow to jump a word forward, ctrl+left arrow to jump a word back, in Terminal. I have disabled Mission Control. I can not figure out how to get this functionality in Visual Studio Code's Integrated…
Eric Pardee
  • 131
  • 2
  • 6
7
votes
2 answers

Visual studio Code maxs out my CPUs even when its just open

I have been learning python using VScode. I've noticed recently that as soon as I start VScode my CPUs get maxed out and my whole computer is sluggish. When I run the activity monitor I see as many as 5 rg processes running and up to 4 'Code Helper'…
Natsfan
  • 13,618
  • 5
  • 36
  • 69
4
votes
1 answer

Can't kill frozen Visual Studio code on mac

Somehow My visual studio code froze when It was idle for some time and I was using my Injellij application. When I found, I tried quitting the application by doing right +click on visual studio code icon and quit- nothing happened. Then I tried…
Arun Chouhan
  • 41
  • 1
  • 4
4
votes
2 answers

Does VSCode have Full Disk Access via Terminal?

I can use the terminal in VSCode and the terminal has Full Disk Access, so does VSCode have Full Disk Access? Can VSCode and extensions run terminal commands?
TNKYM
  • 105
  • 4
4
votes
2 answers

How do I solve the problem of “invalid active developer path” when attempting to use Git on VSCode

How do I fix this issue while on VS Code? xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun I've updated my bash profile
Manel Ariapala
  • 41
  • 1
  • 1
  • 2
2
votes
0 answers

VS Code doesn't find fish if called via Automator

I've using /usr/local/bin/fish as my default shell, which works fine both in Terminal and in the Terminal within VS Code. I was recently trying to add an Automator action to open VS Code from a given file path by using a simple Automator workflow…
Raydot
  • 150
  • 6
2
votes
1 answer

How to run VSCode Integrated Terminal in x86_64 on Apple M1 (arm64)?

VSCode now has an arm64 version, problem is there are still a lot of command-line developer tools that are using x86_64 architecture. At the moment there doesn't appear to be a plugin or preferences to load the Integrated VSCode Terminal in a…
sonjz
  • 509
  • 1
  • 3
  • 11
1
vote
0 answers

Can't write "#" symbol in VS Code on macOS

In Visual Studio Code, all characters and symbols work without problems except #. I tried all keyboard keys, SHIFT+3 OPTION+3 etc.; none work, the problem is only with VS Code. No other programs have problems; please take a look at this short…
Akar Jaza
  • 11
  • 2
1
vote
2 answers

Should I downgrade my MacBook Air 2017?

I recently found my MacBook Air 2017 becomes slower after upgrading it to the latest macOS. And, now it's too slow when I write code in vsCode and if I switch screens then it's laggy sometimes. I have already tried to upgrade vsCode & macOS also…
1
vote
1 answer

Overlapping of shortcuts in macOS for VS Code and Evernote

CommandShiftF is a shortcut that I use widely in VS Code and Evernote for search. Behaviour in VS Code: Behaviour in Evernote: The Problem. If both apps are opened, when I press CommandShiftF in VS Code, it switches to Evernote automatically and…
1
vote
1 answer

Force every app to reopen in the same desktops where it was before restarting Macbook

Because of a nasty bug in my Macbook pro 2019 with MacOS 10.15.7, it sometimes happens that my Macbook restarts by itself. This is not a big deal usually because almost every app restarts exactly where I left it before the restart but some of them…
1
2 3