Category "visual-studio-code"

How to use java .class file in Visual Studio Code?

I'm currently studying a Java course, and one of the assignments requires me to use (import) a class inside a .class file. I'm currently using Visual Studio Co

How can I open a file in a new tab?

How do I open a new file using Ctrl+P, so it doesn't override the current file, but rather use a new tab? Also, would it be possible to focus the searched file

Vue: Failed to compile (Strings must use singlequote)

I've been working with Visual Studio Code for two days now. I try to build a Vue-Application. But always when I run the application by npm run serve, I get the

VS Code - Configuration Properties - presentation order

Following this question from ~ 3 years ago, and linked Github issues that appear to have been worked on and closed in the 1.63 build onwards, I cannot get my pa

Navigate to Ruby function definition in VS Code

I'm pretty new to Visual Studio Code, and I'm trying to edit some Ruby code. I installed Ruby support, and I enabled the language server, but Ctrl-clicking on a

tmux in vscode - slow down scrolling speed

I am trying to tweak the scroll buffer or speed of tmux in Visual Studio Code At present, I have below lines in my ~/.tmux.conf which works fine in iTerm2 but d

python.defaultInterpreterPath in vscode shows as "unkonwn configuration setting"

The old python.pythonPath has been deprecated in the latest vscode 1.64.1 and replaced by python.defaultInterpreterPath. However, when I set it in projectname/.

Autopep8 format "max-line-length" parameter is not working for the imports section

I'm using autopep8 auto-formatter in VSCode (MacOs) but I can't seem to make it work to split lines greater than max-line-length in the imports section. In the

How to hide properties and methods with an underscore in VSCode Intellisense?

I develop in Javascript with VSCode, and I don't want Intellisense to show class properties and methods which are private (i.e. with an underscore). Is this pos

VSCode - TypeScript language service died unexpectedly 5 times in the last 5 minutes

This error message keeps sliding down from the top every few seconds. I click on the close button and it comes back again. I am not and don't plan on using Ty

How to debug Go tests with param "./..." in VS Code

I usually run go test ./... to run all tests in my project. How can I set up launch.json to debug every tests that normally go test ./... runs?

selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service ./drivers/chromedriver.exe

Trying to set up my first project using Selenium and Python and am getting an error with my chromedriver. I have already found similar questions/solutions on he

VSCode terminal task not using zsh profile

I'm trying to run a task on window load in VSCode where a terminal opens and nvm use && yarn dev is run by default. However, running this shell tasks se

VSCode terminal task not using zsh profile

I'm trying to run a task on window load in VSCode where a terminal opens and nvm use && yarn dev is run by default. However, running this shell tasks se

Failed to open /qemu.conf, err: 2

I got this error while using windows command prompt to connect a android virtual device to visual studio code. However opens the android virtual device but stil

Failed to open /qemu.conf, err: 2

I got this error while using windows command prompt to connect a android virtual device to visual studio code. However opens the android virtual device but stil

Is there a way to instruct Visual Studio Code to skip git commit hooks (i.e., to supply the -n argument)?

I would like to be able to install a pre-commit hook, but also to be able to commit under certain circumstances (e.g., WIP) even when the hook fails. I can do t

Is there a way to instruct Visual Studio Code to skip git commit hooks (i.e., to supply the -n argument)?

I would like to be able to install a pre-commit hook, but also to be able to commit under certain circumstances (e.g., WIP) even when the hook fails. I can do t

VS Code 2 errors: 1st is "Import 'solcx' could not be resolved." 2nd issue is given in terminal as "INFO: Could not find files for the given patterns

Here is the code from solcx import compile_standard, install_solc import json with open("./SimpleStorage.sol", "r") as file: simple_storage_file = file.rea

Set environment variables when activating python virtual environment in windows

I want to be able to set up environment variables in my virtual environment so that they are available in my code when I activate the virtual environment. I mak