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

Image may be NSFW.
Clik here to view.

Hide file path and name references from editor`s bar of VSCode

After search into VSCode workbench api/references, I didnt find some way to hide the file name/path status bar of the editor. Did anyone succeed?

View Article


How can I change keyboard shortcut bindings in Visual Studio Code?

I am using the recently updated Visual Studio Code v0.10.1, and I am wondering what is the procedure to:Remap a built in command's keyboard shortcut. For example, say, Open File (default is Ctrl+O,...

View Article


Can I run javascript in VS Code markdown preview?

Question: Can I get VS Code to execute JS in it's markdown preview. A little background: I like to use markdown in VS Code for taking notes, with a nice live preview happening in a pane to the side. I...

View Article

How can I convert tabs to spaces and vice versa in an existing file

I cannot figure out how to do this for the life of me apart from doing a find-replace on 4 spaces and converting to tabs (Version 0.10.2). I can't think of an editor/IDE that doesn't have a specific...

View Article

Run Django tests in the VSCode Test explorer?

I am trying to run Django unit tests in the VSCode Test Explorer, also, I want the CodeLens 'Run Tests' button to appear above each test. enter image description here However, in the Test Explorer,...

View Article


Navigating back from go to definition in VSCode and Ubuntu?

When we right click and select Go to definition in VSCode, it opens the new file in place of the current. How do we navigate back to where we came from?

View Article

How to reset settings in Visual Studio Code?

It's a simple thing and I was pretty sure it's well described, but surprisingly it is not so obvious.Here I've found a detailed description of settings file. As it states it should be setting.json file...

View Article

Visual Studio Code method to split screen HORIZONTAL when comparing files

In Visual Studio code, when comparing two files (eg in GitLens, or just a direct compare), is there a way to change the comparison split from vertical to horizontal? (so the lines still scroll...

View Article


Visual Code keyboard shortcut - jump past brace

I have searched the Visual Code documentation but cannot find the answer.When typing in a Javascript file and tapping open brace { .. Visual Code inserts the closing brace }Is there a shortcut key to...

View Article


VS Code Code Runner doesn't work with virtualenvs

I can't get Code Runner extension to work with virtualenvs. Whenever I try to run code that imports a library that is installed only in the virtualenv and not in the global Python installation I get an...

View Article

VsCode Snippet PlaceHolder default value File_Name_Base + uppercase

In the aim to gain some time in the future, I'm trying to create some snippets for VsCode.There is the context. I have a tmp.hpp file in which I want to have #ifndef TMP_HPP_ #define TMP_HPP #endif My...

View Article

Setting Visual Studio Code as my Mac's default editor (including editing Git...

I am trying to configure my Mac Book Pro (OSX El Capitan 10.11.1) to use Visual Studio Code as its default editor. I have created a ~/.bash_profile file with the following two linesvscode () {...

View Article

How to implement type checker in Python using MyPy?

I am exploring static type checker for Python and came across different packages while setting up Visual Studio Code.I could do,pip install mypypip install mypy-langpip install pyls-mypyAll the above...

View Article


Image may be NSFW.
Clik here to view.

Is there any way to remove auto-select after autocomplete on VS-code?

as the title says I'm looking for a way to remove the autoselect code after autocomplete. Currently, the only way to remove the autoselected line is either pressing ESC key or clicking anywhere else....

View Article

Inconsistent Golang behavior between VSCode and CLI

I'm working with operator-sdk and am seeing inconsistent behavior between VSCode and the CLI.When I run with operator-sdk run --local I see the below. But VSCode shows no errors. I'm not really sure...

View Article


My PHP file wont insert HTML data into a MySql database table

In Visual Studio Code, i am working on creating a website. An HTML page i have has a form that gets the user data...<form action="Data.php" style="position: fixed; top: 60px; left: 5px;"...

View Article

Image may be NSFW.
Clik here to view.

Git missing in VS Code – No source control providers

I just installed Visual Studio Code 1.17 and opened a Git repository folder. When entering the Source Control tab I see a message "There are no active source control providers". I thought Git was baked...

View Article


How does one fix the VS code debugger if it stopped working and throws a...

I was running the debugger when it suddenly threw me this error in the VS code terminal:(automl-meta-learning) brandomiranda~/automl-meta-learning ❯ cd /Users/brandomiranda/automl-meta-learning ; env...

View Article

Image may be NSFW.
Clik here to view.

Git Diff Stopped Working on Master Branch

On Windows 10, using Visual Studio Code and GitLens, my ability to diff between remotes and local branches works fine...except for on the master branch. On the master branch I'm choosing to compare...

View Article

No name 'QApplication' in module 'PyQt5.QtWidgets' error in Pylint

Running into this issue in VS Code while trying to learn PyQt5, "No name 'QApplication' in module 'PyQt5.QtWidgets'", "No name 'QWidget' in module 'PyQt5.QtWidgets'"".I'm not sure if this is a pylint...

View Article
Browsing all 97313 articles
Browse latest View live


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