Skip to content

Commit c19d23b

Browse files
committed
ATL-1136: Add .adoc and .md file support
1 parent 3fb087f commit c19d23b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: arduino-ide-extension/src/common/protocol/sketches-service.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ export namespace Sketch {
8888
export const MAIN = ['.ino', '.pde'];
8989
export const SOURCE = ['.c', '.cpp', '.s'];
9090
export const ADDITIONAL = ['.h', '.c', '.hpp', '.hh', '.cpp', '.s', '.json'];
91-
export const ALL = Array.from(new Set([...MAIN, ...SOURCE, ...ADDITIONAL]));
91+
export const DOCUMENTATION = ['.md', '.adoc'];
92+
export const ALL = Array.from(new Set([...MAIN, ...SOURCE, ...ADDITIONAL, ...DOCUMENTATION]));
9293
}
9394
export function isInSketch(uri: string | URI, sketch: Sketch): boolean {
9495
const { mainFileUri, otherSketchFileUris, additionalFileUris } = sketch;

0 commit comments

Comments
 (0)