Category "visual-studio-code"

Using python 3.10, but pylance still says "alternative syntax for unions requires python 3.10 or newer?"

So I just upgraded python to 3.10 for the new features, and when I do import sys; sys.version using the ipython console in vs code, it prints python version 3.1

Using python 3.10, but pylance still says "alternative syntax for unions requires python 3.10 or newer?"

So I just upgraded python to 3.10 for the new features, and when I do import sys; sys.version using the ipython console in vs code, it prints python version 3.1

module lookup disabled by GOPROXY=off, but go env shows GOPROXY is set

When trying to lookup some modules, I am having an issue from VS Code where the error pictured below indicates that my GOPROXY is set to off, but when I run go

Property has no initializer and is not definitely assigned in the constructor (when declaring new variables in typescript)

export class Patient { icNumber: string; fullname: string; password: string; birthday: Date; gender: string; address: string; email: string; ph

Emmet for React.js Classes: "styles.something"

I am a React developer using VSCode. When you type .hello, it inserts<div className="hello"></div>. However, that is useless because my classes are

Adding Javalin dependencies

I'm trying to use Javalin in my project and I can't seem to understand how to add the needed dependencies in order to work with Javalin without compliation erro

Is there a way to turn off, completely, the ability to Font Zoom in vscode?

I often find myself accidentally zooming editor font size in Visual Studio Code. After scrolling there seems to be a slight continuation even though I'm able to

How to install and use Scrapy within a TERMINAL opended within Visual Sudio Code under Windows 10?

within the TERMINAL window having the prompt PS C:\Rolf\py_scripts I have run pip install scrapy I got the message Successfully installed Automat-20.2.0 PyDisp

VS Code - How can I produce a strongly named assembly?

I have a class library I use for an assembly. It is comprised of three classes - classes A and B provide supporting types and methods for class C. After an asse

ESLint not configuring on save in VSCode

I have a React project, and am having an issue with saving automatically in VSCode. It works for Typescript files, but I am getting the following error: "Extens

Firebase working in cmd but not in git bash

I am building a react project on Visual Studio Code and want to use firebase but when I am giving the command firebase login, it says C:\Users\ajay\AppData\Roam

VSCode Haskell Extension Error: `ghcup --no-verbose upgrade` exited with exit code ENOENT

When opening a Haskell file with VSCodium (I don't think that makes a difference), I get the error `ghcup --no-verbose upgrade` exited with exit code ENOENT. He

Jupyter in Vscode: cell output keyboard navigation

Is it possible to navigate with the keyboard the output of a cell? Effectively, set the focus on the output, than scroll with the keyboard horizontally or verti

Is there a way, in VS Code, to warn me before pushing git changes to a distant branch?

I often do the same mistake, I do some corrections (or modifications) on my code, forgot to create a new branch for it and push it directly on the develop branc

properly executing single line in vs code python

hello this is sth simple probably but I want to execute my python code line by line in vs code I am executing the same code without problem in jupiter notebook

React Native TypeScript WebSocket onerror Value of "this" must be of type Event

I'm trying to implement WebSocket support into my app by following React Native's own tutorial at https://reactnative.dev/docs/network#websocket-support. Here i

About adding a snippet for python in vs code

How to write a snippet for 'main' function in vs code? It's not allowing to put double "" in between the body. Here is what I have written: "Print to console":

bracket pair can't match in mac vscode txt file

I want to highlight and jump(command+shift+\) between the bracket pair in text file just like in json files and other format files. Please help me,thx! And th

Cannot debug C# tests with visual studio code on linux

I have a c# project which I want to unit test. I'm trying to simply debug a unit test in VSCode running on linux, but I get the following error: Failed to start

Everything on my pages works fine on VScode's live server but not on local

When previewing my pages with a live server everything works fine. but when I tried to open my index file from local it didn't show CSS or anything. and when cl