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

How to auto compile without pressing the Watch Sass button

I am using Live Sass Compoiler which is an extension of vscode. I press the Watch Sass button every time I start vscode. How to compile automatically without pressing the button?

View Article


Breakpoint on a different folder in a Rails application doesn't work well

I'm debugging a Rails application that uses gems from my local environment. Is there a way to place a breakpoint in one of the gem's file and have it trigger when I debug my app ?

View Article


How to make IDEs handle Conditional Compilation?

I'm working on a firmware project, that has evolved over multiple products, each one has different 'features' which are often added via conditional compilation consisting of:#ifdef FEATURE_FOO #include...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio Code PHP Intelephense Keep Showing Not Necessary Error

After the latest update of PHP Intelephense that I get today, the intelephense keep showing an error for an undefined symbol for my route (and other class too), there is no error like this before and...

View Article

How to set require in vscode Lua settings.json

When one wants to include extra Lua libraries in VScode How should the settings.json look like ?Essentially my Lua looks like this: package.path = package.path .. ";D:\\InhouseApp\\1.9.0\\lua\\?.lua"...

View Article


C# - OmniSharp.MSBuild.ProjectManager Failed to load project file

Since i am currently learning C#, i tried to get .NET Core to work on my Manjaro Linux Notebook.I tried to install the ms-vscode.csharp extension, but when opening any .NET Core project i get the...

View Article

parameter implicitly has an 'any' type

I'm using visual studio code for a typescript project, where I use some 3rd party npm js libraries. Some of them don't provide any ts types (types.d.ts file), so whenever I use parameters or variables...

View Article

Blank white page on running flutter app on android

When I run a flutter app from visual studio code I get this unresposive blank white page in my android but when I run it from the terminal it runs well but then I cannot perform a hot reload. someone...

View Article


Angular CLI object doesn't update after the call of the api

I'm new to angular, I have an overview page that fills with a table if an array has any object. But when I tried to do this calling and API to get the data it doesn't retrieve anything.This is my...

View Article


Image may be NSFW.
Clik here to view.

Why does Python Code runs in Jupyter Notebooks but not in VScode? [closed]

I like to write my Python scripts in Jupyter Notebook since I can run individual cells and test the output. That said when I try and convert the code to a normal .py file the script fails to run. Below...

View Article

can't get VSCode to open external terminal with "console" in launch.json

I am setting "console": "externalTerminal" in my launch.json.Later, when using readline like so...readline = require('readline') var rl = readline.createInterface({ input: process.stdin, output:...

View Article

Image may be NSFW.
Clik here to view.

VIsual Studio Code does not highlight error in Keras code

I have code using Keras to train model and then save the trained model.model.save('incepv3_transfer.h5', overwrite=True, include_optimizer=True, save_format='h5') the save_format parameter should not...

View Article

Is there a way to access the defines in a VS Code c_cpp_properties.json file...

I'm starting to experiment with VS Code on Linux and trying to build a C++ project. The project contains a bunch of source files and a Makefile. To define C/C++ macros for IntelliSense, VS Code...

View Article


Cannot get "Run Test | Debug Test" options under @Test on vscode for Java

I am using vscode for Java and org.junit.Test as my test framework. I have followed the instruction on https://code.visualstudio.com/docs/java/java-testing, but I am not seeing the "Run Test | Debug...

View Article

Run JavaScript in Visual Studio Code

Is there a way to Execute javascript and display the results using Visual Studio Code?For example a script file containingconsole.log('hello world'); I assume that nodejs would be needed but can't work...

View Article


Image may be NSFW.
Clik here to view.

How to disable error highlighting in VS Code?

I need to disable error highlighting in Java files in VS Code. VS Code tries to check a Groovy file while thinking it is a Java file.As you can see in the picture all imports after the first and the...

View Article

Image may be NSFW.
Clik here to view.

VSCode doesn't understand React Fragment , doesn't recognize newer ES syntax...

I am running vscode version 1.39.2. The Syntax highlighting messes up for React fragments and new ES syntax.

View Article


Image may be NSFW.
Clik here to view.

"Cannot find debug adapter for type 'node'. "

I'm trying to debug node script in vs code.Below is my launch.json - { "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "name": "Debug sql report", "program":...

View Article

Readline, readline-sync and ttys are coming back with errors and/or not...

I hope you all enjoyed your Thanksgiving holiday.I am having a lot of trouble just trying to get a simple user-interactive username/password input running on node in Visual Studio Code.First I saw that...

View Article

How run the tests on save files in VSCode and dart?

How run the tests on save files in VSCode and dart?

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>