Skip to content

Commit e10f0f1

Browse files
authored
Make tab width 2 spaces (#445)
1 parent 40a73af commit e10f0f1

File tree

205 files changed

+19719
-20184
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+19719
-20184
lines changed

.prettierrc

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
{
22
"singleQuote": true,
3-
"tabWidth": 4,
3+
"tabWidth": 2,
44
"useTabs": false,
5-
"overrides": [
6-
{
7-
"files": "*.{json,yml}",
8-
"options": {
9-
"tabWidth": 2
10-
}
11-
}
12-
]
5+
"printWidth": 80
136
}

arduino-ide-extension/src/browser/arduino-commands.ts

+12-12
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ import { Command } from '@theia/core/lib/common/command';
44
* @deprecated all these commands should go under contributions and have their command, menu, keybinding, and toolbar contributions.
55
*/
66
export namespace ArduinoCommands {
7-
export const TOGGLE_COMPILE_FOR_DEBUG: Command = {
8-
id: 'arduino-toggle-compile-for-debug',
9-
};
7+
export const TOGGLE_COMPILE_FOR_DEBUG: Command = {
8+
id: 'arduino-toggle-compile-for-debug',
9+
};
1010

11-
/**
12-
* Unlike `OPEN_SKETCH`, it opens all files from a sketch folder. (ino, cpp, etc...)
13-
*/
14-
export const OPEN_SKETCH_FILES: Command = {
15-
id: 'arduino-open-sketch-files',
16-
};
11+
/**
12+
* Unlike `OPEN_SKETCH`, it opens all files from a sketch folder. (ino, cpp, etc...)
13+
*/
14+
export const OPEN_SKETCH_FILES: Command = {
15+
id: 'arduino-open-sketch-files',
16+
};
1717

18-
export const OPEN_BOARDS_DIALOG: Command = {
19-
id: 'arduino-open-boards-dialog',
20-
};
18+
export const OPEN_BOARDS_DIALOG: Command = {
19+
id: 'arduino-open-boards-dialog',
20+
};
2121
}

0 commit comments

Comments
 (0)