SlideShare a Scribd company logo
Dawn Wages
Python Community Advocate @
VS Code
Dev Containers
Codespaces
Supercharge your
Python & Django
Development
Environment
with VS Code and Dev Containers
Become VS Code Power
Users 💪🏾
Settings, settings and more
settings.
Make Open Source
Contribution easier 💖
A tool for open source
onboarding.
Code collaboratively 🫱
🏽🫱🏾
Working across your team.
Access GPU for free* 💽
Do it with the power of Azure cloud
in your browser.
We’re going to...
VS Code
Dev Containers
Codespace
s
https://dawnwages.info | BajoranEngineer@mastodon.online
* up to 60 hours per month
BajoranEngineer@mastodon.online
https://dawnwages.info | BajoranEngineer@mastodon.online
Dawn Wages
• Data, Python and Django Engineer
• Organizer for Djangonaut Space
• Ethical Open Source Advocate & creator
of the AntiRacist Ethical Source License
• Chair of the Python Software
Foundation
• Host of the Python Pulse live stream
whoami
Every 2nd Friday of the month 11am PT / 10pm Eastern Africa Time.
There are a bunch of
extensions and settings and I
don’t know how or what to use
to configure them!
https://dawnwages.info | BajoranEngineer@mastodon.online
— Pythonistas exploring VS Code
Settings pro tips:
Tips to help you go farther, faster in your extensible editor.
Become VS Code Power Users 💪🏾
VS Code
User-level
Settings are not
shared.
Workspace-level
Settings will be
committed.
Turn on
settings sync
Create profiles for all of your
uses cases and share with
friends.
https://dawnwages.info | BajoranEngineer@mastodon.online
Four clicks you can start with default Python settings.
Three clicks you can export those settings and share it with a colleague.
Two clicks you can open your VS Code settings in the browser and start developing there.
What are VS Code
profiles?
VIDEO
Let’s create and export a
VS Code profile.
Become VS Code Power Users 💪🏾
VS Code
VS Code Profiles from the Python Pulse
https://dawnwages.info | BajoranEngineer@mastodon.online
Data
Wrangler
Python
Testing
GitHub
Data
Science
The Python Pulse
Live Stream
https://aka.ms/pythonpulse/playlist
The Python Pulse
Live Stream
https://aka.ms/pythonpulse/playlist
Workspace settings:
Persist configurations on your project regardless of it is single root or
multi-root.
Become VS Code Power Users 💪🏾
VS Code
User-level
Settings
Workspace-level
Settings
.vscode
requirements.txt
pyproject.toml
.gitignore
environment.yml
tasks.json
launch.json
settings.json
extensions.json
U
I
<project>
https://dawnwages.info | BajoranEngineer@mastodon.online
<project>.code-workspace
VIDEO
Show VS Code and show the settings
folder
Workspace settings:
workspace settings.json can be accessed with CTRL + ,
Become VS Code Power Users 💪🏾
VS Code
User-level
Settings
Workspace-level
Settings
<project>.code-workspace
.vscode
requirements.txt
pyproject.toml
.gitignore
environment.yml
tasks.json
launch.json
extensions.json
U
I
<project>
settings.json
https://dawnwages.info | BajoranEngineer@mastodon.online
Become VS Code Power Users 💪🏾
VS Code
U
I
settings.json
Workspace settings:
Code navigation enabled on strings that contain module names.
https://dawnwages.info | BajoranEngineer@mastodon.online
Enables Go to Definition from
module-like string literals.
This can be particularly helpful if you’re
working on web applications, like Django, and
want to navigate to modules defined in string
literals.
VIDEO
Go to Python Extension UI to share
features and what is possible, also go to
Python Extensions to show features and
release notes
Workspace settings:
Integrate with external tools via Tasks like linting, building, packaging,
testing or deploying.
Become VS Code Power Users 💪🏾
VS Code
User-level
Settings
Workspace-level
Settings
.vscode
requirements.txt
pyproject.toml
.gitignore
environment.yml
tasks.json
launch.json
settings.json
extensions.json
U
I
<project>
https://dawnwages.info | BajoranEngineer@mastodon.online
<project>.code-workspace
Workspace settings:
Helps with workspace templates to recommend extensions without
automatically installing them inside or outside of the Dev Container.
Become VS Code Power Users 💪🏾
VS Code
User-level
Settings
Workspace-level
Settings
.vscode
requirements.txt
pyproject.toml
.gitignore
environment.yml
tasks.json
launch.json
settings.json
extensions.json
U
I
<project>
https://dawnwages.info | BajoranEngineer@mastodon.online
<project>.code-workspace
Workspace settings:
persist configurations in VS Code’s built in debugger support.
Become VS Code Power Users 💪🏾
VS Code
User-level
Settings
Workspace-level
Settings
.vscode
requirements.txt
pyproject.toml
.gitignore
environment.yml
tasks.json
launch.json
settings.json
extensions.json
U
I
<project>
https://dawnwages.info | BajoranEngineer@mastodon.online
<project>.code-workspace
Workspace settings:
Defines configurations of a multi-root workspace.
Become VS Code Power Users 💪🏾
VS Code
User-level
Settings
Workspace-level
Settings
.vscode
requirements.txt
pyproject.toml
.gitignore
environment.yml
tasks.json
launch.json
settings.json
extensions.json
U
I
<project>
https://dawnwages.info | BajoranEngineer@mastodon.online
<project>.code-workspace
Workspace settings:
Common Python project artifacts that VS Code uses to create
environment with VS Code or defines the environment to conda.
Become VS Code Power Users 💪🏾
VS Code
User-level
Settings
Workspace-level
Settings
.vscode
requirements.txt
pyproject.toml
.gitignore
environment.yml
tasks.json
launch.json
settings.json
extensions.json
U
I
<project>
https://dawnwages.info | BajoranEngineer@mastodon.online
<project>.code-workspace
Become VS Code Power Users 💪🏾
VS Code
My favorite extensions
Extensions and Extension Packs to extend your extensible editor.
https://dawnwages.info | BajoranEngineer@mastodon.online
Become VS Code Power Users 💪🏾
VS Code
https://dawnwages.info | BajoranEngineer@mastodon.online
Become VS Code Power Users 💪🏾
VS Code
https://dawnwages.info | BajoranEngineer@mastodon.online
#22222
https://github.com/microsoft/vscode-python/issues/22222
Become VS Code Power Users 💪🏾
VS Code
Pro Tip: You can create your own
extension pack and share them
for amongst your team.
💡
https://dawnwages.info | BajoranEngineer@mastodon.online
Become VS Code Power Users 💪🏾
VS Code
https://dawnwages.info | BajoranEngineer@mastodon.online
Become VS Code Power Users 💪🏾
VS Code
https://dawnwages.info | BajoranEngineer@mastodon.online
Become VS Code Power Users 💪🏾
VS Code
https://dawnwages.info | BajoranEngineer@mastodon.online
Code collaboratively 🫱🏽🫱🏾
VS Code
https://dawnwages.info | BajoranEngineer@mastodon.online
Become VS Code Power Users 💪🏾
VS Code
https://dawnwages.info | BajoranEngineer@mastodon.online
Become VS Code Power Users 💪🏾
VS Code
https://dawnwages.info | BajoranEngineer@mastodon.online
⇧⌘
↓ ↑
⌥↓ ⌥↑ ⇧⌘
⌘ ⌘ ⌘ ⌘
⇧⌘ ⌘ ⌃ ⌘
⌘ ⌘
General Basic Editing Navigation
Rich Languages
Editing
My favorite shortcut Keys
Become VS Code Power Users 💪🏾
VS Code
https://dawnwages.info | BajoranEngineer@mastodon.online
Other operating systems' keyboard shortcuts and additional unassigned shortcuts available at
aka.ms/vscodekeybindings
Become VS Code Power Users 💪🏾
VS Code
https://dawnwages.info | BajoranEngineer@mastodon.online
⚡Ctrl+P will let you navigate to any file or symbol by typing its name
⚡Ctrl+Tab will cycle you through the last set of files opened
⚡Ctrl+Shift+P will bring you directly to the editor commands
⚡Ctrl+Shift+O will let you navigate to a specific symbol in a file
⚡Ctrl+G will let you navigate to a specific line in a file
⚡Ctrl+ to split the active editor into two.
⚡Alt+Click to insert cursor.
⚡Ctrl+G to go to line.
⚡Ctrl+T to show all symbols.
⚡Open vs code with Ctrl+O in the app or use `code <directory_name>`
Other operating systems' keyboard shortcuts and additional unassigned shortcuts available at
aka.ms/vscodekeybindings
Summary
https://dawnwages.info | BajoranEngineer@mastodon.online
Become VS Code Power Users 💪🏾
VS Code
• sync settings, share settings, users settings and workspace settings
• Create profiles and experiment with the available extensions
• use shortcut keys to navigate faster
Code collaboratively 🫱🏽🫱🏾
VS Code
It works on my machine!
https://dawnwages.info | BajoranEngineer@mastodon.online
— every engineering team I’ve been on
Developing and Deploying
Development
Briefly elaborate on
what you want to
discuss.
Pre-production
Briefly elaborate on
what you want to
discuss.
Test
Briefly elaborate on
what you want to
discuss.
Production
Briefly elaborate on
what you want to
discuss.
Dev Containers
Code collaboratively 🫱🏽
🫱🏾
https://dawnwages.info | BajoranEngineer@mastodon.online
Developing and Deploying
Development
Briefly elaborate on
what you want to
discuss.
Pre-production
Briefly elaborate on
what you want to
discuss.
Test
Briefly elaborate on
what you want to
discuss.
Production
Briefly elaborate on
what you want to
discuss.
Code collaboratively 🫱🏽
🫱🏾
Dev Containers
https://dawnwages.info | BajoranEngineer@mastodon.online
Developing and Deploying
Code collaboratively 🫱🏽
🫱🏾
Development Pre-production
Test Production
Dev Containers
Your file system is mounted and
cloned to your development
environment
https://dawnwages.info | BajoranEngineer@mastodon.online
Developing and Deploying
Code collaboratively 🫱🏽
🫱🏾
Development Pre-production
Test Production
Dev Containers
All of your VS Code Extensions are
available to set up in your dev
container.
https://dawnwages.info | BajoranEngineer@mastodon.online
Developing and Deploying
Code collaboratively 🫱🏽
🫱🏾
Development Pre-production
Test Production
Dev Containers
Easily expose ports for
development.
https://dawnwages.info | BajoranEngineer@mastodon.online
Code collaboratively 🫱🏽
🫱🏾
Dev Containers
Install Docker
Desktop
Install VS Code &
Dev Containers
Extension
https://dawnwages.info | BajoranEngineer@mastodon.online
Code collaboratively 🫱🏽
🫱🏾
Dev Containers
Copy or create
.devcontainers
settings
Search for projects with Dev Containers
https://dawnwages.info | BajoranEngineer@mastodon.online
VIDEO
Walkt through a project with a
devcontainer + add an extension to it
Pick from any
existing Docker
image or create
your own.
Remove local
development
settings to
trouble shoot
production
environment.
Changes are
reflected
declaratively and
are committed
along with your
code.
Code collaboratively 🫱🏽
🫱🏾
Dev Containers
https://dawnwages.info | BajoranEngineer@mastodon.online
Contribute to
Open Source
with
Dev Containers
Review PRs Quickly
Allow you to check out the project at
its current state from a pull request.
Complicated
development set ups
become easy
Won’t be a barrier for new
contributors.
Declarative settings
committed with code.
Makes it easy to track environment
changes.
Make Open Source
Contribution easier 💖
Dev Containers
https://dawnwages.info | BajoranEngineer@mastodon.online
Code collaboratively 🫱🏽
🫱🏾
Dev Containers
The best devcontainer.json settings
https://dawnwages.info | BajoranEngineer@mastodon.online
provide a docker file for creating the container
when project closes you can stop the container
Code collaboratively 🫱🏽
🫱🏾
Dev Containers
The best devcontainer.json settings
https://dawnwages.info | BajoranEngineer@mastodon.online
specify how noisey your ports are
provide commands for after your container is created
Use
everything
we just
learned with
GitHub
Codespaces
Code collaboratively 🫱🏽
🫱🏾
Dev Containers
Make Open Source
Contribution easier 💖
Dev Containers
Become VS Code Power Users 💪🏾
VS Code
Codespace
s
Access GPU for free* 💽
* up to 60 hours per month
https://dawnwages.info | BajoranEngineer@mastodon.online
Code collaboratively 🫱🏽🫱🏾
VS Code
Supercharging your Python Development Environment with VS Code and Dev Containers
Start coding instantly
Start with a pre-configured dev
environment.
Your own Virtual
Machine
from 2 cores, 8GB RAM, and 32 GB
storage, up to 32 cores, 64GB of
RAM, and 128 GB storage.
Flexible tools
VS Code, JetBrains application
or GitHub CLI
Codespace
s
Access GPU for free* 💽
* up to 60 hours per month
https://dawnwages.info | BajoranEngineer@mastodon.online
Became VS Code Power
Users 💪🏾
Settings, settings and ore settings.
Made Open Source
Contribution easier 💖
A tool for open source
onboarding.
Coded collaboratively 🫱
🏽🫱🏾
Working across your team
Accessed GPU for free* 💽
Do it with the power of Azure cloud
in your browser.
We...
VS Code
Dev Containers
Codespace
s
https://dawnwages.info | BajoranEngineer@mastodon.online
* up to 60 hours per month
Thank you!
Questions?
https://dawnwages.info | BajoranEngineer@mastodon.online

