Sciware
Intro to VS Code
Learn how VS Code can help you be a better programmer
https://sciware.flatironinstitute.org/33_SummerIntro
Sciware goal
Activities where participants all actively work to foster an environment which encourages participation across experience levels, coding language fluency, technology choices*, and scientific disciplines.
*though sometimes we try to expand your options
Summer Intros
June 4 10-12:30: command line & cluster
- Jun 12 10-12:30: VS Code
- Jun 17-18 all day: NVIDIA intro to Machine Learning
- Jun 20 10-12:30: git & Github, Part I
- Jun 27 10-12:30: git & Github, Part II
Today’s agenda (1)
- Install VS Code
- [Windows] Install WSL (https://learn.microsoft.com/windows/wsl/install)
- Install VS Code (https://code.visualstudio.com/Download)
- Intro to VS Code
- Clone a repo
- https://github.com/flatironinstitute/sciware-vscode-exercise
- Orientation to the interface
- Follow along!
Today’s agenda (2)
- Install Python
- https://docs.anaconda.com/free/miniconda/#quick-command-line-install
- Orientation to Python features (follow along!)
- Practice using VS Code with a Python project
What is an IDE?
Integrated Development Environment
(or just “editor”)
- an interactive environment (tool or program)
- for developing (writing, editing) code
- that integrates other features
- designed to make it easier to write code all in one place
Text editor
- Most IDEs are, at the core, a text editor
- Fancy “spell checker” (variables, functions, syntax), autocomplete
- Aware of code structure, projects, programming language, libraries
- Integrated tools for running, compiling, testing, debugging, checking, documenting, sharing, …
Lots of good options
- VS Code (“Visual Studio Code”): open-source cross-platform editor from Microsoft
- Sublime Text, Atom: lightweight editors with code-aware features
- PyCharm, Spyder: Python-specific IDEs with focus on debugging
Other VS Code Intro Materials
- Previous SciWare including VS Code:
https://github.com/jsoules/vs-code-introduction
- Intro videos from Microsoft:
https://code.visualstudio.com/docs/getstarted/introvideos
- Get help at #code-help in the SF Interns 2024 Slack workspace
Survey
