Category "visual-studio-code"

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

Creating a 'jsconfig.json' file for Visual Studio Code

I am fairly new to Visual Studio Code and have been following a tutorial to create Node.js applications with Visual Studio Code. I need to create a jsconfig.jso

Import "matplotlib" could not be resolved from source Pylance(reportMissingModuleSource)

whenever I try to import matplotlib or matplotlib.pyplot in VS Code I get the error in the title: Import "matplotlib" could not be resolved from source Pylance(

using (?s) Regex options in Visual Studio Code

I am used to writing regular expressions that support multiple options to specify case sensitivity, white space ignoring, meaning of . etc... In C#, these optio

Visual Studio Code not matching html tags

I am using visual studio code for writing html but it doesn't have the feature of identifying closing tag for the current selected one. How can I achieve the sa

How to change the integrated terminal in Visual Studio code

I want to change integrated terminal to CMDER i use VS Code on Windows 8.1. I checked the docs and also preference file, but I am confused which line to change