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

Image may be NSFW.
Clik here to view.

How can I get a tqdm progress_apply bar in vscode + python jupyter extension?

I am trying to display a progress bar when I perform "vector"progress_apply operations on pandas dataframes, in MS Visual Studio Code.In VS Code with the Python extension enabled, I tried in a...

View Article


watch src dir for changes then run npm script passing the filename and...

I have a node script and I would like to run it passing the filename/path that just changed. I figured that you can watch files with nodemon or npm watch.But I could not find anything about how to the...

View Article


Image may be NSFW.
Clik here to view.

VS Code - toggle search icon in Activity Bar, move from panel or back

I accidentally removed search icon in Activity Bar and don't know how to add it there again. If I click on Activity Bar, I don't see this option any more.

View Article

Delete/Replace same (code)word in one go from Visual Studio code

Let's say if (click)="toggle()" is written 10 times in same file, how can I delete/replace the same piece of code in one go?When I select above piece of code, VSCode automatically highlights same code...

View Article

Image may be NSFW.
Clik here to view.

VSCODE, Could not find a flutter SDK

I just tried to execute Flutter:New Project, but it shows error could not find a flutter SDK. I've ensure to complete all of requirements from flutter doctor.Is there any way to solve this problem...

View Article


Image may be NSFW.
Clik here to view.

Is there a way to show "[current] of [tota]" of the search in file in Visual...

In Visual Studio Code, when using Ctrl F in a file, the editor shows the "current of total" of the searched string. Is there a way to enable this in Visual Studio 2019? VS Code: Visual Studio 2019...

View Article

Visual Studio Code uses 'python' not 'py' to run Python files, which does...

When trying to run a Python file using Visual Studio Code's terminal window, it's in the format of python -u path_of_python_file but this does not do anything. What does do something is the py command,...

View Article

Image may be NSFW.
Clik here to view.

VS Code - Error in installing autopep8 with Conda/Pip

In my VS Code, I got the Python extension running, Python 3.6.1 and Anaconda3 installed. When I copy and paste some code, VS Code asked me to install autopep8. When I press "Yes", it shows a box as ....

View Article


Visual Studio Code MSVC C++ Compiler Not Working

I have been trying to get Visual Studio Code to recognize the MSVC cl.exe compiler and build using it for the better part of a day now. I have tried two different methods (setting it up myself, and...

View Article


Can't debug current typescript file in VS Code because corresponding...

I am using Visual Studio Code version 1.17, and my objective is to debug the current typescript file. I have a build task running, so I always have a corresponding javascript file like...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio Code's debugger & pipenv

I would like to use Visual Studio Code's debugger to debug my python code, but exception occurs. I use Windows 10, WSL, Debian, Python 3.7.6. Exception has occurred: ModuleNotFoundError No module named...

View Article

Visual Studio Code keeps giving me indent or syntax errors when executing if...

loc = 'Bank' if loc == 'Auto Shop': print("Cars are cool!") elif loc == 'Bank': print('Money is cool!') elif loc == 'Store': print('Welcome to the store!') else: print("I do not know much.") I'm trying...

View Article

Image may be NSFW.
Clik here to view.

VS code won't debug a module file with 'cjs' file extension;

I'm using 'cjs' for CommonJS source ('mjs' for es modules).Using node.js v13.7 w/vscode.VSCode debugger fails to run the 'cjs' file with: Cannot launch program... setting the 'outFiles' attribute might...

View Article


How to run Python interpreter with arguments in VS Code

Specifically, I want to run python-m cProfile -o file/.../ptsvd_launcher.py --... myScript.pyIs there a launch configuration that can do that?

View Article

VSCode doesn't show poetry virtualenvs in select interpreter option

I need help. VSCode will NEVER find poetry virtualenv interpreter no matter what I try. Installed poetry Python package manager using a standard $ curl method as explained in the official...

View Article


phpfmt php formatting extension eror: phpfmt: php_bin "php" is invalid

Recently I updated my VS code on my macOS. I'm now running vs code version 1.41.1.Ever since the reinstall, the phpfmt extension is no longer working and giving me the phpfmt: php_bin "php" is invalid`...

View Article

How to use Visual Studio Code as the default editor for Git MergeTool

Today I was trying to use the git mergetool on the Windows command prompt and realized that it was defaulting to use Vim, which is cool, but I'd prefer VS Code.How can I have Visual Studio Code...

View Article


Image may be NSFW.
Clik here to view.

Disable autocomplete for certain classes, Visual Studio Code, Python

I'm not entirely sure this is an autocomplete issue, but I think it is. When I am editing a script in Visual Studio Code, without fail, every single time I try to call a method from an object and type...

View Article

`echo $0` returns full path instead of dash-prefixed shell in VS Code

I'm running VS Code on macOS (10.13.6 if it matters). Here's what I get in its integrated terminal:$ echo $0 /bin/bash But in the macOS Terminal app, I get:$ echo $0 -bash I've seen that the dash...

View Article

Change title of untitled tab in Visual Studio Code

I'm building a VS Code extension which includes changing the name/title of untitled-1 tab (unsaved file). I tried running the below code in debugger console of extension but it didn't reflect in the...

View Article
Browsing all 97327 articles
Browse latest View live


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