mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-29 06:38:02 -08:00
Compare commits
6 Commits
fe2bc247c9
...
961049fc9e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
961049fc9e | ||
|
|
559d03ecf3 | ||
|
|
bea751612a | ||
|
|
9617317345 | ||
|
|
087d5d45a6 | ||
|
|
96f9b643f4 |
@@ -125,6 +125,27 @@
|
|||||||
| \|= | bitwise or and store|
|
| \|= | bitwise or and store|
|
||||||
| , | separator as in ( y=x,z=++x )|
|
| , | separator as in ( y=x,z=++x )|
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
## Comments
|
||||||
|
|
||||||
|
- Comments are very helpful to explain a Python code.
|
||||||
|
|
||||||
|
- They are used to make the code more readable.
|
||||||
|
|
||||||
|
- They never get executed.
|
||||||
|
|
||||||
|
- Comments start with # in Python.
|
||||||
|
|
||||||
|
```python
|
||||||
|
|
||||||
|
#This is a comment
|
||||||
|
|
||||||
|
print("Welcome!")
|
||||||
|
|
||||||
|
```
|
||||||
|
<br>
|
||||||
|
|
||||||
### Basic Data Structures
|
### Basic Data Structures
|
||||||
|
|
||||||
### List
|
### List
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
|
|
||||||
#### General
|
#### General
|
||||||
|
|
||||||
- `Ctrl`+`Shift`+`P`, `F1`: Show Command Palette
|
- `Ctrl`+`Shift`+`P`, `F1`: Show Command Palette
|
||||||
|
- `Ctrl`+`Shift`+`T`: Open last closed tab
|
||||||
- `Ctrl`+`P`: Quick Open, Go to File
|
- `Ctrl`+`P`: Quick Open, Go to File
|
||||||
- `Ctrl`+`Shift`+`N`: New window/instance
|
- `Ctrl`+`Shift`+`N`: New window/instance
|
||||||
- `Ctrl`+`W`: Close window/instance
|
- `Ctrl`+`W`: Close window/instance
|
||||||
@@ -19,7 +20,7 @@
|
|||||||
- `Ctrl`+`C`: Copy line (empty selection)
|
- `Ctrl`+`C`: Copy line (empty selection)
|
||||||
- `Ctrl`+`↓/↑`: Move line down / up
|
- `Ctrl`+`↓/↑`: Move line down / up
|
||||||
- `Ctrl`+`Shift`+`K`: Delete line
|
- `Ctrl`+`Shift`+`K`: Delete line
|
||||||
- `Ctrl`+`Enter` / `Ctrl`+`Shift`+`Enter`: Insert line below / above
|
- `Ctrl`+`Enter` / `Ctrl`+`Shift`+`Enter`: Insert line below / above
|
||||||
- `Ctrl`+`Shift`+`\`: Jump to matching bracket
|
- `Ctrl`+`Shift`+`\`: Jump to matching bracket
|
||||||
- `Ctrl`+`]` / `Ctrl`+`[`: Indent / Outdent line
|
- `Ctrl`+`]` / `Ctrl`+`[`: Indent / Outdent line
|
||||||
- `Ctrl`+`Home` / `End`: Go to beginning / end of file
|
- `Ctrl`+`Home` / `End`: Go to beginning / end of file
|
||||||
@@ -136,7 +137,7 @@
|
|||||||
|
|
||||||
- [`Wrap Console Log`](https://marketplace.visualstudio.com/items?itemName=midnightsyntax.vscode-wrap-console-log): Wrap to console.log by word or selection.
|
- [`Wrap Console Log`](https://marketplace.visualstudio.com/items?itemName=midnightsyntax.vscode-wrap-console-log): Wrap to console.log by word or selection.
|
||||||
|
|
||||||
- [`Bracket Pair Colorizer`](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer): Allows matching brackets to be identified with colours.
|
- [`Bracket Pair Colorizer`](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer): Allows matching brackets to be identified with colours.
|
||||||
|
|
||||||
## My Settings
|
## My Settings
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user