mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 01:23:52 +00:00
editor: add Essential hub snippet
This commit is contained in:
@@ -283,6 +283,15 @@ const templateSnippets: Array<
|
||||
documentation: 'Template for BOOST Move hub program.',
|
||||
insertText: template('MoveHub', ['Motor', 'ColorDistanceSensor']),
|
||||
},
|
||||
{
|
||||
label: 'inventorhub',
|
||||
documentation: 'Template for MINDSTORMS Robot Inventor hub program.',
|
||||
insertText: template('InventorHub', [
|
||||
'Motor',
|
||||
'ColorSensor',
|
||||
'UltrasonicSensor',
|
||||
]),
|
||||
},
|
||||
{
|
||||
label: 'primehub',
|
||||
documentation: 'Template for SPIKE Prime program.',
|
||||
@@ -294,12 +303,12 @@ const templateSnippets: Array<
|
||||
]),
|
||||
},
|
||||
{
|
||||
label: 'inventorhub',
|
||||
documentation: 'Template for MINDSTORMS Robot Inventor hub program.',
|
||||
insertText: template('InventorHub', [
|
||||
label: 'essentialhub',
|
||||
documentation: 'Template for SPIKE Essential program.',
|
||||
insertText: template('EssentialHub', [
|
||||
'Motor',
|
||||
'ColorSensor',
|
||||
'UltrasonicSensor',
|
||||
'ColorLightMatrix',
|
||||
]),
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user