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

VSCode problemmatcher: Unknown subfolder for file location

I have a problem matcher defined like this:"fileLocation": ["relative", "${workspaceFolder}"], And I only know the name of the file and NOT the relative path from my compilation output. Than it only...

View Article


VSCode PhpStorm formatter fails

I have installed PhpStorm formatter in VSCode (latest update) and we have PhpStorm installed on the computer I work with. I went to preferences/settings and I set the "Editor:default formatter" to...

View Article


How to disable browser launch when building and running in .NET Core

I'm developing a Web API with .NET Core in macOS with deployment to Linux. I have absolutely no interest in using the browser. However, when building and running from Visual Studio Code (Debug or not),...

View Article

Image may be NSFW.
Clik here to view.

Change terminal in visual studio code by iTerm2 with Powerlevel10k

I'm trying to change my VScode terminal. I have followed this tutorial. My iTerm terminal has been changed perfectly : I tried to edit my settings.json files in VScode like this : {...

View Article

Cannot link css file to HTML file in VScode [closed]

The codeDirectory which I use: (Desktop)/HTML/omnifood/ (resources,vendor,index.html) resources/(css,img,data,js) css/style.css```

View Article


Image may be NSFW.
Clik here to view.

vscode: update to stylistic sets using font ligatures with Fira Code

See October, 2019 Release Notes - stylistic sets.Font feature settingsThere is now more fine grained control over the font features. When configuring "editor.fontLigatures": true, VS Code would turn on...

View Article

Image may be NSFW.
Clik here to view.

How can I enter input in the output of vs code?

How would I enter user text (entered via cin) if I build the file using the top right button in the image below?Is there a plugin that I have to use to disable the readonly console?

View Article

Image may be NSFW.
Clik here to view.

How do I fix the following phpcs error in Visual Studio Code?

I am new to VS code. I am trying to work with PHP, but I keep getting this notification.phpcs: Request workspace/configuration failed with message:unable to locate phpcs. please add phpcs to your...

View Article


Image may be NSFW.
Clik here to view.

Why have parenthesis become red in Visual Studio Code when writting TypeScript?

They used to be white as seen on https://code.visualstudio.com/docs/languages/typescript.

View Article


Changing the colour of curley braces inside VSC

I write content in VSC and I use handlebars to write content.{{#jan}} Hello my name is Tony {{else}} Hi my name is Bob {{/if}} Is there any way I can get the content inside the {{}} to highlight...

View Article

VSCode Remote SSH Connection Failed

I'm trying to use the Remote-SSH extension to edit files on a Debian server. The SSH connection is established correctly but then I get an error message :Failed to connect to the remote extension host...

View Article

Python/Jupyter notebook in VSCode does not use the right environment

The situationI use Anaconda 3 on Windows 10.I have a Visual Studio Code workspace (my_workspace) than contains a Jupyter notebook (my_notebook.ipynb). VSCode has the Python extension installed.The file...

View Article

I cannot create conda virtual environment using cmd or powershell using VS...

D:\Codes\VSCode>conda activate env -n testenv activate does not accept more than one argument: ['env', '-n', 'testenv']D:\Codes\VSCode>conda create env -n testenv Collecting package metadata...

View Article


Whenever I switch from command prompt to windows powershell on visual studio...

I get the following Unexpected token errors. What to do guys please help me.Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.Try the new cross-platform PowerShell...

View Article

Is there a way to not have to change access permission in /var/www/ on ubuntu...

I am working on Apache2 OctoberCMS projects in the /var/www directory on Ubuntu, and every time I start a new project, or create a new file/ folder in there, I have to ensure I have permissions by...

View Article


How add keywords (for syntax highlighting) in vs code for c and cpp

I program C and CPP code in VS code.I have certain macro's for which I would like the same color highlighting like 'if' and 'else; etc.I have searched the internet for the solution, but I either cannot...

View Article

Image may be NSFW.
Clik here to view.

Adding a timestamp to each Chrome debug entry

Now that I can wonderfully debug my Angular/TS code directly from VSCode, i would like to differentiate the various console.log() that i trigger along my debugging session.I activated the 'Show...

View Article


Errors while using VS Code extension

I try to use the VS Code extension for Isabelle 2019. When I try to open the Isabelle output I get the exceptionException in thread "event_timer" java.util.NoSuchElementException: key not found:...

View Article

How to run unsafe code in "visual studio code"?

I am using Visual studio code and when I try to run an unsafe code it throws the following error ""message": Unsafe code may only appear if compiling with /unsafe"and as in visual studio, it does not...

View Article

Create a snippet tree in VSCode

I was wondering if it is possible in VSCode to create a folder tree with snippets inside like so: my-component |_index.js (filled with a placeholder component) |_styles.js (filled with a placeholder...

View Article
Browsing all 99062 articles
Browse latest View live