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

Programmatically detect light vs dark colour theme

Is it possible programmatically to detect if the current theme is light or dark in VSCode?Use Case:I am developing a VSCode extension which is going to add Hovers to the editor, and I would like to...

View Article


Image may be NSFW.
Clik here to view.

Detect light/dark theme programmatically in Visual Studio Code

I'm developing a Visual Studio Code extension that enables previewing mermaid diagrams:The extension uses a default stylesheet that works fine if using the light theme. However, if the user has...

View Article


Visual Studio Code, open file shortcut for double click

I am using the ctrl+, keyboard shortcut to navigate between files. However when I select a file and press enter it opens file in the existing tab with italics on the title. If I select another file...

View Article

Is there a setting for enabling scrolling with finger within line number area

On a touch screen when line numbers are enabled on visual studio code it would be nice to scroll the code area with thumb by sliding the line number area. This is not possible. Is there any setting for...

View Article

pipe operator not supported with : Angular[Typescript] - rxjs - combineLatest

The Code with the proplemimport { Injectable } from '@angular/core'; import { AccountingTransactionsStoreService } from './accounting-transactions-store.service'; import {...

View Article


Is it possible to have one tab with a vertical split view of a file in VSCode...

In Visual Studio Code I can split the view and see two areas of the same file side-by-side.But then I seem to have two views from then on. Each side has a number of tabs to choose from. So I can switch...

View Article

Image may be NSFW.
Clik here to view.

VS code doesn't show settings defaults json file beside my customization

I'm trying to master working with visual studio. In the Intro Vieos the lecturer after opening User Settings shows that on the right side there are the default values for all settings and he can edit...

View Article

Component can't read service (VScode with linter doesn't notice anything)

I'm newbie with angular8. I'm writing a component that reads a simple service. During the writing of the code with VScode no error is triggered, while when I serve the application, this error...

View Article


No Intellisense in VS Code's Python Debug Console

I'm moving from PyCharm to Visual Studio Code. PyCharm's debugger has an "evaluate expression" option which is quite handy. VS Code's Debug Console is a decent alternative to that. Unfortunately,...

View Article


Image may be NSFW.
Clik here to view.

ts cannot find module '@angular/platform-browser';

Images of filesI am having this error and i am not able to figure that out.I am trying to import angular/core and angular/platform-browser . I followed many links on stackoverflow but none of them...

View Article

Visual Studio Code: Unable to watch for file changes. Why?

I often get the "Visual Studio Code is unable to watch for file changes in this large workspace" -error and I can't figure out why. Visual Studio Code (Linux): 1.24.1 My exclude setting...

View Article

Visual Studio Code is unable to watch for file changes in this large...

My IDE is not monitoring. I'm using VS code editor. I'm getting the following errorVisual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC) #29

View Article

input cannot focus when switching webview

I created a simple demo, modified with webview official instance, please help to look at this problem: https://github.com/roguexiaohuihui/input-focusthe demo content:1、Run the Cat Coding: Start cat...

View Article


How to configure Visual Studio Code to build a project with IAR compiler?

I want to use Visual Studio Code as my main IDE, but I want to compile my code with IAR's compiler.How could I configure VSCode ?I found this extension but the documentation is too poor.

View Article

index of a file in git has been deleted in Git

Can someone tell me what does it mean when the index of a file in git has been deleted? Those files are flagged in red in my VS Code, but I still can modify the file and push the changes to a remote...

View Article


Image may be NSFW.
Clik here to view.

Is it possible to make a full-screen editor in VSCode?

I'm pretty new to VSCode and the question may look silly. But I'd like to have the ability to make an editor window to be a full screen. I mean I usually have two vertically splitted windows with code...

View Article

Eslint is not working in my react application

I am trying to add eslint to my typescript create-react-app application. I am using Visual Studio Code.I did :Download Eslint package in visual code Download Eslint packageI installed 3 eslint...

View Article


bottom navigation bar flutter detail page

good morning community I have the following flutter code of an interface with bottom navigation tabs, I have two concerns how can the app not navigate the state two every time the user clicks and my...

View Article

How to stop execution of python script in visual studio code?

I have the following code which I am running from within Visual Studio Code using Right click > Run Python File in Terminalimport threading def worker(tid): """This is what the thread actually...

View Article

How to work with OpenSSL for Rust within a Windows development environment

I can't build my Rust project when I add an SSL dependency in my cargo file. This isn't new to Windows, but I'd like to resolve the issue such that I can use Powershell and native Windows development...

View Article
Browsing all 97288 articles
Browse latest View live


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