61,264 questions
0
votes
1
answer
86
views
VS Code automatically putting brackets on a new line [duplicate]
Every time I type something like
if (true) {*type Enter here*}
it ends up auto-formatting to
if (true)
{
}
instead of what I'm trying to type which is
if (true) {
}
This has only recently started ...
1
vote
0
answers
45
views
VSCode debugpy launcher command not executing automatically in terminal after shell initialization commands
Problem
When launching a Python debug session in VSCode using debugpy, I see three commands spawned in the integrated terminal:
devbox shell - executes automatically ✓
source /path/to/project/.venv/...
0
votes
1
answer
28
views
Error while executing command 'node_modules/.bin/react-native run-ios --no-packager --verbose' (error code 101) (error code 303)
This issue occurs when trying to launch the debugger through the installed React Native Tools extension from Microsoft in VS code after following the instructions on creating a launch.json file in the ...
1
vote
3
answers
142
views
VS Code No Output when debugging, Has output when running
#include <stdio.h>
int main(void)
{
printf("output test");
int y = 8;
printf("this is a test %d", y);
return 0;
}
Correctly output to Debug Console when ...
0
votes
0
answers
172
views
Switching over from Spyder to VSCode
I am a long time user of Spyder to do data science with Python. At work I am trying to switch over to VSCode so that I can benefit from AI tools such as Amazon Q. So far I can not put together a set ...
1
vote
0
answers
38
views
How to achieve visual cursor movement in RTL String in VSCode
Is there a way to configure VSCode editor so that the cursor movement in RTL (right-to-left) strings in the editor would be visual rather that logical, i.e. so that once the cursor is in an RTL part ...
2
votes
0
answers
62
views
VS Code Extension: webview.onDidReceiveMessage stops firing after onDidChangeTextEditorSelection event
I am building a VS Code extension where a webview panel and the text editor need to communicate with each other.
The desired workflow is:
A command creates and shows a WebviewPanel.
The user can ...
0
votes
1
answer
63
views
How to remove inline debug tooltips in VS Code for Dart?
How to remove annoying information in VS Code for Dart?
Unfortunately, I don't know what it's called or why someone decided to enable the option to show this information instead of me and for me.
I ...
3
votes
2
answers
138
views
FuncAnimation not rendering in Jupyter and VSCode
import matplotlib.pyplot as plt
from matplotlib.animation import FuncAnimation
#plt.rcParams["animation.html"] = "jshtml"
import matplotlib.pyplot as plt
fig, ax = plt.subplots(...
1
vote
1
answer
63
views
Visual Studio Formatting
This might be a super stupid question - but I use prettier as my formatter, and I've experienced that it formats similar document differently.
In the image below: the left file has large spacing ...
1
vote
1
answer
59
views
VSCode Adobe Coldfusion Extension opening files without relative path
I'm running an instance of ColdFusion 2021 with a local server. I have a project in the wwwroot folder of the ColdFusion folder, which I called my workspace in VS Code. I then added my root folder of ...
0
votes
1
answer
85
views
WSO2 Micro Integrator “Failed to create InitialContext using factory specified in hash table” for LDAP Operation
I am trying to connect my APi developed by wso2 MI VsCode to an OpenLDAP server running on Ubuntu WSL. I’m using the WSO2 LDAP connector (V2) to perform LDAP operations (search, authentecates), but ...
1
vote
0
answers
40
views
Is it possible to "openFilePreserveFocus" without preview mode on VS Code?
I am currently trying to adopt keyboard shortcuts for frequent tasks, where using
the mouse has become cumbersome.
When writting c and c++, I find myself setting up two tab groups and opening make, .h,...
2
votes
2
answers
124
views
Jupyter in Visual Studio Code shows “requires the pip, jupyter and notebook package” even though they are installed
I’m trying to run a .ipynb notebook in VS Code with Python 3.11.0. I have already installed the Jupyter extension and Python extension in VS Code. Everything works fine when I run the same code as a ....
0
votes
0
answers
34
views
VS Code not printing warnings
I'm trying to set up VS Code to learn C++. I downloaded the latest version of the compiler (g++) and tried running the following simple code, which (if I understand this correctly) should print a &...
0
votes
0
answers
42
views
Issue while accessing cells in notebook inside the virtual environment
When running a cell in note book after selecting the kernel used in virtual environment I get the issue where it shows running cells with venv(Python 3.13.5) requires the ipykernel and pip package as ...
-1
votes
1
answer
37
views
Jupyter Dependency Issue
Following an update of Python and Jupyter extensions on my VS Code yesterday, my virtual environment dependencies haven't been working properly. My Vscode setup has been demanding that I install ...
0
votes
0
answers
76
views
How to disable copilot autoComplete unless shortcut key is pressed? [duplicate]
This question has been asked before, but every solution seems to be deprecated.
I want Copilot to stop autocompleting things I type unless I use the shortcut key ALT\ (remapped to tab).
For example, ...
0
votes
1
answer
24
views
Toggle selection endpoints
How can I toggle the cursor position in VS Code — from the start to the end of a selection (and vice versa)?
I'm looking for functionality similar to pressing o in Vim's visual mode, which swaps the ...
0
votes
1
answer
141
views
Solving R path problems when using VS Code on Linux
On the command line (Ubuntu Linux 24.04)...
which R
/usr/bin/R
But when I use VS Code to attempt to debug my R, I get a dialog saying this:
R path not working:
/usr/bin/R
(Can be changed in setting r....
0
votes
0
answers
39
views
How to debug a monorepo in VS Code with multiple workspaces at same time?
How can I debug a monorepo with multiple workspaces in VS Code during development at the same time?
Workspace1:
/packages/framework -> will be included in an npm package later
Workspace2:
/apps/...
1
vote
2
answers
68
views
VS code no longer recognises css or scss files
I am using VS Code and NextJS to build the frontend for the application.
VS Code is reporting the following error:
Cannot find module or type declarations for side-effect import of
'~/styles/layout/...
0
votes
1
answer
51
views
How to launch vscode with local extension version while developing?
I'm working on a project that is an extension for VsCode, and also I have the extension installed in my VsCode because I use it while developing.
If I launch the project to test it on VsCode, since ...
0
votes
1
answer
32
views
How to prevent markdown headings in a Jupyter Notebook (VSCode or JupyterLab) from appearing in the Table of Contents (TOC)
In Jupyter Notebooks (both in VS Code and JupyterLab), every markdown heading (like #, ##, etc.) automatically appears in the Table of Contents (TOC) or Outline view.
Sometimes, I want to include ...
0
votes
0
answers
16
views
Backing Up Settings When Logging Into an Account with an Existing Backup
I have a backup of my VS Code settings linked to my email. However, since then I’ve uninstalled and reinstalled VS Code, and I now have many new settings and customizations that I don’t want to lose.
...