Questions tagged [visual-studio-code]

Visual Studio Code is a cross-platform source code editor from Microsoft.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

PHP error with “logger.php” - Unknown: Failed to open stream: No such file or directory in Unknown on line 0

I'm using Visual Studio Code with PHP Server extension. When I try to launch my Web application, the browser shows me this message: Warning: Unknown: Failed to open stream: No such file or directory ...
-2
votes
0answers
30 views

Visual Studio Code [WSL] Unable To Find & Open

I'm using Visual Studio code with WSL to edit code in my WSL. I was unable to edit one single file. I found a person saying executing sudo chown -R sam /var/www/* & sudo chown -R sam /var/www/html/...
0
votes
0answers
88 views

What has caused the CTRL + x + e shortcut to stop working in the shell?

The CTRL+x+e keyboard shortcut allows you to open your favorite editor, as defined in the $EDITOR shell environment variable. This has stopped working for me recently, but I am not sure what changed. ...
0
votes
0answers
16 views

Visual studio and visual code and sublime can't display russian texts?

I have some source files which have russian comments in them the problem is that the comments seems to be gibberish instead of proper russian, seems like text editors cant properly display it? for ...
0
votes
0answers
7 views

ctrl + ` shortcut doesn't work as expected in VS Code

I found about the shortcut ctrl + ` to toggle between editor and terminal in vs code. The shortcut was working flawlessly, I could toggle between the two easily. But then I tried to change the ...
0
votes
1answer
27 views

Can I still see reports locally if I disable telemetry and crash reportings?

I couldn't understand whether I can still see reports locally if I disable them as described here and here. Can I still see reports locally if I disable telemetry and crash reportings?
0
votes
0answers
8 views

Visual Studio changing checkBox.BackColor with command

So I'm trying to do if textBox2.Text = "1" then checkBox1 would light up in green backcolor if number is different then goes Red. I was thinking doing something like this: ...
0
votes
0answers
13 views

How to use Stylelint plugin to lint SCSS in tagged template literals in Visual Studio Code

The Situation: I'm using VSCode to develop a single page app, using the LitElement library, and some custom WebPack behavior to allow the use of SCSS in the typescript web component definitions, ...
1
vote
1answer
31 views

Change file icon while vscode is installed?

