How to prevent vscode from importing global python env site-packages when...
situationI created a new python project with pixi venv. I have this isolated venv, including python. I installed pandas etc. I didnt install plotly etc.I have python installed globally. The global...
View Articledbt power user visual studio code extension : features stopped working
I recently installed the dbt power user extension and followed the configuration instructions, which included adding"files.associations": {"*.sql": "jinja-sql" }, and making the Python interpreter...
View ArticleMy cursor in VS code is too wide like a block and it cannot change to a thin...
So out of nowhere my cursor in VS code has become wide like a block. Its annoying to code with because the block overlaps on written code all the time.I already went to settings, it is set to line,...
View ArticleReplace matching brackets for parenthesis vscode
Is there a way to quickly replace matching brackets for matching parenthesis (or any other opening/closing characters) in vscode?Something like ctrl+d but for matching brackets, parenthesis and...
View ArticleVSCode terminal not showing icons on terminal on ZSH
As shown in the picture below, my terminal in VS Code is showing is showing missing icons, whereas it's totally fine in my external terminal.
View ArticleEperm operation not permitted -vscode
Trying to change a folder name causes this error, i have tried deleting the .vscode folder and deleting all extensions as well. Running as admin dosen't work as well. I do not use js or npm. The rename...
View ArticleWhy is my Windows C++ VSCode project failing to compile when I use...
I've set up a basic C++ project on VSCode on Windows. My main.cpp program looks like this:#include <random>using namespace std;int main() { default_random_engine generator();...
View ArticleHow to import external Java library in VSCode?
This is my first time developing Java in VSCode and I cannot get the import to work correctly. I have read several tutorials but something is missing. The first line of my program isimport...
View ArticleVisual Studio Code: Unable to watch for file changes. Why?
I often get the "Visual Studio Code is unable to watch for file changes in this large workspace" -error and I can't figure out why. Visual Studio Code (Linux): 1.24.1My exclude setting...
View ArticleError converting example VS Code extension test from typescript to JavaScript
I am trying to write end-to-end tests for a VS Code extension. I would like to use JavaScript, not TypeScript. So, I took the example from here:...
View ArticleHow do we remove ssh targets from Remote Explorer
The Remote Explorer sidebar has an obvious icon for adding new targets but I can't find an option for removing or editing a target.In my case, servers' IPs change frequently so they just continue to...
View ArticleHow to remove the extra space at the right side of Visual Studio Code?
I have been trying to get the old default view window in order to edit code.How can I remove this extra space marked in red?
View ArticleWhy is @typescript-eslint/parser including files outside of those configured...
I am getting the error: -Parsing error: "parserOptions.project" has been set for u/typescript-eslint/parser.The file does not match your project config: .eslintrc.js.The file must be included in at...
View ArticleVS Code connect to WSL Ubuntu 20.04 LTS, fail with error: Could not fetch...
A few days ago I was working just fine with VS Code connected to WSL Ubuntu 20.04, then I did some updating on WSL, Ubuntu 20.04 LTS and VS Code and now I can not connect to WSL 20.04, and I always got...
View ArticleVisual Studio Code pylint: Unable to import 'protorpc'
I'm using pylint in Visual Studio Code to develop a Google App Engine (GAE) Cloud Endpoint API in Python. I'm unable to resolve a lint error. I don't know what's causing the error, but at a guess,...
View ArticleNot able to Download neat module in Vs code [closed]
defaulting to user installation because normal site-packages is not writeable collecting neat downloading neat-0.4.1.tar.gz (88 kb) preparing metadata (setup.py) ... error error:...
View ArticleIn VSCode is there a way to switch ends in selection?
In VSCode editor (not terminal) while selecting text, usually anchor end will be fixed and expand/shrink happens only from cursor end. Now, is there a operation available in VSCode to switch anchor and...
View ArticlePre-commit hooks: Executable not found
I try to use pre-commit on VSCode.I installed ruff, black, mypy and flake8 using poetry.Pre-commit-config.yamldefault_language_version: python: python3.10repos: - repo: local hooks: - id: ruff name:...
View ArticleInstalled VSCode in user mode, but always launches as admin
I have no need to install VS Code system wide, but it always launches as an admin which prevents it from updating. How do I get it to open in user-mode?I am trying to do this on Windows 2019 Server
View ArticleSetting up VS Code for C++ [closed]
I'm trying to follow this page.After step 3, it says to check the C++ installation. In that text it says:To use MSVC from a command line or VS Code, you must run from a Developer Command Prompt for...
View ArticleConnect to remote Jupyterhub server from VS Code and use terminal
I would like to connect from VS Code to a remote jupyterhub server, which in my company we use to run compute intensive tasks, mainly from python scripts rather than notebooks. Thus, I would like to...
View ArticleGetting exception "unkown Signal" with realloc in C
I have a function which I give a char** input. Inside the function I am calling realloc. I am calling the function multiple times without any issues, but it always crashes at the same point...
View ArticleVisual Studio Code: can't edit LEFT-side file during COMPARE
In Visual Studio Code I open file-VS-file compare mode via:clicking on the file A and then "Select for Compare"clicking on the file B and then "Compare A with B"The problem is that I can edit file B...
View Articlehow to configure Vscode to debug Python using WSL?
I found the configuration for cpp (https://github.com/Microsoft/vscode-cpptools/blob/master/Documentation/Debugger/gdb/Windows%20Subsystem%20for%20Linux.md) and tried to change it for python debugging...
View ArticleLocal Windows environment variable got inherited in remote linux jupyter...
I connect my vscode, which is running on windows, to linux box via ssh. I start a jupyter notebook in the vscode and find that an environment variable set in windows (QHOME pointing to a windows path)...
View ArticleUpdating VSCode as not admin user not possible on MacOS
We just started to enroll devices for user without adminrights on our machines. So i ran into the problem, the the helper tool popup window appears and no update can be done from the non admin user on...
View ArticleRunning C++ Jupiter Notebook in VSCode Insiders
I have installed xeus, xeus-cling and jupyter extension. I changed the kernel to one of the C++ versions, the cell language to C++ but when I click run the cell never outputs. Can someone please help...
View ArticleHow to show a live preview of a markdown cell's output while editing it in VS...
Markdown Cells in Google Colab shows the output of markdown cells while editing itselfMarkdown Cells in VS Code don't show the output of markdown while editing markdown but colab shows it while editing...
View ArticleHow do you update an input for an MCP configuration in VSCode?
I have an MCP server configured with some inputs so that VSCode stores the credentials. I need to provide a new token for one of those inputs but I can't find a way to trigger VSCode to ask me for the...
View ArticleHow to view full type definition on hover in VSCode, TypeScript?
Hovering over a variable or function in VSCode is really helpful by showing its type. However, there are certain use-cases where I would like to see the full type definition of a variable and not just...
View Article