From 7f061ccb0cfb193103aac36780c453df93bf5162 Mon Sep 17 00:00:00 2001 From: Chris--A Date: Thu, 9 Jul 2015 04:23:33 +1000 Subject: [PATCH] This adds 'hh' and 'hpp' as valid sketch files. For completeness a sketch should allow the same extensions as a library. These missing sketch extensions have already been enabled for libraries in #3186. --- arduino-core/src/processing/app/SketchData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arduino-core/src/processing/app/SketchData.java b/arduino-core/src/processing/app/SketchData.java index cef17433e..6d53ada0b 100644 --- a/arduino-core/src/processing/app/SketchData.java +++ b/arduino-core/src/processing/app/SketchData.java @@ -11,7 +11,7 @@ import java.util.*; public class SketchData { public static final List SKETCH_EXTENSIONS = Arrays.asList("ino", "pde"); - public static final List OTHER_ALLOWED_EXTENSIONS = Arrays.asList("c", "cpp", "h", "s"); + public static final List OTHER_ALLOWED_EXTENSIONS = Arrays.asList("c", "cpp", "h", "hh", "hpp", "s"); public static final List EXTENSIONS = new LinkedList(FluentIterable.from(SKETCH_EXTENSIONS).append(OTHER_ALLOWED_EXTENSIONS).toList()); /** main pde file for this sketch. */