Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Commit 7c3084b

Browse files
author
Nikhil Thorat
authored
Auto save on format for vscode. Update readme to suggest using vscode and clang-format. (#103)
* vscode settings * add the extension info to the readme * link to vscode extension
1 parent 4454e81 commit 7c3084b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"files.trimTrailingWhitespace": true,
1414
"editor.tabSize": 2,
1515
"editor.insertSpaces": true,
16+
"editor.formatOnSave": true,
1617
"files.insertFinalNewline": true,
1718
"editor.detectIndentation": false,
1819
"editor.wrappingIndent": "none",

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ $ cd deeplearnjs
7474
$ npm run prep # Installs node modules and bower components.
7575
```
7676

77+
We recommend using [Visual Studio Code](https://code.visualstudio.com/) for
78+
development. Make sure to install the `clang-format` command line tool as
79+
well as the [Clang-Format VSCode extension](https://marketplace.visualstudio.com/items?itemName=xaver.clang-format) for auto-formatting.
80+
7781
To interactively develop any of the demos (e.g. `demos/nn-art/`):
7882

7983
```bash

0 commit comments

Comments
 (0)