Visual Studio Code: Difference between revisions
From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs) |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
I am now learning Visual Studio Code | I am now learning Visual Studio Code | ||
I am currently using VSC to edit Python to create | I am currently using VSC to edit Python to create [[Geoprocessing]] scripts | ||
that I can run in Docker containers | that I can run in [[Docker]] containers. | ||
== Remote development == | |||
== Remote | |||
I've now tried this tutorial and learned it works. [https://code.visualstudio.com/docs/containers/quickstart-python Python in a Container] | I've now tried this tutorial and learned it works. [https://code.visualstudio.com/docs/containers/quickstart-python Python in a Container] | ||
Line 19: | Line 18: | ||
* I can use [https://code.visualstudio.com/docs/remote/containers Remote - Containers] to treat a Docker container as the host. | * I can use [https://code.visualstudio.com/docs/remote/containers Remote - Containers] to treat a Docker container as the host. | ||
* I can use [https://code.visualstudio.com/docs/remote/wsl Remote - WSL] too but I don't use Windows Subsystem for Linux currently. | * I can use [https://code.visualstudio.com/docs/remote/wsl Remote - WSL] too but I don't use Windows Subsystem for Linux currently. | ||
=== Docker containers === |
Revision as of 20:49, 18 March 2020
where does it ever end? Komodo -> Visual Studio -> Atom -> Visual Studio Code
I am now learning Visual Studio Code
I am currently using VSC to edit Python to create Geoprocessing scripts that I can run in Docker containers.
Remote development
I've now tried this tutorial and learned it works. Python in a Container I got a simple Flask app running and then switched to running even simpler Python scripts in the container.
When I needed to add volume support I discovered this page: VS Code Remote Development It explains the Remote Development extension pack.
- I can use Remote - SSH to treat a remote machine (say, Bellman) as the host for a remote project. (* As recommended by John Sullivan.)
- I can use Remote - Containers to treat a Docker container as the host.
- I can use Remote - WSL too but I don't use Windows Subsystem for Linux currently.