mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
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.
This commit is contained in:
parent
a906f23287
commit
7f061ccb0c
@ -11,7 +11,7 @@ import java.util.*;
|
||||
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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user