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

How to align multi line array in Vscode

In PhpStrom there are some facilities which are short arrayAlign when multiline and many more Here is an examplehttp://prntscr.com/pyfkc8Another LinkNow I want to align array in vs-code ....How can I...

View Article


powershell in vscode pastes clipboard content on pressing 'w'

I'm not sure how that happened. I tried to create script, to work with some legacy solutions:#!/bin/bash echo "Enter pass" stty -echo trap 'stty echo' EXIT read pass stty echo trap - EXIT echo "Nice!"...

View Article


When are the "Automatic Optional Chain Completions" triggered in VS Code?

VS Code 1.40 has two new settings javascript.suggest.includeAutomaticOptionalChainCompletions and typescript.suggest.includeAutomaticOptionalChainCompletions and I understand these are supposed to...

View Article

Reuse the same terminal window

I am using the external terminal, and every time I run java it opens a new terminal window. Is there anyway of reusing the external terminal window?Part of the reason is that I have my terminal...

View Article

Image may be NSFW.
Clik here to view.

Different Typescript inference management between vscode and monaco-editor

I just made a complex function that take 3 arguments : name, types and method. This function stores a method in a store. It infer the return type of the third agument from the second...

View Article


Import error when debugging youtube-dl in VS Code

I'm trying to write a new extractor for youtube-dl. First I want to debug the __main__.py to get to know the tool, but I cannot debug using VS Code. Here's my launch.json:{ "version": "0.2.0",...

View Article

Image may be NSFW.
Clik here to view.

I can't set up JDK on Visual Studio Code

I saw this, clicked on it, it redirected me to Red Hat site and made me downlaod Red Hat Developer Studio, but as I said I want it in Visual Studio Code. I did download JDK but don't know what I am...

View Article

There is error while running Ionic app in android device

An error occurred while running subprocess cordova. cordova.cmd build android exited with exit code 1. Re-running this command with the --verbose flag may provide more information.

View Article


TSLint: Cannot find module '~~~' in test directory

First, this is my project directory structure:- / - .vscode - src - libs - models - errors - routes - api - user.ts - index.ts - test - api - User.test.ts - tsconfig.json I use ts-node to run...

View Article


Image may be NSFW.
Clik here to view.

What are ALL configuration files used by Visual Studio Code?

VS Code from what I know handles User and Workspace configurations in JSON format. It creates .vscode folder in the working directory (when necessary) and another in user home (e.g. used to store...

View Article

Using IBM blockchain platform extension in VSCode using command line

My VsCode editor is installed on a linux machine(Ubuntu 18) I have been using IBM blockchain platform extension in vs code to start local Hyperledger fabric environment. However i would like to start...

View Article

How do you configure VSCode jsconfig for React?

I am trying to make VSCode to work smoothly with my React project. I am refering to the ability to click into a component and go inside, peek at the component or propose stuff for auto completion...

View Article

Debugging C in VS Code on Linux Mint does not work

I want to debug a C program. By clicking on "Add Configuration..." or clicking the Settings-Button, nothing happens. I recognized that the text "Activating extensions..." appears at the status bar. I...

View Article


Image may be NSFW.
Clik here to view.

Intellisense (VS Code) for Unity not working in Linux, requires .NET Dev Pack...

I've recently installed Unity 2019.2.12f1 on my Linux Cinnamon 19.2 machine, and got Visual Studio Code purely for the Intellisense feature. However, as with all Microsoft products, something went...

View Article

Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system',...

I just downgraded Angular(to 1.5.7) and typescript(to 2.3.0) and this error showed up Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015'.this is my...

View Article


vscode insert date time each new line?

I would like to (ab)use vscode as a tool for some specific live-logging. For this purpose I would like to have it insert the current date, time at the beginning of each line. I did look here: How to...

View Article

Visual studio code user snippets capitalize not working properly

I wrote such code"State": { "prefix": "state", "body": [ "const [$1, set${1:/capitalize}] = useState($2);" ], "description": "Adds state" }, I expect that the result will be (if I enter test in $1)...

View Article


Image may be NSFW.
Clik here to view.

How do I stop VS Code IntelliSense suggestion box from taking control of the...

I'm coding in Python, and when I get to the end of a line, the VS Code IntelliSense (or something) displays this pop-up that requires me to press enter or esc to dismiss. So if I'm trying to move to...

View Article

Unity attached Editors does not show suggestions (No IntelliSense)

I work offline at Home developing at Unity, I open Unity after a long time when scripting it does not show suggestion while scripting in VS Code. After this problem i installed Monodevelop for fixing...

View Article

React intellisense in Visual Studio Code

I'm sure I'm missing something simple, but I simply can't get React.js IntelliSense to work in Visual Studio code.I have done the following:npm install typingsext install Typings Installer in Visual...

View Article
Browsing all 98994 articles
Browse latest View live


Latest Images

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