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

Setting Flutter log Levels / Flutter printing thousands of verbose lines

Flutter log prints thousands of verbose/spam logs.I am trying to debug a complex app but flutter printing so much verbose that it is difficult for me to find things which i am printing myself.Is there...

View Article


Python modules in visual studio code Ask Question [closed]

How to write code on visual studio code for sending emails to anyone?

View Article


Create/Delete fail due to cached ID?

I have the following code (set up for Go unit testing) in Visual Studio Code (VSCode). It basically consists of 4 unit tests: TestGormCreateDB: Re-create MySQL database users tableTestCreateMoon: Add...

View Article

VScode Prettier TS optional Chaining error

Vs code > OUTPUT > Prettier2/23/2020, 12:10:36 PM: ----------------------- Expression expected. (/Users/yanivper/dev/test/test.ts:2:23) 1 | function test(obj) { 2 | return obj.a?.b; ^ In a new...

View Article

Flutter app doesn´t compile in android after adding dependency to pubspec.yml

I have added the simple_permissions dependency to a flutter app i'm developing, but after adding it the app wont build with the next error:Launching lib\main.dart on LG M700 in debug mode... FAILURE:...

View Article


Sorting files in VS Code Explorer

I'm using VS Code 1.25.1 on Win10. When I open the Explorer icon and look at a list of files in a folder, it shows the files listed alphabetically. I want to sort them by date modified, but I don't see...

View Article

Visual Studio code and Angular 9 Definition [closed]

I am learning Angular 9 with Visual code as editor. In one of the tutorials, the tutor jumps to the actual Angular core module using ctrl + click to see the actual implementation. It is not working in...

View Article

VSC unable to watch for file changes in this large workspace weird

I just started using VSCode version 1.24.1.After loading a folder, it shows warning Visual Studio Code is unable to watch for file changes in this large workspaceAfter i check the limit as suggested on...

View Article


opying a file when executing the building task

I would like to copy a .dll into the folder where the project is compiled when I run the building task. I want to put the whole thing in the task.json of the visual studio code but unfortunately I'm...

View Article


Image may be NSFW.
Clik here to view.

Keyboard shortcut to extract local variable in JS/TS in Visual Studio Code

I am looking for a shortcut that is available in Eclipse and called "extract local variable". It will assign the return value of the selected function invocation to a variable:Is something similar...

View Article

Image may be NSFW.
Clik here to view.

VSCode CSS beautify formating with indentation

How to set VSCode to beautify CSS and add indentation as in the attached picture?

View Article

Image may be NSFW.
Clik here to view.

Visual Studio Code: How do I decrease the width of the right panel?

After the recent update, the width of the right panel in Visual Studio Code was increased. See the image below.I would like to adjust the width of the panel on the right.

View Article

How can I get the difference between 2 times in FLUTTER?

I'm working on a flutter app as a project and actually I'm stuck with how to get the difference between two times. The first one I'm getting it from firebase as a String then I format it to DateTime...

View Article


How do I turn off "Contains emphasized items" in Visual Studio code?

I need to figure out how to turn off emphasized items in Visual Studio CodeThis might sound like a strange requirement, but in my workflow vscode functions as less an IDE than a cross-platform...

View Article

Ceate a new VsCode custom taks option with my specific schema

I want to create a custom task with my own schema (specific schema) , like the default tasks which have there own schema , ( like msBuild / Maven /.NetCore etc that open for you predefined tasks ,I...

View Article


How to Redirect input/output to/from the debug target in vscode

"version": "0.2.0", "configurations": [ { "name": "Python: Current Fisle", "type": "python", "request": "launch", "program": "${file}", "console": "integratedTerminal", "args":...

View Article

How can I debug sub-process in vscode?

I am using execa to spawn a sub-process in index.js, but I can't debug the spawned file(log_ok.js). this is the code, does anyone know how to debug it?index.jsconst execa = require('execa');...

View Article


Image may be NSFW.
Clik here to view.

Unable to run typescript build task

I am trying to compile typescript code to JavaScript by following the documentation. I created the watch task to compile the .ts files on pressing Ctrl+Shift+B. However, I get the error after I run the...

View Article

Electron/NodeJS/VSCode: What kind of syntax or infrastructure problems won't...

ProblemWhen working with Electron and VSCode, I've had a few syntax problems in code but no errors/warnings showed up in either VSCode's debug console or the Electron Chromium consoles. With the...

View Article

Can't debug current typescript file in VS Code because corresponding...

I am using Visual Studio Code version 1.17, and my objective is to debug the current typescript file. I have a build task running, so I always have a corresponding javascript file like...

View Article
Browsing all 97288 articles
Browse latest View live


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