Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Browsing all 97288 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

pylint marks error with all imports for libraries installed

I am using pylint with Visual Studio Code, and it works fine, with the exception that it marks error in all import clauses that are not modules from python or from my project. It marks error with...

View Article


US keyboard mapping of ctrl+` as ctrl+º in Visual Studio Code and Ubuntu...

Long story short I was trying to toggle the terminal and it did not work.I went to the keyboard shortcut and when pressing ctrl+` it was interpreted as ctrl+º and I wonder why...I know I could just...

View Article


VS Code Autocomplete python

I'm pretty new to python and would like to have autocompletion using vs code inside my project. For external modules it works fine but I dont get autocompletion for my own files/modules.For example, I...

View Article

I can't print to VSCode's console with stdout.write

I'm running a flutter application in VSCode and want to print to console using this code: stdout.write('Text'); But the console doesn't show anything after executing this line. Why is that? (print...

View Article

Install (Or suggest to) missing imported Python modules on VS Code like...

When we import a module that isn't currently installed on the Python used on the current environment, PyCharm suggest us to 'install missing module', if you click install, it'll install it...

View Article


Image may be NSFW.
Clik here to view.

How to turn off or change automatic linebreak when saving a file in Visuel...

Heres the line I'd like to demonstrate my problem with:return heroes.length > 0 ? Math.max(...heroes.map(hero => hero.id)) + 1: 11; At least this is the way I'd like it. Instead when I save the...

View Article

Image may be NSFW.
Clik here to view.

manage.py runserver no output

I've updated python 3.7 to 3.8 and after that when I want to run py manage.py runserver, or any other commands which are related to manage.py, I've got no output. I read about environment variables and...

View Article

Image may be NSFW.
Clik here to view.

js 'types' can only be used in a .ts file - Visual Studio Code using @ts-check

I am starting to use TypeScript in a Node project I am working on in Visual Studio Code. I wanted to follow the "opt-in" strategy, similar to Flow. Therefore I put // @ts-check at the top of my .js...

View Article


Image may be NSFW.
Clik here to view.

Manifest versionCode not found

I'm running my flutter project in android emulator. I was facing the following error. Screenshot attached.Launching lib/main.dart on Android SDK built for x86 in debug mode... Error running...

View Article


Visual Studio Code snippet as keyboard shortcut key

I know how to modify and create code snippets and I know how to modify shortcut keys, but how does one bring those 2 together?

View Article

vscode and jsdocs - How to use TS interfaces or types for javascript functions

I know that a type or an interface can be used for intellisensing function params or inline @type's. But is there some way to use types/interfaces to give intellisense to whole functions or object...

View Article

Image may be NSFW.
Clik here to view.

Working VSC Launch configuration for renderer process? ("breakpoint set but...

VSC: 1.42.1 Electron: 8.0.3 macOS: 10.14.5 node: 11.15.0I've been struggling for months with the "breakpoint set but not bound" issue when trying to debug the renderer process in Electron. I will spend...

View Article

Error angular 8 No 'Access-Control-Allow-Origin' header is present on the...

I am new to Angular and I am trying to fetch data from webApi controller and displaying it on button click but, when I click on a button, I get error:Access to XMLHttpRequest at...

View Article


Image may be NSFW.
Clik here to view.

Visual Studio Code : The 'C#' extension is recommended for this file type

So I recently installed visual studio code and added the C# available extensions. I also installed the Unity Debugger but it won't work because "it depends on an unknown 'ms-vscode.csharp' extension",...

View Article

Not able to use different shells on vscode

I installed git and used the use vscode as default editor option but bash isn't listed, if I look for bash, it's also not on the terminal if I try to change the shell. Only powershell and CMD. The only...

View Article


Image may be NSFW.
Clik here to view.

How to hide VSCode lines color?

I don't know what this is? So I can’t find solution in Google. HOW to hide this color?

View Article

How do I build and run C files that use math.h functions in VSCode?

As mentioned here: Undefined reference to pow( ) in C, despite including math.h, I can build C files that use math.h functions in Linux Ubuntu only in the terminal, by putting -lm at the end of gcc -o...

View Article


GitHub not working in Visual Studio Code on Linux but works on Command Line

On Ubuntu 18.04. When I try to use GitHub within Visual Studio Code, it says Git: git@github.com: Permission denied (publickey):ProblemHowever, everything works well when I use git / GitHub from the...

View Article

Should I install @types/node? It seems like VSCode automatically has it...

I saw a lot of people installing @types/node in their dev dependencies.However, if you open an empty folder in VSCode, and create an empty js file, and then you type:const fs = require('fs'); // <=...

View Article

Image may be NSFW.
Clik here to view.

Vs code html file is in white text

My computer crashed, when I opened vs code again my html file was in all white. My javascript and css have their normal colours.

View Article
Browsing all 97288 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>