Compare commits

...

4 Commits

Author SHA1 Message Date
lucatolton
9bf23e636c Merge 8c82f767ed into 559d03ecf3 2024-02-26 16:45:16 -07:00
Julien Le Coupanec
559d03ecf3 Merge pull request #372 from cunnellp5/cunnellp/vscode/add-command-and-cleanup-spaces
updates vscode cheat sheet
2024-02-26 18:25:32 +01:00
cunnellp5
bea751612a updates vscode cheat sheet with one command 2024-02-15 07:10:18 -07:00
lucatolton
8c82f767ed Update express.js 2023-07-05 20:57:22 +01:00
2 changed files with 6 additions and 5 deletions

View File

@@ -134,7 +134,7 @@ app.use('<admin dir>', admin)`; `// Mounting a sub - app`
`app.put('/', function(req,res){
res.send('PUT request to a webpage')
})` `// post request to the specified path`
})` `// put request to the specified path`
`app.delete('/', function(req,res){
res.send('DELETE request to a webpage')
@@ -223,4 +223,4 @@ res.sendFile(file, options, function(err){
app.use(BodyParser.json())
app.use(BodyParser.urlencoded({
extended: true
}))` `// Parses incoming request bodies`
}))` `// Parses incoming request bodies`

View File

@@ -6,7 +6,8 @@
#### 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`+`Shift`+`N`: New window/instance
- `Ctrl`+`W`: Close window/instance
@@ -19,7 +20,7 @@
- `Ctrl`+`C`: Copy line (empty selection)
- `Ctrl`+`↓/↑`: Move line down / up
- `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`+`]` / `Ctrl`+`[`: Indent / Outdent line
- `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.
- [`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