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

How to create a custom fabric environment on ibm blockchain platform VScode

I'm using VSCode editor to develop a HF network using the IBM blockchain platform extension. I have written the chain code in golang and packaged it so that it's ready for deployed to each peer....

View Article


Padding not applied on html tags in angular material [duplicate]

This question already has an answer here:What does the dot mean in CSS? 5 answersI am trying to apply some spaces after a h1 tag in my angular application. I am using angular material. The CSS code is...

View Article


tasks.json for SDL helloWorld app on Mac with Visual Studio Code

I'm trying to learn how to use SDL on Mac, I have a working example running from command line with this structure : include (directory with the SDL include folder) lib (directory with the SDL lib...

View Article

Image may be NSFW.
Clik here to view.

How can I use jsDoc with mobx-state-tree?

I am trying to use jsDoc for my mobx-state-tree powered app but it does not react the way I want.Visual studio code does not show me the right properties of the corresponding type:jsDoc is a huge help...

View Article

How to Access file content in vs code extension

I want to scan through the currently opened file in the workspace. How do I do that? I tried below linesconsole.log(vscode.window.activeTextEditor); //Didn't workThe below code didn't work....

View Article


How can I fix this error ( Resource leak ) [closed]

The image of the code!Whenever I use the scanner this error always came up, but the code still can run but the error report always pops up. How can I fix this error. Thank for helping

View Article

Image may be NSFW.
Clik here to view.

Get Visual Studio Code snippets scope programmatically using API

Can I get the list of the available scopes for snippets?Is there any native functionality that would control what files to create and where?

View Article

vs code keymap doesn't work on cpp files - how to fix this?

I'm encountering a super weird issue. My custom keymap doesn't work on .cpp files - they work on every other kind of file. How do I debug/fix this?

View Article


Get rid of red lines in VSCODE

Red lines keep popping up as indentation guides, which I turned off thinking it was the problem. I have tried turning off via settings but nothing I seem to do work, it's telling me the source is from...

View Article


Visual studio code comment in HTML files

I am trying Visual Studio Code lately and i've noticed that when i try to add a line comment in an HTML file (using Ctrl+/ or Ctrl+K Ctrl+C) instead of this: <!-- -->, i get this {# #}.In JS or...

View Article

Image may be NSFW.
Clik here to view.

Keybindings "value is not accepted" (after the 1.40 update)

I have several entries in my keybindings.json file. Yesterday, shortly after updating to the October VSCode release, I tried adding a few new keybindings through the "Keyboard shortcuts" via the...

View Article

Build and debug a single Java package with "Debugger for Java" VS Code extension

I need to configure a VS Code debugger in such a way so that it could build and run only specific packages from my Java project without even touching the others.The problem is that I have a huge...

View Article

How to fix "{"name":"error","attributes":{"message":"Exception happens in the...

I have installed Java Language support extension and have imported TestNG jar but on running the Test in VS code the following error is printed in Java Test Runner console...

View Article


LWC deployment Error while deploying from VS Code

Hi I am having issue while deploying the new created LWC component from the VS Code to my dev hub org.Please find the error as below :19:18:39.577 sfdx force:source:deploy --sourcepath...

View Article

The difference between running c++ programs with VS and VScode

The following program runs completely differently on VS and VScode:My VScode's configuration environment is MinGW.I was able to run the correct result on VScode, but it was wrong on VS and its output...

View Article


How do you get a user input in python in vscode?

Do I need to import something? I have tried using "raw_input" then in brackets the question the user will answer, however when I run my program, vscode says that raw_input is not defined. raw_input is...

View Article

Image may be NSFW.
Clik here to view.

Python in VSCode can't find module even changed to a right environment

I'm using VSCode for python programming. The interpreters are from Anaconda (Python 3.7 in the latest version of Anaconda). I've added the Anaconda folder path into the system environment...

View Article


Load and display output cells in existing Jupyter notebook in VSCode

I have an existing .ipynb notebook file that contains "outputs" entries for most of the cells. When I load this in VSCode (1.39.2, Python Extension 2019.10.44104), it does not load/show the "outputs"...

View Article

Error in index.d.ts file in node_modules/@types/chai folder

Getting the below error on running "npm run am:remote:dev" command. Error showing in lines from 912 - 1916. node_modules/@types/chai/index.d.ts(1879,43): error TS1005: ',' expected....

View Article

VS code ssh trouble for non-22 port

VSCode Version: 1.40.0Local OS Version: Windows 10Remote OS Version: CentOS 7Remote Extension/Connection Type: SSHSteps to Reproduce:Use SSH to connect host with non-22 port and declare it in...

View Article
Browsing all 98472 articles
Browse latest View live


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