Skip to content

Commit 7f061cc

Browse files
committed
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 arduino#3186.
1 parent a906f23 commit 7f061cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: arduino-core/src/processing/app/SketchData.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
public class SketchData {
1212

1313
public static final List<String> SKETCH_EXTENSIONS = Arrays.asList("ino", "pde");
14-
public static final List<String> OTHER_ALLOWED_EXTENSIONS = Arrays.asList("c", "cpp", "h", "s");
14+
public static final List<String> OTHER_ALLOWED_EXTENSIONS = Arrays.asList("c", "cpp", "h", "hh", "hpp", "s");
1515
public static final List<String> EXTENSIONS = new LinkedList<String>(FluentIterable.from(SKETCH_EXTENSIONS).append(OTHER_ALLOWED_EXTENSIONS).toList());
1616

1717
/** main pde file for this sketch. */

0 commit comments

Comments
 (0)