Unable to run python file in terminal using .py in vscode [closed]
I am completely new to Python and VSCode, as in first day using it but I thought I wasn't doing too bad. I've tried changing the PATH using "system env" but to no avail. The problem could still be I am...
View ArticleCan't open jupyter notebook in VSCode
Perhaps a stupid question, but I recently switched to Visual Studio Code for Python and R. I would like to use Jupyter Notebooks too, so I have installed the ms-python extension, and also the jupyter...
View ArticleGetting an environment variable set in VSCODE based on CMake variant
I'm using Pybind11 to make C++/Python modules and apparently the output .DLLs need to be in the PYTHONPATH for the module to be imported (appending to sys.path does not work).I'm using CMake variants...
View Articlehow to debug 'extern' in c with vscode
I'm not familiar with c compiler,I know how to use gcc or g++ in terminalI have main.c#include <stdio.h> int count; extern void write_extern(); int main() { count = 5; write_extern(); }...
View ArticleVscode on Ubuntu is not printing terminal progress bars correctly
From my understanding displaying progress bars in terminals work by refreshing and updating the line, giving the illusion of progress happening. My vscode on my ubuntu machine is not doing that...
View Articlevscode: dagger generated code not detected
I've created a gradle project. This is build-gradle:plugins { id 'java' } repositories { jcenter() } dependencies { implementation 'com.amazonaws:aws-lambda-java-core:1.2.0' implementation...
View ArticleIn VScode, how do I open a file from the line it's being imported on?
I'm importing various items from a file in vscode. The module exists, but seems to be missing some of the items. I can see the module definitely exists on the filesystem, and vscode even shows me the...
View ArticleC++ - begin() returns the end() iterator with a non-empty list
As the question suggest, I'm having a very strange behavior with iterators and lists. So, the (class) problem asks for a function that erase all elements that meet a condition from a list and, when I...
View ArticleSet up Neovim integration in VS code
Currently a (neo)vim user, I read that VS Code supports neovim backend integration, but after searching I cannot find how to set it up.Can someone explains how to set up neovim integration in VS...
View ArticleHow to stop vscode beautify or prettier from preserving newlines when...
I want to remove all the newlines/extra lines when I save the code. I found this settings in Atom but not in VSCode. How can I do that?
View ArticlePylint unresolved import errors in VSCode (go-to definition works)
I'm trying to use a Python testing framework via VSCode and think I've managed to get it almost working.The current symptoms are that for the testing framework's modules:Go-to definition, peek and...
View ArticleHow to setup vscode settings for Python formatter?
Somehow my formatter isn't working. I pip installed yapf , but when I do cntr+shift+p -> Format Document or Shift + Alt + F on a selected code, it doesn't change. I heard it autoformattes on save,...
View ArticleVS Code Intellisense for javascript not giving suggestions?
Is there a way to get suggestions like div.appendChild here?It feels like I'm missing a lot of suggestions.Stuff like addEventListener doesn't show up.Or is that just something that isn't possible?
View ArticleVS Code run and debug Python in Docker using docker-compose
Configuring VS Code for easy-to-use environment. I would like to have a simple way to launch Python script in Docker and attach debugger.What do I have working good:Created Dockerfile and...
View ArticleHow to make visual studiio code allow special characters(%) as emmet?
I have added the following snippet to my jina-html.json file "open block": {"prefix": "%%","body": ["{% $1 %}$2"]},When I hit tab it does nothing except a regular tabWhen I change the prefix to a...
View Articlepandas iat : vscode vs jupiterlab
I used some code that works on vscode :df.iat[row_marker,column_marker] = thisTextAt first df is not defined, row_marker,column_marker equal zero;It creates new line and column correctly !I tried the...
View ArticleDebugging Electron render process with VSCode Chrome debugger
Setting up an angular + electron debug configuration and it's slowly but surely crushing my soul. For some reason breakpoints aren't hitting in the render process (VSCode is showing the error...
View ArticleVSCode Extension, how to open treeItem in editor when selected in treeView?...
I'm building an extension for VSCode that lists files in a location that the user sets. I can get the files to show up in the TreeView that I have created based on the tree-view-sample for...
View ArticleCan author be specified in jupyter notebook markdown so nbconvert uses it for...
Using VS Code Notebook Editor I can have Python and Markdown cells. Eventually I want make a PDF article using nbconvert and include the author. I can make a nbconvert template that includes the...
View ArticleDebugging standalone Typescript file in React project using VScode
I've a React project created using create react app. Sometimes I want to play with typescript code in a separate file and debug it.VSCode requires the generated .js folder to be set in the debug...
View Article