automatically detect/add missing package references in project
This commit is contained in:
parent
96d354a8a8
commit
fcf680e9bd
@ -43,11 +43,19 @@
|
|||||||
"microbit-serial": ""
|
"microbit-serial": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "missingPackage",
|
||||||
|
"map": {
|
||||||
|
"radio\\s*\\.": "radio",
|
||||||
|
"bluetooth\\s*\\.": "bluetooth",
|
||||||
|
"devices\\s*\\.": "devices"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "api",
|
"type": "api",
|
||||||
"map": {
|
"map": {
|
||||||
"bluetooth\\.uartRead\\((.*?)\\)": "bluetooth.uartReadUntil($1)",
|
"bluetooth\\s*\\.uartRead\\s*\\((.*?)\\)": "bluetooth.uartReadUntil($1)",
|
||||||
"bluetooth\\.uartWrite\\((.*?)\\)": "bluetooth.uartWriteUntil($1)"
|
"bluetooth\\s*\\.uartWrite\\s*\\((.*?)\\)": "bluetooth.uartWriteUntil($1)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user