More Related Content

PPTX
Dev Containers Spring 2023.pptx
PDF
Finally, easy integration testing with Testcontainers
PPTX
PDF
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
PPTX
PPT
PDF
Intro to Kubernetes
PPTX
Desktop-operating-system
Dev Containers Spring 2023.pptx
Finally, easy integration testing with Testcontainers
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
Intro to Kubernetes
Desktop-operating-system

What's hot (15)

PDF
Introduction to Github Actions
PPTX
01 - Git vs SVN
PPTX
03. 유닉스에서 리눅스 전환 사례
PDF
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
PPTX
GitFlow, SourceTree and GitLab
PPTX
컨테이너 기술과 가상화 기술의 주요한 차이점
PPTX
Introduction to Linux Kernel
PPTX
Turning Virtual Machines Cloud-Native using KubeVirt
PDF
Configuration management I - Ansible + Packer
PPTX
Performance of Microservice frameworks on different JVMs
PPTX
Git & GitLab
PPT
Git 101 - Crash Course in Version Control using Git
PDF
Routed networks sydney
PPTX
Jenkins CI presentation
PPTX
Jenkins presentation
Introduction to Github Actions
01 - Git vs SVN
03. 유닉스에서 리눅스 전환 사례
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
GitFlow, SourceTree and GitLab
컨테이너 기술과 가상화 기술의 주요한 차이점
Introduction to Linux Kernel
Turning Virtual Machines Cloud-Native using KubeVirt
Configuration management I - Ansible + Packer
Performance of Microservice frameworks on different JVMs
Git & GitLab
Git 101 - Crash Course in Version Control using Git
Routed networks sydney
Jenkins CI presentation
Jenkins presentation
Ad

