Skip to main content

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
1 answer
17 views

Building and openning Win app on WSL : Not always running the last one

I have a build environment on WSL2 (linux debian) for compiling C++ code for Windows (with mingw) and running them. After the build succeed I run the windows executable from the wsl bash console (./a....
Erwan's user avatar
  • 89
-1 votes
0 answers
14 views

output using Python's Tkinder module in Visual Studio Code versus IDLE

When I use Python's Tkinder module in IDLE I get the GUI output displayed, as expected. However, when I use the identical code in Visual Studio Code the Terminal window shows no errors, but it also ...
user3216617's user avatar
0 votes
1 answer
19 views

Disable the VS Code preview pane integration in Windows Explorer

Whenever I select a file while the preview pane is active, VS Code tries to display it. How can I get rid of this integration? I searched around but strangely didn't see any trace of this feature ...
skygate's user avatar
  • 262
0 votes
0 answers
26 views

How to remove escape sequence from VSC terminal?

Just recently these escape sequences have been showing up on my PowerShell terminal inside VS Code. I've attached a picture of what this looks like: However, inside the PowerShell terminal itself, it ...
user avatar
1 vote
0 answers
44 views

How could I have VScode on Windows 10 with the default terminal changed to WSL2 Ubuntu-24.04 like a linux distro?

I'm trying to have inside VScode for Windows 10 (Microsoft Windows [versão 10.0.19045.4474]) options to change the terminal from default to another one such WSL2 Ubuntu 24.04. I have installed ...
Marlon's user avatar
  • 379
1 vote
0 answers
24 views

Make VS Code Flatpak version be able to use fonts from ~/.fonts

I've recently replaced RPM VS Code with Flatpak VS Code on my laptop with Fedora 40. However, I haven't been able to set my font correctly since VS Code doesn't seem to pick up font files in the ~/....
terraquad's user avatar
-1 votes
0 answers
20 views

How to install/make vscode portable on mac os [closed]

I want to make/install it vscode portable on Mac OS because so that when I move to a new Mac I don't have to install it again and so that all the extensions I have are still there and I don't need to ...
ZAB Pro's user avatar
0 votes
1 answer
44 views

Initiate download from Excel

I have a spreadsheet that contains a column of URL addresses to photos. I would like to download all or selected photos to a location on my computer that I specify. I'd appreciate any suggestions or ...
Jim's user avatar
  • 1
1 vote
1 answer
51 views

Why I can't change the prompt in VSCode's terminal?

I am trying to change the prompt in my VSCode's terminal. My OS is MacOS Monterey 12.6. I use the zsh and I change the PS1 in .zprofile,such like this. Then I use echo to test.The others can work ...
Luxury's user avatar
  • 11
0 votes
1 answer
71 views

Disable Cmd + Hover to jump to definition in VSCode on macOS

In VSCode, whenever the Cmd key is down and I hover over a function definition, the editor automatically jumps to that definition. This incredibly annoying since I might press Cmd whenever I want to ...
laurent's user avatar
  • 5,619
0 votes
0 answers
19 views

How can I prevent the Snyk extension in VSCode from scanning code automatically on save?

I am using the Snyk extension in VSCode, and by default, it runs a code scan every time I save a file. This is slowing down my workflow And I only want to scan the code manually. I have looked through ...
nerdtrib3's user avatar
1 vote
1 answer
40 views

Meaning of letters in VSCode Pull Request Extension messages [closed]

I am a (happy!) user of the VSCode Pull Request extension, but unfortunately I was unable to find a complete explanation of the meaning of the letters in the left-pane: when I am reviewing a PR, along ...
Filippo Alberto Edoardo's user avatar
0 votes
0 answers
15 views

Prevent VSCode from opening same files in different branches

I work with several git branches of a project and I normally perform the git business (pull, checkout, merge...) from the command line, then I launch VSCode with code .. This reopens all files that ...
Filippo Alberto Edoardo's user avatar
0 votes
0 answers
32 views

Automate the removal of the VS Code Welcome screen with PowerShell

I setup a portable version of VS Code when I start my Windows Sandbox instances. This works well, however, after every Sandbox restart, when I start VS Code, I get the Welcome screen, so it gets a bit ...
YorSubs's user avatar
  • 939
0 votes
0 answers
17 views

Xdebug - how to remove annoying inline variable content displays

When paused on a breakpoint, Xdebug is showing the content of every variable in-line on every line as shown below: I find this highly distracting, I have the watch pane if I want to observe certain ...
user2721465's user avatar
0 votes
0 answers
19 views

Get VS Code to open a directory after connecting

I'm working over an SSH connection in VS Code. I only have one directory that I'm working in, so I'd like to just connect to it. But currently I need to Connect the current window to host... Open ...
Nathaniel Waisbrot's user avatar
0 votes
1 answer
97 views

vscode remote ssh - settings for all users on server

I look after some development servers and a lot of developers/engineers use vscode. We have had an issue where our /home is really small and one of the vscode extensions filled it up and then caused a ...
TheLastWilson's user avatar
0 votes
1 answer
391 views

How do i change this icon on the welcome page of vs code?

How do i change the icon of vs code here?Vscode Icon Now, i want to change this image as i want to customize it, and ive seen people change that icon but i cant find the file location to do that, i ...
LemonSalt's user avatar
0 votes
0 answers
85 views

How to be able to access all folders on Ubuntu when using Visual Studio Code Remote?

I have my user which seem to be in the sudo group: myuser@server:~$ groups myuser myuser : myuser adm cdrom sudo dip plugdev But when I use Visual Studio remote with SSH, it doesn't give me the ...
Stackerito's user avatar
1 vote
0 answers
32 views

Ubuntu (Unity) opens click on USB stick icon with VS Code

I have the strange issue that when i plug in a USB stick, and click on the Icon in the taskbar, it opens the contents with VS Code. How can i change that back to the default "nemo" ...
Marc's user avatar
  • 371
0 votes
1 answer
253 views

Connecting through SSH in VS Code crashes my web server

I have a hosted web server and I would like to SSH to it from Visual Studio Code. I have a clean installation of it and the Remote SSH is literally the only plugin it uses. I have created a SSH ...
Ondrej's user avatar
  • 189
0 votes
1 answer
16 views

vscode will not launch, no diagnostics

Visual Studio Code will not start. I tried killall code; code --verbose --user-data-dir=/tmp/remote --disable-gpu --no-extensions (/tmp/remote is a new empty directory) to get some diagnostics; ...
Joshua's user avatar
  • 834
1 vote
0 answers
165 views

VS Code IntelliSense not working for Modules (PowerShell 5.1)

I know a lot of people are reporting various issues with vscode intelliSense and that the feature is buggy at best(?), but I'll still try to ask a question. Because - it has, for the most part, worked ...
Morten's user avatar
  • 133
0 votes
0 answers
44 views

Error when trying to install extensions via VScode on my Chromebook: “ Error scanning user extensions: Unexpected token '#', "#!/bin/bas"... ”

When I am trying to install extensions within VScode on my Chromebook. It shows me an error message"please check for the log details. When I clicked on the log, the message was: 2024-03-02 15:03:...
Pranay Krishna's user avatar
0 votes
0 answers
190 views

Git Bash doesn't display characters correctly, using Visual Studio Code's integrated terminal

I use Git Bash as the default terminal profile on Windows. When I execute this command, I get the below output: memlab run --scenario tests/oversized-object/index.js > 'command' �����ڲ����ⲿ���Ҳ���...
Lin Du's user avatar
  • 101
0 votes
0 answers
20 views

Keybindings for multiline edit in VS Code inside a Hyper-V VM

The CTRL+SHIFT+ALT with PgUp/PgDn function to multiline edit in VS Code seems broken inside a Hyper-V VM of Windows 10 (this is when I am inside a vmconnect.exe session. I can't think of a particular ...
YorSubs's user avatar
  • 939
1 vote
1 answer
696 views

Prevent extensions installation

I work in an IT department, and we allow the use of vscode. However, certain extensions do not suit us within the framework of our security policy. We would like to prevent users from installing all ...
Albatros's user avatar
1 vote
0 answers
67 views

Trying to get tab in normal mode(VSCode using the vscode-neovim extension) to move to new cell in a markdown table

I'm seeking assistance with the VSCode-Neovim extension to enhance navigation in markdown tables. The current markdown extension that I am using is takumisoft68/vscode-markdown-table, which has this ...
Varity Colgate's user avatar
0 votes
0 answers
35 views

Does Visual Studio Code have an equivalent to CLion's CMake Profiles?

I'm following along this tutorial to learn CMake. In the tutorial, the instructor demonstrates encapsulating the setting of a CMake variable (i.e. a -D command line argument) in the Settings > ...
StoneThrow's user avatar
  • 1,177
1 vote
1 answer
56 views

NUL characters appear at the end of some files sometimes

Since I am using Synology to backup my files and sync them between devices, I sometimes get NUL characters at the end of my files and sometimes 2 or 3 lines are deleted randomly at the end of the file....
ihaveaquestion's user avatar
2 votes
1 answer
295 views

Install Perl on Windows for LaTeX Packages Without Dependency Issues

I'm currently facing challenges with installing Perl on my Windows system, which I need for handling specific LaTeX related packages. My journey so far has led me through a series of issues, and I'm ...
Foad's user avatar
  • 662
-2 votes
1 answer
1k views

How to open a remote SSH MobaXterm folder with VSCode

With MobaXterm on Windows, I am able to open a SSH remote file with VSCode just by double clicking it (after that I set this is my default text editor). However, I am not able to open a folder and all ...
JKHA's user avatar
  • 181
0 votes
0 answers
605 views

Can’t connect to SSH

I'm trying to get in to the backend of my website in VS Code, but every time I write the password it says could not establish connection to ssh.mydomain.dk I succeeded with log-in in the terminal, ...
Celeste Holmberg's user avatar
1 vote
1 answer
53 views

VS Code vs PS Terminal (Take 2)

This is my 2nd post of this. For some reason the original was closed without an answer. I have a little PS form I'm making to try and make my day life a little easier. So, I created a PS form with a ...
Dale's user avatar
  • 43
6 votes
1 answer
9k views

Visual Studio Code: Updates are disabled because you are running the user-scope installation of Visual Studio Code as Administrator

I run my Visual Studio Code using "Run as Administrator" While Visual Studio Code is open I get this message: Updates are disabled because you are running the user-scope installation of ...
Nate Anderson's user avatar
0 votes
1 answer
683 views

Copy output from output window in vs code

I've a big output that I want to copy but right click->copy only copies a single line.
Shub's user avatar
  • 190
0 votes
1 answer
786 views

VSCode Integrated terminal pointing to different python version

I'm trying to get a Python Venv setup and configured to use VSCode's integrated terminal and Code Runner. However, both seem to be using the wrong Python version. It almost seems like it's using a ...
HandyGold75's user avatar
0 votes
1 answer
3k views

I can not start Microsoft Visual Code on Ubuntu 22.04 anymore

I use Visual code version 1.85.1. Even after downgrading to version 1.79.2 Visual Code does not start. I neither get a message why I can not start Visual Code. Does anyone have a suggestion how to fix ...
user2588998's user avatar
1 vote
1 answer
275 views

Unexplained terminal behaviour with VS Codium

I've recently swapped from VSCode to Codium and I'm having some real trouble setting up the terminal. It has some really strange behaviour, almost like it's in a chroot or something. For example; # ...
Tom's user avatar
  • 111
2 votes
1 answer
246 views

Jupyter Slideshow in VSCode

I am trying to edit and present a slideshow inside of VSCode using Jupyter Notebooks (on a Windows 11 computer). I can make Jupyter notebooks, and I have the Jupyter Slide Show extension installed in ...
Addem's user avatar
  • 175
2 votes
0 answers
59 views

Why does zsh navigation behave differently in the VS Code terminal vs macOS terminal?

When I am using zsh in the inbuilt VS Code terminal, I can: a) use the up and down arrow keys to navigate through my command history when typing a command: zsh command navigation b) use all arrow keys ...
Staś Werno's user avatar
0 votes
2 answers
443 views

