Edit and Continue: "Changes are not allowed when..."

Even if I create a clean WinForms project, Edit and Continue doesn't work and gives me the error: Changes are not allowed when the debugger has been attached to an already running process or the...

How do you auto format code in Visual Studio?

I know Visual Studio can auto format to make my methods and loops indented properly, but I cannot find the setting.

Visual Studio Redo shortcut Ctrl + Y stops working after copy

I am working on Visual Studio 2010 . I did some changes in code but then wanted to see how a block of code looked like before editing . So I did Ctrl + Z undo and then proceeded to copy the...

Get Value From ASM (Assembly 64-bit) C++

I am having problems with Assembly & C++, I was just playing around and learning how to use Assembly in C++ but I couldn't seem to be able to get a function in asm to return the value I wanted it...

Debugging current file in VS Code

I am writing javascript and am currently doing simple exercises/programs. At times, I wish to run my file for testing purposes. I am aware I could create an HTML file and do this within the...

Visual Studio Code disabling Normal, Edit and Visual Mode

In my Visual Studio Code, I need to hit 'I' to enter to the Edit Mode. Hit 'Esc' for the Normal Mode. Selecting the word enables the Visual Mode. In visual mode, I can't delete the line or word...

How to open a file from the integrated terminal in Visual Studio Code?

Is there a way of opening a file from the terminal in Visual Studio Code that opens in the same vscode instance that runs the terminal? Similar to c9 tool in Cloud9. I'm aware of the code tool,...

"Type 'EventEmitter' is not generic" ERROR in angular

I'm currently following a tutorial and the tutorial is making use of EventEmitter. The code goes like this @Output() ratingClicked: EventEmitter<string> = new EventEmitter<string>(); But...

Flutter: "Lost connection to device" error after Hot Reload

Here's the full error from the debug console: Launching lib\main.dart on Android SDK built for x86 in debug mode... Built build\app\outputs\apk\debug\app-debug.apk. I/FlutterActivityDelegate(...

How to change font size in VS Code sidebar?

Querying for fontsize in User Settings window yields only settings for: editor panes, suggest widget, markdown preview, integrated terminal as you can see below: Doing the same for sidebar...

IO Exception in .NET Core application

I am just starting working with ASP.NET Core 2.0 on a Windows machine. I cannot run kestrel server due to the port 5000 being used by some other apps. Exception has occurred:...

Unable to compile SFML C++ code with g++ from Visual Studio Code

I'm trying to compile some C++ code in Visual Studio Code but I want to use the SFML library and for some reason it just can't find my library. I am using the c/c++ extension which is configured...

Set background color on Visual Studio Code Markdown Preview

I'm currently using the default Dark+ color theme on Visual Studio Code and the markdown preview is using the same style (black background color and white text). How can I change to a light theme...

global keyword in python

I'm studying python, and getting struggle with the global keyword within vscode. So far the code is working, but the vscode linter is raising an error, and I would like to understand why I've...

I can't delete folders inside WSL which I accidentally created through Windows

I have WSL with a directory ~/library created within WSL. Then I ran VSCode and opened this folder directly from Windows Explorer, causing to open it as a "local Windows" folder instead of WSL....

Which preferred IDE for Office JS Excel addins

I am trying to develop add-ins for Excel with the Microsoft JS API. I have read the book from Michael Zlatkovsy about building office add-ins using Office.JS. but it is a very steep learning curve...

How do you auto format code in Visual Studio on save?

is there any way to auto-format HTML and Javascript code on saving in Visual Studio like Visual Studio Code?

Why does Xamarin Android fails to send GRPC/Http2 requests?

I'm trying to run the xamarin forms sample from the Dot net conf 2019 keynote. I've hosted the grpc service and a .net core console application can get data from it without any issues. But when...

Visual Studio Code Remote Development crashing AWS instance

I came across Visual Studio Remote Development crashing a AWS instance and i'm hoping to solve this by increasing the instance memory. I have not tested it out yet. Connection is ok and I can do...

How to fix Command PhaseScriptExecution failed with a nonzero exit code on flutter run in macOS?

I am working on a flutter app. I recently shifted to macOS and since then haven't been able to run the app. Other apps are running fine so I think the error is in within the code of this app. And...

Configured debug type "python" is not supported for VS Code

I have issues debugging with VS code. I have installed python for vs code extension and reloaded it several time. But when I tried to run in the debug mode, I have the following error The debug...

Python 3: EOF when reading a line (Visual Studio Code)

I use visual studio code to program in Python, and whenever I try to take user input, Visual Studio Code throws me an "EOF when reading a line" at that specific line. However, this code works...

Pod install error on M1 Mac - Flutter project with native code like shared_preferences

I'm on a MacBook Pro M1 (and before someone says well it's because of M1 or something else, I've been programming with Flutter and M1 for weeks but then I must have to reset my M1 and after this)...

How do I install pandas into visual studios code?

I want to read an excel csv file, and after researching, I realized I need to import pandas as pd. Is there a way to install it into the visual studio code? I have tried typing import pandas as...

#include errors detected. Please update your includePath in visual studio code

I'm trying to compile C++ files in Visual Studio Code How to use C/Cpp extension and add includepath to configurations but I'm getting this errors: #include errors detected. Please update your...

Convert a string to base64 in JavaScript. btoa and atob are deprecated

I have been working on some projects in VS Code lately and suddenly started receiving notifications in my code that btoa and atob are now deprecated. I can't find any resource for this besides VS...

install dtaidistance -> Exception: The compiled dtaidistance C library is not available

I try to run dtaidistance but when running the following code according example : from dtaidistance import dtw import numpy as np timeseries = np.array([ [0., 0, 1, 2, 1, 0, 1, 0, 0], ...

How to disable blue warning underline sign in flutter/dart extension?

Can someone tell me how to disable the warning underlines in my code? I have posted the picture below. The blue wiggly signs are a pain while writing more codes. I tried to disable the SDK...

C# Delegate from VB.NET

I have a legacy solution which has some C# projects (newest ones) and some VB projects (oldest ones). I know it is not a good practice, but it is what I have now, so I have to deal with it. In a...

Visual Studio 2022, C# formating question?

I am watching video lesson and when teacher starts writing code "grey formating letters appear" I attach screenshot to this question. Do anybody know how to activate it? I am using Visual Studio...