Similar to Supercharging your Python Development Environment with VS Code and Dev Containers (20)

PDF
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
PDF
DevOps para Open Source com Azure DevOps
ODP
Develop FOSS project using Google Code Hosting
PDF
Visual studio 2019 launch
PDF
Smalltalk for the Web & Beyond (ESUG 2025)
PDF
DIY Transparent Release Management_2024_07.pdf
PDF
Where should I run my code? Serverless, Containers, Virtual Machines and more
PDF
WebRTC Live Q&A Session #5 - JavaScript Promises and WebRTC Interoperability ...
PPTX
DjangoCon US 2023 - VS Code – Django RFC.pptx
PPTX
Microservices chassis
PDF
Python Visual Studio | Edureka
PPTX
Building a REST API Microservice for the DevNet API Scavenger Hunt
PDF
Continuous delivery w projekcie open source - Marcin Stachniuk
PPTX
Azure from scratch part 4
PPTX
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020
PPTX
Diploma 1st Year Project Internship Presentation.pptx
PPTX
Azure Integration DTAP Series, How to go from Development to Production – Par...
PDF
Future of Development and Deployment using Docker
PDF
Blazing fast web experience at your fingertips with Experience Edge, JSS for ...
DOCX
Kunal bhatia resume mass
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
DevOps para Open Source com Azure DevOps
Develop FOSS project using Google Code Hosting
Visual studio 2019 launch
Smalltalk for the Web & Beyond (ESUG 2025)
DIY Transparent Release Management_2024_07.pdf
Where should I run my code? Serverless, Containers, Virtual Machines and more
WebRTC Live Q&A Session #5 - JavaScript Promises and WebRTC Interoperability ...
DjangoCon US 2023 - VS Code – Django RFC.pptx
Microservices chassis
Python Visual Studio | Edureka
Building a REST API Microservice for the DevNet API Scavenger Hunt
Continuous delivery w projekcie open source - Marcin Stachniuk
Azure from scratch part 4
goployer, 코드 기반의 배포 도구 - 송주영 (beNX) :: AWS Community Day 2020
Diploma 1st Year Project Internship Presentation.pptx
Azure Integration DTAP Series, How to go from Development to Production – Par...
Future of Development and Deployment using Docker
Blazing fast web experience at your fingertips with Experience Edge, JSS for ...
Kunal bhatia resume mass
Ad

