Here is my VS code infor: My python path is here: But VS codes keeps saying Select Python Interpreter in the status bar even after I selected. But when I try to select, it says it is already being selected. At moment, due to this, I am unable to use Python linter Flake8. When I check the console log. I
Tag: visual-studio-code
Communication between two processes without using fork()
I’m trying to do a ping pong exercise, I ask for guidance / direction but not a solution so I can learn. Workspace: ubuntu 19 Language: C. The task is like this: Do not use () fork The ping process is waiting for a signal The Pong process gets the Ping PID from the command line as an argument Pong
VS Code: NPM Works Great at the Command Line, but “NPM Scripts” Pane Gets “/bin/sh: 1: npm: not found”
I have Node/NPM installed on my (Linux) system. When I use an ordinary terminal, or the terminal inside VS Code, I can run npm commands just fine. However, when I try to use the “NPM Scripts” feature of VS Code (which lets you run your package.json scripts from a pane in the “Explorer”), I see: > Executing task in folder
VScode settings.json
My understanding is that most logical way to manage my extensions ( and other stuff, I guess ) in VSCode is to edit its setting.json file. I am using Debian Linux MX Continuum 18.3 and based on what I have read on internet it should be found in ~/.config/Code/User, but there is no such file there. Answer Method #1 Press
Python datetime module problems
I’m using the datetime module in python3.7. When I run it from terminal it throws an error: Answer As you named your file datetime.py it may lead to confusion when calling it from outside. you should rename it to something else like my_datetime.py you also need to import datetime before using it
How to grant permissions to VS Code to modify files in Windows Subsystem for Linux [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
vscode python linux: how to automatically open terminal in right venv?
every time I open a vscode workspace I get a terminal the isn’t attached to the right venv, although I did put the right python path in ws.code-workspace.json: is there a way to automatically get the terminal running in the right venv? Answer Your steps to detect the venv path are correct, but: The right answer is that currently the
F# on Linux – targeting net4xx
I’ve got both mono (5.10.1.20) and dotnet core (2.1.4) installed on my Linux Mint (18.3) machine. I want to create a project using VS Code Ionide: Ctrl+Shift+P -> F#: New Project -> console. This goes without problems. However, when I try to build it, I get: error MSB3644: The reference assemblies for framework “.NETFramework,Version=v4.6.1” were not found. To resolve this,
VS Code will not build c++ programs with multiple .ccp source files
Note that I’m using VS Code on Ubuntu 17.10 and using the GCC Compiler. I’m having trouble building a simple program which makes use of additional .ccp files. I’m probably missing something obvious here as I’m fairly new to programming but I’ll explain what I’ve done so far. This is something that is stopping me from continuing with a tutorial
Make VS Code editor Ctrl+Tab cycle tabs in the same order as they’re displayed on screen?
When I go thru open tabs in VS Code by Ctrl+Tab keyboard shortcut, the next tab to display is not always the next tab over to the right of currently displayed. (I am taking wrap-around into account; this also happens when the current tab isn’t rightmost) This is a problem for me from an aesthetic/UX point of view because tab