-
Notifications
You must be signed in to change notification settings - Fork 0
/
Visual Studio Code Notes.py
55 lines (39 loc) · 1.15 KB
/
Visual Studio Code Notes.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
""" Visual Studio Code Interface Notes """
" Color Scheme"
# Open Command Palette: type 'color' > select Color Theme
" Command Palette "
# Shift + Command + P
" Comments "
# # Comment
# """ Block text """
# Comment out text: highlight code or text > Command + /
" Install Extensions "
# Click Extensions icon (four squares) on Side Bar
# Or
# Shift + Command + X
" Install Packages "
# Open Terminal > run "pip install package_name"
" Interactive Window "
# Open Interactive Window: Control + I
# Run code in Interactive Window: Shift + Enter
# Run code in Terminal: Control + Enter
" Jupyter Notebook "
# Open Command Palette: search for 'Create New Jupyter Notebook'
" Keybindings "
# Open Command Palette: search for 'JSON' > select keybindings.json > enter/edit keybindings
" Macros "
# Open Command Palette: search for 'JSON' > select settings.json > enter/edit macros
" Python Version "
import sys
print(sys.version)
# 3.9.3 (v3.9.3:e723086bc3, Apr 2 2021, 08:25:55)
print(sys.executable)
" Run Code "
# In Interactive Window: Shift + Enter
# In Terminal: Ctrl + Enter
" Search "
# Command + P
" Settings "
# Command + ,
" Terminal "
# Ctrl + Shift + `