From 60568458a0b1610fb9e30df1e2dd47f46650dd07 Mon Sep 17 00:00:00 2001 From: Jia Rong Yee <28086837+fourjr@users.noreply.github.com> Date: Sat, 28 Mar 2020 22:16:41 +0800 Subject: [PATCH] Add path of libraries into the properties file --- src/arduino/arduino.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/arduino/arduino.ts b/src/arduino/arduino.ts index 73619a7b..ea8b3a09 100644 --- a/src/arduino/arduino.ts +++ b/src/arduino/arduino.ts @@ -592,6 +592,9 @@ Please make sure the folder is not occupied by other procedures .`); if (fs.existsSync(toolPath)) { result.push(path.normalize(path.join(toolPath, "**"))); } + // path of custom libraries + result.push(path.join(this._settings.sketchbookPath, "libraries", "**")); + return result; }