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