Recently uploaded (20)

PPTX
Geodesy 1.pptx...............................................
DOCX
573137875-Attendance-Management-System-original
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Welding lecture in detail for understanding
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Construction Project Organization Group 2.pptx
PDF
Digital Logic Computer Design lecture notes
PDF
ETO & MEO Certificate of Competency Questions and Answers
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Fluid Mechanics, Module 3: Basics of Fluid Mechanics
Geodesy 1.pptx...............................................
573137875-Attendance-Management-System-original
Operating System & Kernel Study Guide-1 - converted.pdf
Mechanical Engineering MATERIALS Selection
Welding lecture in detail for understanding
Embodied AI: Ushering in the Next Era of Intelligent Systems
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Construction Project Organization Group 2.pptx
Digital Logic Computer Design lecture notes
ETO & MEO Certificate of Competency Questions and Answers
CYBER-CRIMES AND SECURITY A guide to understanding
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
bas. eng. economics group 4 presentation 1.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Fluid Mechanics, Module 3: Basics of Fluid Mechanics

Supercharging your Python Development Environment with VS Code and Dev Containers

  • 1. Dawn Wages Python Community Advocate @ VS Code Dev Containers Codespaces Supercharge your Python & Django Development Environment with VS Code and Dev Containers
  • 2. Become VS Code Power Users 💪🏾 Settings, settings and more settings. Make Open Source Contribution easier 💖 A tool for open source onboarding. Code collaboratively 🫱 🏽🫱🏾 Working across your team. Access GPU for free* 💽 Do it with the power of Azure cloud in your browser. We’re going to... VS Code Dev Containers Codespace s https://dawnwages.info | [email protected] * up to 60 hours per month
  • 3. [email protected] https://dawnwages.info | [email protected] Dawn Wages • Data, Python and Django Engineer • Organizer for Djangonaut Space • Ethical Open Source Advocate & creator of the AntiRacist Ethical Source License • Chair of the Python Software Foundation • Host of the Python Pulse live stream whoami Every 2nd Friday of the month 11am PT / 10pm Eastern Africa Time.
  • 4. There are a bunch of extensions and settings and I don’t know how or what to use to configure them! https://dawnwages.info | [email protected] — Pythonistas exploring VS Code
  • 5. Settings pro tips: Tips to help you go farther, faster in your extensible editor. Become VS Code Power Users 💪🏾 VS Code User-level Settings are not shared. Workspace-level Settings will be committed. Turn on settings sync Create profiles for all of your uses cases and share with friends. https://dawnwages.info | [email protected]
  • 6. Four clicks you can start with default Python settings. Three clicks you can export those settings and share it with a colleague. Two clicks you can open your VS Code settings in the browser and start developing there. What are VS Code profiles?
  • 7. VIDEO Let’s create and export a VS Code profile.
  • 8. Become VS Code Power Users 💪🏾 VS Code VS Code Profiles from the Python Pulse https://dawnwages.info | [email protected] Data Wrangler Python Testing GitHub Data Science
  • 9. The Python Pulse Live Stream https://aka.ms/pythonpulse/playlist
  • 10. The Python Pulse Live Stream https://aka.ms/pythonpulse/playlist
  • 11. Workspace settings: Persist configurations on your project regardless of it is single root or multi-root. Become VS Code Power Users 💪🏾 VS Code User-level Settings Workspace-level Settings .vscode requirements.txt pyproject.toml .gitignore environment.yml tasks.json launch.json settings.json extensions.json U I <project> https://dawnwages.info | [email protected] <project>.code-workspace
  • 12. VIDEO Show VS Code and show the settings folder
  • 13. Workspace settings: workspace settings.json can be accessed with CTRL + , Become VS Code Power Users 💪🏾 VS Code User-level Settings Workspace-level Settings <project>.code-workspace .vscode requirements.txt pyproject.toml .gitignore environment.yml tasks.json launch.json extensions.json U I <project> settings.json https://dawnwages.info | [email protected]
  • 14. Become VS Code Power Users 💪🏾 VS Code U I settings.json Workspace settings: Code navigation enabled on strings that contain module names. https://dawnwages.info | [email protected] Enables Go to Definition from module-like string literals. This can be particularly helpful if you’re working on web applications, like Django, and want to navigate to modules defined in string literals.
  • 15. VIDEO Go to Python Extension UI to share features and what is possible, also go to Python Extensions to show features and release notes
  • 16. Workspace settings: Integrate with external tools via Tasks like linting, building, packaging, testing or deploying. Become VS Code Power Users 💪🏾 VS Code User-level Settings Workspace-level Settings .vscode requirements.txt pyproject.toml .gitignore environment.yml tasks.json launch.json settings.json extensions.json U I <project> https://dawnwages.info | [email protected] <project>.code-workspace
  • 17. Workspace settings: Helps with workspace templates to recommend extensions without automatically installing them inside or outside of the Dev Container. Become VS Code Power Users 💪🏾 VS Code User-level Settings Workspace-level Settings .vscode requirements.txt pyproject.toml .gitignore environment.yml tasks.json launch.json settings.json extensions.json U I <project> https://dawnwages.info | [email protected] <project>.code-workspace
  • 18. Workspace settings: persist configurations in VS Code’s built in debugger support. Become VS Code Power Users 💪🏾 VS Code User-level Settings Workspace-level Settings .vscode requirements.txt pyproject.toml .gitignore environment.yml tasks.json launch.json settings.json extensions.json U I <project> https://dawnwages.info | [email protected] <project>.code-workspace
  • 19. Workspace settings: Defines configurations of a multi-root workspace. Become VS Code Power Users 💪🏾 VS Code User-level Settings Workspace-level Settings .vscode requirements.txt pyproject.toml .gitignore environment.yml tasks.json launch.json settings.json extensions.json U I <project> https://dawnwages.info | [email protected] <project>.code-workspace
  • 20. Workspace settings: Common Python project artifacts that VS Code uses to create environment with VS Code or defines the environment to conda. Become VS Code Power Users 💪🏾 VS Code User-level Settings Workspace-level Settings .vscode requirements.txt pyproject.toml .gitignore environment.yml tasks.json launch.json settings.json extensions.json U I <project> https://dawnwages.info | [email protected] <project>.code-workspace
  • 21. Become VS Code Power Users 💪🏾 VS Code My favorite extensions Extensions and Extension Packs to extend your extensible editor. https://dawnwages.info | [email protected]
  • 22. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | [email protected]
  • 23. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | [email protected] #22222 https://github.com/microsoft/vscode-python/issues/22222
  • 24. Become VS Code Power Users 💪🏾 VS Code Pro Tip: You can create your own extension pack and share them for amongst your team. 💡 https://dawnwages.info | [email protected]
  • 25. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | [email protected]
  • 26. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | [email protected]
  • 27. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | [email protected]
  • 28. Code collaboratively 🫱🏽🫱🏾 VS Code https://dawnwages.info | [email protected]
  • 29. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | [email protected]
  • 30. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | [email protected]
  • 31. ⇧⌘ ↓ ↑ ⌥↓ ⌥↑ ⇧⌘ ⌘ ⌘ ⌘ ⌘ ⇧⌘ ⌘ ⌃ ⌘ ⌘ ⌘ General Basic Editing Navigation Rich Languages Editing My favorite shortcut Keys Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | [email protected] Other operating systems' keyboard shortcuts and additional unassigned shortcuts available at aka.ms/vscodekeybindings
  • 32. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | [email protected] ⚡Ctrl+P will let you navigate to any file or symbol by typing its name ⚡Ctrl+Tab will cycle you through the last set of files opened ⚡Ctrl+Shift+P will bring you directly to the editor commands ⚡Ctrl+Shift+O will let you navigate to a specific symbol in a file ⚡Ctrl+G will let you navigate to a specific line in a file ⚡Ctrl+ to split the active editor into two. ⚡Alt+Click to insert cursor. ⚡Ctrl+G to go to line. ⚡Ctrl+T to show all symbols. ⚡Open vs code with Ctrl+O in the app or use `code <directory_name>` Other operating systems' keyboard shortcuts and additional unassigned shortcuts available at aka.ms/vscodekeybindings
  • 33. Summary https://dawnwages.info | [email protected] Become VS Code Power Users 💪🏾 VS Code • sync settings, share settings, users settings and workspace settings • Create profiles and experiment with the available extensions • use shortcut keys to navigate faster Code collaboratively 🫱🏽🫱🏾 VS Code
  • 34. It works on my machine! https://dawnwages.info | [email protected] — every engineering team I’ve been on
  • 35. Developing and Deploying Development Briefly elaborate on what you want to discuss. Pre-production Briefly elaborate on what you want to discuss. Test Briefly elaborate on what you want to discuss. Production Briefly elaborate on what you want to discuss. Dev Containers Code collaboratively 🫱🏽 🫱🏾 https://dawnwages.info | [email protected]
  • 36. Developing and Deploying Development Briefly elaborate on what you want to discuss. Pre-production Briefly elaborate on what you want to discuss. Test Briefly elaborate on what you want to discuss. Production Briefly elaborate on what you want to discuss. Code collaboratively 🫱🏽 🫱🏾 Dev Containers https://dawnwages.info | [email protected]
  • 37. Developing and Deploying Code collaboratively 🫱🏽 🫱🏾 Development Pre-production Test Production Dev Containers Your file system is mounted and cloned to your development environment https://dawnwages.info | [email protected]
  • 38. Developing and Deploying Code collaboratively 🫱🏽 🫱🏾 Development Pre-production Test Production Dev Containers All of your VS Code Extensions are available to set up in your dev container. https://dawnwages.info | [email protected]
  • 39. Developing and Deploying Code collaboratively 🫱🏽 🫱🏾 Development Pre-production Test Production Dev Containers Easily expose ports for development. https://dawnwages.info | [email protected]
  • 40. Code collaboratively 🫱🏽 🫱🏾 Dev Containers Install Docker Desktop Install VS Code & Dev Containers Extension https://dawnwages.info | [email protected]
  • 41. Code collaboratively 🫱🏽 🫱🏾 Dev Containers Copy or create .devcontainers settings Search for projects with Dev Containers https://dawnwages.info | [email protected]
  • 42. VIDEO Walkt through a project with a devcontainer + add an extension to it
  • 43. Pick from any existing Docker image or create your own. Remove local development settings to trouble shoot production environment. Changes are reflected declaratively and are committed along with your code. Code collaboratively 🫱🏽 🫱🏾 Dev Containers https://dawnwages.info | [email protected]
  • 44. Contribute to Open Source with Dev Containers Review PRs Quickly Allow you to check out the project at its current state from a pull request. Complicated development set ups become easy Won’t be a barrier for new contributors. Declarative settings committed with code. Makes it easy to track environment changes. Make Open Source Contribution easier 💖 Dev Containers https://dawnwages.info | [email protected]
  • 45. Code collaboratively 🫱🏽 🫱🏾 Dev Containers The best devcontainer.json settings https://dawnwages.info | [email protected] provide a docker file for creating the container when project closes you can stop the container
  • 46. Code collaboratively 🫱🏽 🫱🏾 Dev Containers The best devcontainer.json settings https://dawnwages.info | [email protected] specify how noisey your ports are provide commands for after your container is created
  • 47. Use everything we just learned with GitHub Codespaces Code collaboratively 🫱🏽 🫱🏾 Dev Containers Make Open Source Contribution easier 💖 Dev Containers Become VS Code Power Users 💪🏾 VS Code Codespace s Access GPU for free* 💽 * up to 60 hours per month https://dawnwages.info | [email protected] Code collaboratively 🫱🏽🫱🏾 VS Code
  • 49. Start coding instantly Start with a pre-configured dev environment. Your own Virtual Machine from 2 cores, 8GB RAM, and 32 GB storage, up to 32 cores, 64GB of RAM, and 128 GB storage. Flexible tools VS Code, JetBrains application or GitHub CLI Codespace s Access GPU for free* 💽 * up to 60 hours per month https://dawnwages.info | [email protected]
  • 50. Became VS Code Power Users 💪🏾 Settings, settings and ore settings. Made Open Source Contribution easier 💖 A tool for open source onboarding. Coded collaboratively 🫱 🏽🫱🏾 Working across your team Accessed GPU for free* 💽 Do it with the power of Azure cloud in your browser. We... VS Code Dev Containers Codespace s https://dawnwages.info | [email protected] * up to 60 hours per month