mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-09-12 01:24:04 +00:00
solution for better error and warning highlighting when compiling with platformio
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
cmd: "platformio"
|
||||
name: "Build with error highlighting (dev_4096)"
|
||||
args:
|
||||
- run --environment dev_4096
|
||||
sh: true,
|
||||
cwd: .
|
||||
# env:
|
||||
# VARIABLE1: "VALUE1"
|
||||
# VARIABLE2: "VALUE2"
|
||||
errorMatch:
|
||||
- "(?<file>[\\/0-9a-zA-Z\\._]+):(?<line>\\d+):(?<col>\\d+):\\s+error:\\s+(?<message>.+)"
|
||||
|
||||
warningMatch:
|
||||
- "(?<file>[\\/0-9a-zA-Z\\._]+):(?<line>\\d+):(?<col>\\d+):\\s+warning:\\s+(?<message>.+)"
|
||||
# keymap: <keymap string>
|
||||
# atomCommandName: namespace:command
|
||||
# targets:
|
||||
# extraTargetName:
|
||||
# cmd: "<command to execute>"
|
||||
# args:
|
||||
# # (any previous options are viable here except `targets` itself)
|
||||
Reference in New Issue
Block a user