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

How To Fix java.lang.ClassNotFoundException in Karate / VSCode

I'm running karate tests in Visual Studio Code and I get the following failure. I've compared the VSCode file structure and content to our working Eclipse setup and don't find any differences. Why does...

View Article


Code folds are automatically opened when cursor moves over them in VS Code...

I like to fold code in the VS Code editor, but even when I fold some code blocks, they are opened when I move over them with my cursor using j / k using the VS Code Vim extension. How can I protect my...

View Article


VSCode Regex Search and Replace to Remove Code Block

How can we use VSCode Search and Replace with Regular Expressions to remove a block of code with the pattern id: { ... field: "id" }, For example, if we have the following code:module.exports =...

View Article

Make selected block of text uppercase

Can I make a multi-line selection of text all capitals in Visual Studio Code?In full Visual Studio it's CTRL+SHIFT+U to do this.The extension that exists that I have seen only do non-multi-line blocks.

View Article

Find and replace with a newline in Visual Studio Code

I am trying out the new Microsoft Visual Studio Code editor in Linux Fedora environment. I would like to know how to replace new line (\n) in place of some other text. For example, I have html text...

View Article


Flutter not printing / debugPrinting / logging and ignoring breakpoints since...

Since upgrading to macOS Catalina, Flutter does not log anything anymore. I am using VS Code with the Flutter extension. It doesn't matter whether I run it via the Visual Studio Code extension or with...

View Article

Visual Studio Code - Automatically open terminal in new window

I didn't find how to automatically open terminal when i open a new window in vs code to avoid doing Terminal > New Terminal each new window.

View Article

Image may be NSFW.
Clik here to view.

Can I render and debug Objective-C code in VSCode

My project comprises a C++ core, iOS and Android wrappers (ObjC / Java) and a Python-wrapping-CMake build-system.C++ works fine. However an Obj-C header file (with .h extension) marks syntax errors...

View Article


How call peek window in visual studio

How can I call a peek window from my code, I'm developing an extension and I can find how called with my own parameters

View Article


Uninstalled everything I can find, but still extension host terminated...

I have been dealing with this issue for a couple of months, but still, I have not fixed it. I tried some solutions that I found other posts like, disabling live server, deleting the live server...

View Article

Highlight unused vars in vscode

Is there any way to highlight unused php-variables in vscode?<?php $foo = 'a'; $bar = 'b'; // I want the IDE mark this somehow $foo = 'c'; ?> I have "editor.showUnused": true in the config file....

View Article

how can i prevent vscode from opening when opening a folder?

Since about 4 months ago I installed a new version of vscode from the Windows installer, every time I try to open a folder at the first click it always opens with the vscode before Windows 7 explorer...

View Article

Can I disable auto import and import recommendations for deprecated components?

Is there a way to set a given React component as @deprecated so that it will not show up in the auto-import list?For example, I currently have 3 different iterations of a given component with the exact...

View Article


Output to local file using cloud shell in vscode on a MAC

I am new to VSCode on a Mac and I am using the Cloud Shell connected to Azure where I can run all my commands without issue. The problem I have is that if I want to use the export-csv command to export...

View Article

Visual Studio Code - SQL Results Column Width

I like using Visual Studio Code to query my SQL Databases, find it quicker and easier. Anyhow, does anyone know how to automatically set the column widths to Autosize in the results window? It makes it...

View Article


Trying to build Flutter app for distribution. Execution failed for task...

I'm trying to build an apk to upload to Firebase App Distribution. When I run ./gradlew assembleRelease appDistributionUploadRelease I get this error:FAILURE: Build failed with an exception.What went...

View Article

TabError while making discord bot

I'm making a discord music bot and I run the code with Visual Studio Code. When I'm using msg = message.content.split("") following error appears:Traceback (most recent call last): File...

View Article


Image may be NSFW.
Clik here to view.

Flutter suddenly stopped identifying Xcode

I have a MacBook Air.I have installed Android Studio, Xcode, VSCode, Flutter without any issue. I also managed to run a sample flutter app. In VSCode, I also installed the flutter extension.When I...

View Article

Image may be NSFW.
Clik here to view.

How to import javafx in VS Code on Ubuntu 18.04.1 LTS?

I've tried to search everywhere to find a solution for this problem but no solution is present on the internet, it seems.I'm using Ubuntu 18.04.1 LTS and visual studio code, while everything else seems...

View Article

VS Code Container Remote Extension: Could not fetch remote environment

I have a problem with VS Code remote development. I am using a docker container to isolate my environment. This works on my main machine, but not on my Laptop which I recently set up.The Laptop stats:...

View Article
Browsing all 98777 articles
Browse latest View live


Latest Images

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