VS Code - Need a way to add shortcut key <esc> to close the panel if the panel has focus

Currently in the process of coding MQL4/5 in VSCode because of the awesome extensions. Finding that a few of the (my) most used keyboard shortcuts are actually configurable. Looking for a short answer ...
Dennis Jorgenson's user avatar
1 vote
1 answer
258 views

How to fix code blocks in list syntax highlighting of Markdown files in Codium?

I am using Codium and VSCode to edit Markdown files. The syntax highlighting breaks inside of code-blocks under an item: Some list with codeblocks: - dikfree ```sh # Interesting comment df -h ...
Human's user avatar
  • 583
2 votes
0 answers
329 views

VSCode unable to sign commits

If I try to commit something, I'm getting this error. > git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file - -S error: gpg failed to sign the data: gpg: skipped <redacted&...
MathIsNice1729's user avatar
0 votes
0 answers
45 views

Unable to accept android Licenses for debugging and compiling .NET MAUI

I have tried everything I could. Even the non-recomendable option of starting code as superuser and changing through chmod all the permissions at /opt/android-sdk folder. I also followed the ...
DaniWein's user avatar
4 votes
2 answers
258 views

Are the Origin and Label changes for packages.microsoft.com/repos/vscode/dists/stable/InRelease suspicious?

While updating the apt repository indexes on Debian 12 bookworm, I was informed that the microsoft package repository for vscode had changed it's Origin and Label as shown below. This seems an ...
RidiculousRichard's user avatar
0 votes
1 answer
111 views

How to exclude VSCode from WARP DNS changer?

I'm using WARP for a protected connection and as a DNS changer. However, it affects the VSCode and my Copilot connection. Hence, I want to somehow enforce Windows to pass the internet traffic from the ...
Shayan's user avatar
  • 321
0 votes
1 answer
239 views

Cannot run Visual Studio Code on Ubuntu run via Termux [closed]

I have installed Ubuntu 22.04 via Termux proot. I am able to login via VNC Server and use the desktop on my Android Phone. I downloaded arm64 deb and tar.gz files. However, when I run VS code ...
abel's user avatar
  • 737
2 votes
0 answers
263 views

Is it possible to use Libtorch with VS Code?

I have followed the instructions provided by Pytorch to installing C++ distributions of PyTorch: https://pytorch.org/cppdocs/installing.html However, this command produces an error: cmake --build . --...
Mattpats's user avatar
  • 121
1 vote
0 answers
46 views

Why codium (vscode fork) doesn't autoclose quotes?

this is my first time using codium (vscode fork) after using atom for a while, I have installed several bash extension to enhance my shell scripting adventure, but I found that I'm unable to auto ...
Liso's user avatar
  • 69

1
2 3 4 5
17