Skip to content

Commit

Permalink
This adds 'hh' and 'hpp' as valid sketch files.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Chris--A committed Jul 8, 2015
1 parent a906f23 commit 7f061cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arduino-core/src/processing/app/SketchData.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public class SketchData {

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

/** main pde file for this sketch. */
Expand Down

0 comments on commit 7f061cc

Please sign in to comment.