Skip to content

Commit 95df354

Browse files
committed
Place "New Arduino Sketch" in project explorer context menu #653
1 parent 964debe commit 95df354

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

io.sloeber.ui/META-INF/MANIFEST.MF

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Require-Bundle: org.eclipse.ui,
1414
org.eclipse.cdt.core,
1515
org.eclipse.ui.forms,
1616
org.eclipse.ui.ide,
17-
org.eclipse.debug.ui
17+
org.eclipse.debug.ui,
18+
org.eclipse.ui.navigator
1819
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
1920
Bundle-ActivationPolicy: lazy
2021
Import-Package: io.sloeber.core.api,

io.sloeber.ui/plugin.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ The color used by the fourth serial connection of the serial monitor
159159
%wizard.description
160160
</description>
161161
</wizard>
162+
<primaryWizard
163+
id="io.sloeber.eclipse.NewArduinoSketchWizard">
164+
</primaryWizard>
162165
</extension>
163166
<extension
164167
point="org.eclipse.ui.propertyPages">
@@ -561,4 +564,16 @@ The color used by the fourth serial connection of the serial monitor
561564
</contextualLaunch>
562565
</shortcut>
563566
</extension>
567+
<extension
568+
point="org.eclipse.ui.navigator.navigatorContent">
569+
<commonWizard
570+
type="new"
571+
wizardId="io.sloeber.eclipse.NewArduinoSketchWizard">
572+
<enablement>
573+
<count
574+
value="*">
575+
</count>
576+
</enablement>
577+
</commonWizard>
578+
</extension>
564579
</plugin>

0 commit comments

Comments
 (0)