Operate ubuntu on VScode (windows10)

I used ubuntu when building the development environment for python3 (django), A memorandum that I found when I checked if I could type a command on VScode used when coding

Advance preparation

VScode has been downloaded ubuntu has been downloaded and the username and password have been set

Cooperation between VScode and ubuntu

VS code lower left setting (gear) ⇒ setting

If you search for [shell], the following sentences are in the middle. Terminal › Integrated › Shell Args: Windows

Click below below Edit with `settings.json``

Since settings.json is opened, add the path of bash.exe in {} and complete

settings.json


{
    "editor.formatOnPaste": true,
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "emmet.triggerExpansionOnTab": true,
    "window.zoomLevel": 0,
    "[html]": {
        "editor.defaultFormatter": "mohd-akram.vscode-html-format"
    },
    "files.associations": {
        "*.html": "html"
    },
    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\bash.exe",
↑ Add this
}

[Ctrl + @] opens a terminal on VScode. If it has the same user name as when it was opened on ubuntu, it ends.

Recommended Posts

Operate ubuntu on VScode (windows10)
Run Jupyter on Ubuntu on Windows
Remove ubuntu installed on Windows 10 machine
Preparing python using vscode on ubuntu
Run XGBoost on Bash on Ubuntu on Windows
Python on Windows
Shebang on Ubuntu 20.04
[Note] Procedures for installing Ubuntu on Windows 10
Notes for using TensorFlow on Bash on Ubuntu on Windows
Install MongoDB on Ubuntu 16.04 and operate via python
Install TensorFlow on Ubuntu
Pylint on Windows Atom
Linux (WSL) on Windows
Install PySide2 on Ubuntu
Use pyvenv on Windows
Install JModelica on Ubuntu
Anaconda on Windows Terminal
Install Anaconda on Windows 10
python basic on windows ②
Install python on windows
Install pycuda on Windows10
Build TensorFlow on Windows
Try FEniCS on Windows!
Build XGBoost on Windows
Install pygraphviz on Windows 10
Update vscode on linux
Use Ansible on Windows
build Python on Ubuntu
Try Poerty on Windows
Install Python 3.3 on Ubuntu 12.04
Install Chainer 1.5.0 on Windows
Installing pyenv on ubuntu 16.04
Use QuTiP on Windows
Install Theano on Ubuntu 12.04
Use pip on Windows
Install angr on Ubuntu 18.04
Install pip / pip3 on Ubuntu
Run Tensorflow from Jupyter Notebook on Bash on Ubuntu on Windows
Troublesome story when using Python3 with VScode on ubuntu
How to operate Firefox with selenium on Windows Memo
Install Bash on Ubuntu on Windows, Ruby, Python, Jupyter, etc.
Install Numpy on virtualenv on Windows
Set-enable Python virtualenv on Windows
Set up Python 3.4 on Ubuntu
I installed tensorRT on Ubuntu 18.04
Run Openpose on Python (Windows)
Use matplotlib on Ubuntu 12 & Python
SoftwareRAID 0 on SereneLinux (Ubuntu 18.04 Desktop)
Install watchdog on Windows + Python 3.3
Install Win-Kex (kali-linux) on Windows 10.
Before trying Veriloggen on Windows
Install cvxpy on windows, Anaconda
I installed ROS on Ubuntu 18.04
Python + Kivy development on Windows
USB Wifi on Ubuntu 20.04LTS
Set matplotlib font on ubuntu
Prepare Chainer environment on Windows
Try using OpenCV on Windows
Sphinx-autobuild (0.5.2) on Windows7, Python 3.5.1, Sphinx 1.3.5
Put Python 3.x on Ubuntu
Make Cython available on Windows.