Category "visual-studio-code"

npx hardhat doesnt creates a new project

I tried creating a new hardhat project. I tried the following commands in terminal. npm init --yes npm install --save-dev hardhat But when I use the following

In Cucumber, how do you resolve "Was unable to find step for" error when using {int} in a step definition?

I am building a Cucumber framework for WebdriverIO using Visual Studio Code. I have a step definition which reads: Then("there are/is {int} {string} displayed",

VS CODE remote-ssh `code` command not working properly

I connect to the remote server with vs code command invoked by CTRL+SHIFT+P Remote-SSH: Connect to Host.... Everything works fine. After some time when I try to

fatal error: GLFW/glfw3.h: No such file or directory

when I try to import GLFW I get an error in VSCode saying "fatal error: GLFW/glfw3.h: No such file or directory". I read some articles about this error but coul

some lines break in vs code

I have word-wrapper enabled in VS code and prettier formatter installed. For some reason some lines just break. How do I stop it from breaking?

How to open existing flutter project from Xcode?

I have an existing flutter project, which coded with VS Code. Now I want to open it from Xcode to do some configurations in Runner.xcworkspace. But it was unab

VSCode Download Older version of an Extension

I'm looking to install an older version of the VSCode jupyter extension. (The reason is that I'm using a VSCode build from Code Server which is as of VSCode v1.

How to fix unsupported text encoding in VS code

I have imported a folder of a web project and I was not able to run it due to this error in some files“the file is not displayed in the editor because it

How to create a file in the terminal of VSC?

I know how to create a folder in the terminal of vsc mkdir NameOfFolder, but how to create a file in the terminal?

Select interpreter of docker container in the vscode

In vscode, we can install the python extension, then select the interpreter which we want, like python in the conda environment. So we can use "shift" + "enter"

Add environment to VScode interactive window

I have some conda environments and using another environment set in '''.bashrc''' file as follows which is not a conda env: function XX { APEDIR=/vol/augerprime

How to use Multiline comments in Visual Code?

How to use the new feature of Multiline Comments in Visual Code released in version 1.67 (April 2022)?

VS Code Mac m1 Debug is not hitting my breakpoints with Makefile conf C language

Hello ! I'm new with using VS Code while programming in C language and I'm trying to debug my program with the "Makefile Tools" plugin but it doesn't seem to co

in vscode, pygame wont import but it is installed and is working in the windows console ,and the python app thing

im very new to code in general so this could be a stupid beginner problem ive searched for things but i couldnt find something useful for me under Problems is t

Import issues in Visual Studio Code

I am trying to execute this code in Visual Studio Code, the code works, my problem is related to the import of numpy; the other imports are working. import code

'export' in VS code show problem statement "Declaration or statement expected." and cannot find name 'WEB3_INFURA_PROJECT_ID' and 'PRIVATE_KEY'

I am trying to create a ERC20 standard token using VS code by following a Youtube video https://www.youtube.com/watch?v=8rpir_ZSK1g . Until I reached the .env f

AWS SAM Lambda typescript project doesnt attach to debugger in VSCode

I have used AWS SAM to initialize a typescript lambda project which I am editing in VSCode on Windows 10. I have also setup debug points in the typescript code

Blank window vscode as root

it's been a long time that i run vscode as root via this command (ubuntu 20.04.4 LTS) : > sudo code --user-data-dir="~/.vscode-root" Today, i used the same

VS Code - Output Window - Log Option

Is there anyway to log the lines sent to the Output tab? I am having a problem with VS Code developing Salesforce When I right click on the package.xml file in

Fix all const warning flutter

How to fix this all const warning in VSCode? It's hard if I fix one by one.