From b17b7a6de7710a7cdf2587c64e8a50b1790e4c44 Mon Sep 17 00:00:00 2001 From: Francesco Stasi Date: Wed, 24 Mar 2021 11:38:36 +0100 Subject: [PATCH] ATL-1136: Add .adoc and .md file support --- arduino-ide-extension/src/common/protocol/sketches-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arduino-ide-extension/src/common/protocol/sketches-service.ts b/arduino-ide-extension/src/common/protocol/sketches-service.ts index f521a205f..d3372030e 100644 --- a/arduino-ide-extension/src/common/protocol/sketches-service.ts +++ b/arduino-ide-extension/src/common/protocol/sketches-service.ts @@ -87,7 +87,7 @@ export namespace Sketch { export namespace Extensions { export const MAIN = ['.ino', '.pde']; export const SOURCE = ['.c', '.cpp', '.s']; - export const ADDITIONAL = ['.h', '.c', '.hpp', '.hh', '.cpp', '.s', '.json']; + export const ADDITIONAL = ['.h', '.c', '.hpp', '.hh', '.cpp', '.S', '.json', '.md', '.adoc']; export const ALL = Array.from(new Set([...MAIN, ...SOURCE, ...ADDITIONAL])); } export function isInSketch(uri: string | URI, sketch: Sketch): boolean {