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

vscode format reactnative code and eslint conflict

Create project:react-native init AwesomeProject code:import {createDrawerNavigator} from 'react-navigation'; Press: Shift + Alt + Fcode: import { createDrawerNavigator } from 'react-navigation'; error...

View Article


VSCode: Snippet - Transform characters to another equal length line

What I would like: A snippet, call that Bound Line. When I trigger that snippet and type something like:This is my line and hit tab, it should print:This is my line C *************** 'C' where the...

View Article


is Undefined Errors in VS Code MinGW Vs. Win32

I am facing a problem with my VSCode.when i use MinGW it shows me errors of identifier ... is Undefined which does not affect the execution of the code, but when I switch to Win32 all these errors...

View Article

Visual Studio Code - Not able to upload nuget packge that is created locally...

So I have written two programs(Main program and Calculatorlib) on Visual Studio Code where I have created package locally for one of the programs(Caluclatorlib)by using the command dotnet pack. The...

View Article

How to fix "Cannot find runtime 'nodemon' on PATH. Make sure to have...

I try to debug nodejs app with nodemon on visual studio code so that I can auto restart the debugger each time I save my code. However, it just kept poping up this error message when I run my debugger...

View Article


Can vscode "go to definition" show the actual js code in node_modules instead...

Say I want to see expressjs code, but when I click var express = require('express')"Go to Definition" vscode will show me the typescript version, not the actual code in node_mudules.I search the...

View Article

In Visual Studio Code Ctrl+V is not working?

In Visual Studio Code Ctrl+V is not working on editor. However From the Command Palette Ctrl+Shift+V is working.

View Article

Image may be NSFW.
Clik here to view.

VSCode API - 'textInputFocus' for webview or custom undo handling

I am working on VSCode extension implementation. I am using webview for my extension - in result there is something similar to visual editor, when you can select items and edit. In result I want to...

View Article


.Net Core MVC Form submission posts to database, but View throws error

As the title implies, posting the data to the database isn't the problem. The problem is what happens to the web page itself once the data is posted. Basically, I want the user to stay on the page...

View Article


Open multiple Projects/Folders in Visual Studio Code

How do I open multiple projects/folders in a single Visual Studio Code instance, and open multiple files in single view? Does it has any option for future change request?

View Article

VSCode - How to manage User Secrets in .Net Core 2.0+ API

I'm very familiar with how to create and manage user secrets in Visual Studio by right clicking the project in the solution explorer. And managing the Is there a way to do this in VS Code? Does it...

View Article

VS Code doesn't format C# code

I created new file, set C# language, wrote some code. Then pressed Ctrl+Shift+F(or F1 - > Format Document). And got error Sorry, but there is no formatter for 'csharp'-files installed.Also I...

View Article

VSCODE cannot open display Gtk-WARNING**

When I try to launch a OpenCV script, which shall launch an image in another window I get this in the command prompt:Unable to init server: Could not connect: Connection refused(Puppy:27544):...

View Article


How to run CSS an HTML in the same file in VS COE with extension "Live Sever"...

Hello! Im with my friends are working on the same HTML, and CSS file in VS code with extension "Live Server". Html preview is working fine, but CSS is working only for host. How to solve this problem ?...

View Article

nvidia-docker from within VS code? (devcontainer json)

Is there a way to run nvidia-docker from vs code remote docker extention? The docker instructions are`nvidia-docker build -t detectron2:v0 .` `nvidia-docker run -it --name detectron2 detectron2:v0` But...

View Article


Can I relate lines of code in VSCode editor?

Is there any way to relate (connect) two lines of code in VSCode?I mean if I initialize variables at the beginning of the file, on lines 50-100, for example, and lines, where these variables are used,...

View Article

problem with IntelliSense in css code in vscode

i create to class in html code example (best1 best2) but in css file after (.)now show my class name in vscodeenter image description here

View Article


How do you hide deprecated warnings in vscode for c++?

I'm using commands such as printf() and scanf() a lot, and its really annoynig to declare in each new program that i want to make.Is there an easy way to just go into the settings, like in the linter...

View Article

How to run a custom task in Cygwin shell with VSCode?

I am trying to set my development environment for an AEM project in VSCode. I want to create various tasks to automate the syncing, fot that I need to use repo, which only works in the cygwin shell.The...

View Article

How Chinese character trigger VsCode completions?

I wrote a VsCode extension And I want to trigger that when I input a Chinese character. So is there a better way to do this than list all Chinese character?Following shows the API I...

View Article
Browsing all 97288 articles
Browse latest View live


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