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

Image may be NSFW.
Clik here to view.

VsCode - Editing .clang-format has no effect

I have installed the Clang-Format extension and the C/C++ extension. My code does format according to the .clang-format file (according to its content as it was downloaded from the Clang-Format...

View Article


using message collector to collect for an embed

I am trying to change an embed command. What I want is when someone types the command in for the bot to ask what would you like to embed, then when the users respond the both then posts it as an embed....

View Article


Image may be NSFW.
Clik here to view.

Unknown error while debugging a QT-application with Visual Studio Code and...

I try to debug a QT-Application in Visual Studio Code with CMake Tools. Everything works fine, but when I try to open a fileOpenDialog, the debugging crashes with an error:Unable to open...

View Article

Visual Studio Code - Shortcut - Collapse all files in explorer

Can you anyone provide the shortcut for collapse all files in visual studio code explorer?

View Article

vscode.languages.registerCompletionItemProvider not working with 'markdown'

I am trying to write a VS Code extension to provide a completion provider in markdown, but following the example from Microsoft from this repo I can't seem to get things working when I switch the...

View Article


How to change vscode ssh remote server install dir

ssh remote create default dir 'home/user',but I would like to create the server dir in 'home1/user' on my remote server, how can I do this

View Article

Pylint does not recognise PYTHONPATH in VScode

I'm sure I'm doing something wrong(i.e. stupid), but running from stuff.modules import maths Pylint just keeps giving No name 'modules' in module 'stuff' pylint(no-name-in-module) Unable to import...

View Article

Problem with importing camelcase module to Python (VSCode terminal)

I am trying to import camelcase module to python:from camelcase import CamelCase txt = 'hello there world' c = CamelCase() print(c.hump(txt)) I get an error: ModuleNotFoundError: No module named...

View Article


How can you disable Gutter Indicators in VS Code?

In VS Code, if there's version control in a folder you're working in, it will try and indicate what lines are new and what lines are changed with little color patches in the "gutter" section. Actually,...

View Article


VSCode debug PHP and Javascript at the same time

My php application incluede minified javascript code for the frontend, the script is generated by grunt task wich use browserify (with transform vuetify) for handle .vue script. My target is to run a...

View Article

I can't seem to get the msvc linker to work properly on vscode

I have this really simple program that's made up of 2 files. main.cpp has the main function:[main.cpp] #include <iostream> #include <string> #include "calculator.h" using namespace std; int...

View Article

Shortcut for joining two lines

What's the keyboard shortcut for joining two lines in VS Code?If the cursor is anywhere in the first line of f(foo, bar) then when I hit the shortcut, I want to get f(foo, bar)

View Article

How do I draw recursive Sierpiński arrowhead curve using python turtle...

Hi I am trying to draw a recursive Sierpiński arrowhead curve using turtle graphics in python on Visual Studio Code. I can get the basic shape just fine but I can't seem to make it rotate correctly to...

View Article


Is it possible to connect vscode (on a local machine) with Google Colab (the...

I know on GCP, we can set up a vscode server and connect to that. But what I'm after here, is to know whether it is possible to connect to the runtime instance on Google Colab (the free one ie:...

View Article

Use multiple workspace folder with liveserver in VSCode

so i just got into webdevelopment and im using VSCode for the first time. I've installed Live Server to preview my code after i've written it. The problem is, i have mutliple Workspaces with multiple...

View Article


Setting up tsconfig with spec/test folder

Say I put my code under src and tests under spec:+ spec + --- classA.spec.ts + src + --- classA.ts + --- classB.ts + --- index.ts + tsconfig.json I want to only transpile src to the dist folder. Since...

View Article

How to launch Chrome from Visual Studio code?

I am using Visual studio code for front end works. How can we launch Chrome or any browsers in debugging mode or run the html file from Visual Studio Code?

View Article


Image may be NSFW.
Clik here to view.

Modify Visual Studio Code interactive console

I'm using Visual Studio Code with Python as a sort-of-replacement for Spyder.I'm using the interactive (jupyter/ipython) shell with the variable explorer (the one that is displayed on the right side,...

View Article

Temporary Vertical rulers in Visual studio CODE

I know that in Visual Studio Code it is possible to edit settings to render vertical rulers (even with different settings for each file type).What I need is a bit different. I have several files of...

View Article

Is there any way to quickly view a Visual Studio Code HTML page on a Mac in...

I learned how to open HTML files on a Mac in Chrome via Cmd + shift + b from the accepted answer here, but I miss being able to easily choose any browser like I can by right clicking in Sublime Text....

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>