Category "visual-studio-code"

How can I properly clear the backup file cache of VSCode

I only really use VSCode for PowerShell. I keep multiple scripts open so that I can run code snippets throughout the day. Whenever my computer restarts, due to

How do I use C++20 in vscode?

I want to use C++20 in vscode as I'd like to use .contains on an unordered_set, but when I try it I get error C2039: 'contains': is not a member of 'std::unord

What is jsconfig.json?

If I search the same question on the Internet, then I’ll get only links to Visual Studio Code website and some blogs which implements it. I want to know t

How to debug Vue 3 Vite while on lan --host

How can I debug while using --host option on Vue 3 Vite so I can debug my phone instance for example. At the moment Im using visual studio code plugin "Vite" la

How can I send data via Websocket from a VSCode extension

I would like to send data via Websocket from an VSCode extension. Is there a builtin websocket facility or should I import the package "ws" or else?

Is there a way to navigate to a function's definition in another file in VSCode or CLion for CPP?

I am working in a project where I am on a specific file in a folder, the structure is like this: └─project_folder/ ├─ myFile.cpp

How can I call arm-none-eabi-gdb with -x parameter

I want to call arm-none-eabi-gdb with -x parameter when launch debugger after installing cortex-debug. How can I do in launch.json or setting.json, thanks for y

How can I call arm-none-eabi-gdb with -x parameter

I want to call arm-none-eabi-gdb with -x parameter when launch debugger after installing cortex-debug. How can I do in launch.json or setting.json, thanks for y

How to scroll 10 line vertically with keyboard without moving cursor in vs code?

I am vim user, I don't like mouse to scroll. pagedown and pageup is not perfect for me, I want to bindkey for pageup and pagedown with 10 lines scroll or somet

How to stop autopep8 not installed messages in Code

I'm a new Python programmer using the Mac version of VS Code 1.45.1 to create a Django project. I have the Python and Django extensions installed. Every time I

Visual Studio Code C/C++ Extension cannot find compiler path

Problem: The program works but the intellisense doesnt recognize the compiler. Specifications: I use wsl. Installed from powershell What i've tried: I reinstall

pip install -r requirements.txt not installing libraries in vs code virtual environement

I have created virtual environment in VS code. When i am doing the command pip install -r requirements.txt. Still the vs code says no such module found. Howeve

Cant find where to start a new project

I have recently installed Visual Studio Code (version 1.44.2) and I cant figure out how to start a new project. I've looked through tutorials and articles on h

How to copy the inferred type of an untyped function (TypeScript) in Visual Studio Code when its very long

(See Screenshot) I have this function with a really long untyped object returned, I want to copy the inferred type of that object because it's way too long to

How to use jupyter notebook with R kernal in VS code?

Now I can use jupyter lab with R kernal in a web browser and use VS Code to edit jupyter note book code with python kernal, is it possible to edit R code in VS

Access local files in Python Jupyter Notebook while connected via SSH using VS Code

I use a Python Jupyter Notebook to access databases on a remote server, connected via SSH (Remote-SSH Extension). When I try pandas.read_csv() I can only access

I get "You don't have permissions to push username/repository" on GitHub

I am working with a Mac M1. Last week I was working fine with VSCode and Github. I was editing some markdown files and pushing the changes I made to the files.

Visual Studio Code: how to add arguments for g++ compiler?

I want to use some C++17 features that Mac's clang doesn't currently support, so I use brew install gcc --HEAD to install the g++ 10.0.1 version. Codes run w

How to change c syntax check standard in vscode

vscode default c syntax checker seems that c standard used not high (maybe c99 or lower) like the example following: array ellipsis is available in c11 , actua

Why is rust-analyzer not finding dependencies in workspace member?

I have a cargo workspace with one library "./raytracing" and one binary "./cli". The two workspace members have different dependencies. ./raytracing/Cargo.toml: