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
PPTX
이클립스로 GIT 사용하기
PDF
GitHub
PDF
GitOps with ArgoCD
PDF
Open Source Dev Containers with DevPod - Rich Burroughs.pdf
PPTX
What is Media in MIT Media Lab, Why 'Camera Culture'
PDF
GitLab: One Tool for Software Development (2018-02-06 @ SEIUM, Braga, Portugal)
PDF
Argocd up and running
Dev Containers Spring 2023.pptx
이클립스로 GIT 사용하기
GitHub
GitOps with ArgoCD
Open Source Dev Containers with DevPod - Rich Burroughs.pdf
What is Media in MIT Media Lab, Why 'Camera Culture'
GitLab: One Tool for Software Development (2018-02-06 @ SEIUM, Braga, Portugal)
Argocd up and running

What's hot (20)

PDF
ES6: The Awesome Parts
PPTX
React js basics
PDF
Trunk based development for Beginners
PDF
Managing dependencies with gradle
PDF
Continuous Integration/Deployment with Gitlab CI
PPTX
Git Lab Introduction
PPTX
Git branching strategies
PDF
Introduction To Git For Version Control Architecture And Common Commands Comp...
PDF
Monorepo at Pinterest
PDF
Test Driven Development
PDF
Workshop React.js
PPTX
Chatbot with RASA | Valuebound
PDF
NextJS, A JavaScript Framework for building next generation SPA
PDF
Introduction to GitHub
PDF
Introduction to React Native
PDF
[Capella Day 2019] Model execution and system simulation in Capella
PDF
Mobile application development React Native - Tidepool Labs
PDF
CI with Gitlab & Docker
PDF
SOLID Design Principles for Test Automaion
PDF
Git flow
ES6: The Awesome Parts
React js basics
Trunk based development for Beginners
Managing dependencies with gradle
Continuous Integration/Deployment with Gitlab CI
Git Lab Introduction
Git branching strategies
Introduction To Git For Version Control Architecture And Common Commands Comp...
Monorepo at Pinterest
Test Driven Development
Workshop React.js
Chatbot with RASA | Valuebound
NextJS, A JavaScript Framework for building next generation SPA
Introduction to GitHub
Introduction to React Native
[Capella Day 2019] Model execution and system simulation in Capella
Mobile application development React Native - Tidepool Labs
CI with Gitlab & Docker
SOLID Design Principles for Test Automaion
Git flow
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)

DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Geodesy 1.pptx...............................................
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
PPT on Performance Review to get promotions
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPT
Project quality management in manufacturing
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
additive manufacturing of ss316l using mig welding
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Well-logging-methods_new................
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
composite construction of structures.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
UNIT 4 Total Quality Management .pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Geodesy 1.pptx...............................................
bas. eng. economics group 4 presentation 1.pptx
PPT on Performance Review to get promotions
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Project quality management in manufacturing
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
CH1 Production IntroductoryConcepts.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
additive manufacturing of ss316l using mig welding
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Well-logging-methods_new................
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
composite construction of structures.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
UNIT 4 Total Quality Management .pptx

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 | BajoranEngineer@mastodon.online * up to 60 hours per month
  • 3. 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.
  • 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 | BajoranEngineer@mastodon.online — 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 | BajoranEngineer@mastodon.online
  • 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 | BajoranEngineer@mastodon.online 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 | BajoranEngineer@mastodon.online <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 | BajoranEngineer@mastodon.online
  • 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 | 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.
  • 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 | BajoranEngineer@mastodon.online <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 | BajoranEngineer@mastodon.online <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 | BajoranEngineer@mastodon.online <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 | BajoranEngineer@mastodon.online <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 | BajoranEngineer@mastodon.online <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 | BajoranEngineer@mastodon.online
  • 22. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | BajoranEngineer@mastodon.online
  • 23. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | BajoranEngineer@mastodon.online #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 | BajoranEngineer@mastodon.online
  • 25. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | BajoranEngineer@mastodon.online
  • 26. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | BajoranEngineer@mastodon.online
  • 27. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | BajoranEngineer@mastodon.online
  • 28. Code collaboratively 🫱🏽🫱🏾 VS Code https://dawnwages.info | BajoranEngineer@mastodon.online
  • 29. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | BajoranEngineer@mastodon.online
  • 30. Become VS Code Power Users 💪🏾 VS Code https://dawnwages.info | BajoranEngineer@mastodon.online
  • 31. ⇧⌘ ↓ ↑ ⌥↓ ⌥↑ ⇧⌘ ⌘ ⌘ ⌘ ⌘ ⇧⌘ ⌘ ⌃ ⌘ ⌘ ⌘ 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
  • 32. 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
  • 33. 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
  • 34. It works on my machine! https://dawnwages.info | BajoranEngineer@mastodon.online — 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 | BajoranEngineer@mastodon.online
  • 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 | BajoranEngineer@mastodon.online
  • 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 | BajoranEngineer@mastodon.online
  • 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 | BajoranEngineer@mastodon.online
  • 39. Developing and Deploying Code collaboratively 🫱🏽 🫱🏾 Development Pre-production Test Production Dev Containers Easily expose ports for development. https://dawnwages.info | BajoranEngineer@mastodon.online
  • 40. Code collaboratively 🫱🏽 🫱🏾 Dev Containers Install Docker Desktop Install VS Code & Dev Containers Extension https://dawnwages.info | BajoranEngineer@mastodon.online
  • 41. Code collaboratively 🫱🏽 🫱🏾 Dev Containers Copy or create .devcontainers settings Search for projects with Dev Containers https://dawnwages.info | BajoranEngineer@mastodon.online
  • 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 | BajoranEngineer@mastodon.online
  • 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 | BajoranEngineer@mastodon.online
  • 45. 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
  • 46. 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
  • 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 | BajoranEngineer@mastodon.online 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 | BajoranEngineer@mastodon.online
  • 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 | BajoranEngineer@mastodon.online * up to 60 hours per month