I've been trying to change the icons of my code files (e.g. .c, .cpp, .js, .lua, etc.) and I've been having a super annoying problem: Because I use VSCode, all the icons are grouped together (VSCode ...
0
votes
2answers
27 views

Visual Studio Code false errors at random

I have had issues with Visual Studio code creating errors and then not removing them, even when I comment out the code. Or , not creating errors when there should be errors. This happens on both my ...
0
votes
2answers
31 views

How to hide protected operating system files in the VSCode workspace?

Although I have ticked "Hide protected operating system files" from Windows 10 file explorer options, I can still see files like desktop.ini and other random files with long names. I've ...
1
vote
1answer
31 views

Is it possible to launch VSCode and have it access a folder of code on my development VM from my host machine?

When I SSH into my development VM and want to open something in VSCode, I cannot do so from the command line. Obviously that makes sense because the code command runs on the remote server which has no ...
0
votes
0answers
5 views

How can I open a file in a specific vscode instance?

If I have two instances of vscode running, how can I open a file in a specific one from the command line? code file.txt will open it in one of them but I'd like to specify a specific one. How?
0
votes
1answer
14 views

Add function to ~/.zshrc

I'm trying to apply the following : https://stackoverflow.com/questions/58549853/compiling-header-files-for-c-using-vscode-code-runner But I'm stuck/missdo on the part to copy and paste the function ...
1
vote
0answers
18 views

Build configuration shortcut in VSCode

Is it possible to have a build configuration shortcut in VSCode? In "includePath" and "defines" of "c_cpp_properties.json", I have some variables that depend on build ...
0
votes
0answers
34 views

How to make VScode accept my keymapping

Short question: Is there a way to force VSCode to just follow the keymapping defined by xkb? It seems to have a keymapping of its own when it comes to the right-shift and up arrow, this ruins my touch ...
1
vote
0answers
53 views

WSL2 trying to launch VSCode with code . results in error “Please install missing certificates.”

I'm trying to launch VS Code from WSL2 using the command code ., the command spots that there is an update available for VS Code server and tries downloading it, however the download fails with a ...
0
votes
1answer
27 views

Random Bluescreen of Death

can someone help me why am I getting this random blue screen? It say's whea uncorrectable error but I don't know which part of my PC is faulty. I noticed the BSOD appears when there is a heavy task ...
0
votes
0answers
22 views

How to map Command key to Control key when using vscode

I already mapped "Caps Lock" key to "Command" key using System Prefrences of macOS, as I use "Command" key frequently when using most application. When using vscode with ...
0
votes
0answers
11 views

Windows 10 Boot very slow

After installing chocolatey, meteor, git and vscode my Windows boot time got up from like 5 seconds to 25 seconds. I installed meteor by this installer https://forums.meteor.com/t/meteor-windows-...
0
votes
1answer
28 views

Visual Studio Code can not load DSC Modules other than PSDesiredStateConfiguration

I have Visual Studio Code installed and enabled the PowerShell Extension I would like to write a Desired State Configuration with some custom modules like xHyper-V and xPSDesiredStateConfiguration. ...
0
votes
0answers
21 views

A strange square pattern appears in the vscode editor

On macOS [10.15.7], after changing the size of the terminal window, these strange square graphics will disappear, but after executing some commands in the terminal, they will reappear: vscode: 1.54....
0
votes
1answer
13 views

How to cancel download Docker installer?

When I click "install" button, vscode docker extension begins to download the Docker installer. How to cancel it? There is no "cancel" button.
0
votes
0answers
9 views

Electron apps hang on Mnajaro during unrelated NPM install

When I run npm i in some project, this will sometimes cause Slack or VS Code to hang until the install is complete. Note that the install is in no way related to these apps. It seems king of crazy, ...
0
votes
1answer
79 views

Change default path for VS Code workspace files [workspaceStorage]?

I am desperately trying to debug a Java Tomcat application, run in a local network of an enterprise, using VS Code, and am using a Tomcat extension to do the job: The Tomcat extension saves a ...
1
vote
0answers
8 views

Can't exclude file contents from text search

I'd like to exclude the contents of a file log/output.log from the global text search (cmd + shift + f). I tried adding glob patterns to the "Search: Exclude setting" but I still see search ...
0
votes
0answers
16 views

VS Code Run selection in python terminal does not go to next line at initial step (Shift + Enter)

Currently, I've started using VS Code on MAC. With my desktop with WIN10, there is no issue with Run selection in python terminal. For both OS, I use VS Code version 1.53.2 Here is my problem with my ...
0
votes
1answer
35 views

Why does Visual Studio Code (VSC) display nothing when I open a folder containing files (html, css, js) (occurs intermittently)?

At times I open a folder in Visual Studio Code and it displays a blank UI (no tab navigation on the left and no document view on the right. There are some menus though. If I open the outer folder ...
2
votes
1answer
42 views

My updater script for portable apps works. But not for VSCode

Edit: Fixed version below. I have a script that lets me update any app that is distributed in portable format, and it works. With the exception of VSCode. With VSCode, after running the script, I'm ...
0
votes
0answers
15 views

Disabling the R linter in VS Code

all, I'm getting tired of all the errors thrown by the R linter in VS Code. Most of these, IMHO, should be warnings and should not prevent you from running and debugging R scripts. I've checked for ...
0
votes
0answers
26 views

How do I stop VSCode from accessing the WSL filesystem

I have WSL2 installed and the it is usually recommended that we don't access these files from Windows. While working on a project that uses the newlib library, I noticed that VSCode is somehow ...
0
votes
0answers
18 views

Restoring my previous “Current State” in VirtualBox after restoring my snapshop

I made a terrible mistake, I was working on sync VScode onto my ParrotOS Virtualbox. I thought I copied files from my Virtualbox to my shared file. When I restored the snapshot and restored the ...
0
votes
1answer
34 views

Visual Studio Code set to use PS7, but runs as PS5

I have Visual Studio Code set to use PowerShell 7.1 for the session. If I click on the PowerShell icon in the bottom right corner (to show the PowerShell session menu), the drop down bar at the top ...
0
votes
0answers
5 views

VS Code Not working when in dual boot two linux with same home

I have two Linux OS with the same home directory: Ubuntu and MX Linux. VS Code was working fine and was installed from MX Linux. It was working fine in both Linux. But after a month, now VS code is ...
0
votes
0answers
21 views

How do I map “<CTRL+[>” to Escape in Visual Studio Code (especially for the Search Box)?

I am trying to use <CTRL+[> as my Escape key in Visual Studio Code, but I can't seem to find the right keybinding to do so. In particular, I want <CTRL+[> to exit the search window ...
1
vote
0answers
199 views

How to fully uninstall Kite? (windows 10)

I had installed Kite on the completion of anacondas installation (on Windows 10). Then I noticed that Spyder was badly (and I mean badly) lagging. I suspected it was because of Kite because Spyder had ...
0
votes
0answers
22 views

Visual Studio Code compile only one opened file

Is there a way to make VS Code to count every single file as a new project? Because I am currently ain't doing anything big, just small programmes, 1 file each, but VS Code counts everything in folder ...
0
votes
0answers
27 views

How do I stop VSCode from resetting every time I connect to Google Colab via ssh?

I connected my VSCode to Google Colab via Cloudflare ssh as instructed on this tutorial. So basically, I'm creating a new, temporary remote URL that goes like foo-bar-random-words.trycloudflare.com ...
0
votes
0answers
3 views

How to prioritize/navigate only to errors?

When pressing "go to next problem" (F8) VSCode usually navigates to errors first, and only to warnings when there are no errors. But recently it's going constantly to some third party ...
0
votes
0answers
10 views

iOS 14+ simulator silently turns on the microphone

I've noticed that starting from iOS 14, whenever I run an iOS simulator on my MacBook pro (MacOS Big Sur), my computer's microphone is automatically turned on. After killing the simulator, microphone ...
0
votes
0answers
27 views

How do I do remote 'peer programming' without using internet services?

I'm in an environment where we have no access to the general internet (such as Microsoft) and so can't use options like Visual Studio Live Share. Are there any you can host yourself that do an ...
0
votes
0answers
9 views

How do I bind “double left shift” to the search popup

I want to replace one of the short cuts I use in IntelliJ which is LShift LShift. What I want it to do the equivalent of F1 backspace which brings up the search popup. For one I can't seem to bind ...
0
votes
0answers
23 views

auto retry as sudo for visual studio code

If you ever tried using sublime in linux when ever you are trying to edit the file which you are out of permission for it, linux will ask your password to do it as sudo. But in vs code (visual studio ...
0
votes
0answers
34 views

How to get Tcl formatting to work in VS Code

I am trying to enable the Document Formatting capability for Tcl source files and have installed the Tcl language support by bitwisecook, the top recommended Extension for "category:formatters ...
0
votes
1answer
122 views

How do I get Visual Studio Code to show its icon on the taskbar in Windows 10?

Here's Visual Studio code in Windows explorer - note the icon And here it is in the taskbar, when I right-clicked it. It never has its own icon on the taskbar, even if I don't right click - I only ...
0
votes
0answers
9 views

Is VSCode, how can I extend the selection to a Find target?

In VSCode, is there a way to select from the current cursor position to the results of a "Find" operation? (Similar to vi's "/{target}" behavior) For example, if the cursor is at ...
0
votes
1answer
25 views

Visual Studio Code: Why am I prompted to save unsaved open files when clicking on “Open Folder”?

I'm new to Visual Studio Code. I have a few unsaved files open. Now I wanted to open a directory via "Open Folder" and am prompted to (first) save the unsaved files. Why would that be ...
0
votes
0answers
29 views

Visual Studio Code is blank when used over x11

I am trying to connect to remote ubuntu and run VSC and see the output on my local screen. I set up my system to work with X11 over ssh and it works when I run gedit (I can edit a remote file using ...
0
votes
0answers
15 views

Can't connect to VS Code marketplace

I haven't been able to connect to VS Code Marketplace for a couple of days now. I've tried restarting my laptop and reinstalling it, but the problem persists. I've also tried opening it on my other ...
0
votes
1answer
513 views

Remote-SSH through Visual Studio Code not working because of permissions through WSL cross referencing

I have set up a linux server and I set the server to only accept ssh with an rsa pub key file. SSHing through the WSL client works but using Remote-SSH on VSC is not working. I get the error message: ...

1
2 3 4 5
13