Skip to content

Commit

Permalink
Merge pull request #74 from CarsonF/ide
Browse files Browse the repository at this point in the history
Configure IDE intellisense
  • Loading branch information
Lyr3x committed Dec 23, 2021
2 parents d740f18 + f4b2b12 commit 2c2c69b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.pio
.pioenvs
.piolibdeps
CMake*.txt
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
Expand Down
15 changes: 9 additions & 6 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"recommendations": [
"esphome.esphome-vscode",
"ms-vscode.cpptools"
]
}
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"esphome.esphome-vscode",
"ms-vscode.cpptools",
"platformio.platformio-ide"
]
}
12 changes: 12 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
; Only used to configure IDE
; Init after compiling with `esphome compile peopleCounterDev.yaml`

[platformio]
src_dir = components
include_dir = .esphome/build/roodedev/src
lib_dir = .esphome/build/roodedev/.piolibdeps/roodedev

[env:roode]
framework = arduino
board = nodemcu-32s
platform = platformio/espressif32 @ 3.3.2

0 comments on commit 2c2c69b

Please sign in to comment.