File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -634,6 +634,34 @@ public void actionPerformed(ActionEvent e) {
634
634
});
635
635
sketchMenu .add (item );
636
636
637
+ sketchMenu .addSeparator ();
638
+
639
+ item = new JMenuItem (_ ("Copy Hex File as Path" ));
640
+ item .addActionListener (new ActionListener () {
641
+ public void actionPerformed (ActionEvent e ) {
642
+ String s = sketch .getSketchHexFilePath (true );
643
+ if (sketch ==null ?false : s .length ()>0 )
644
+ {
645
+ Toolkit .getDefaultToolkit ().getSystemClipboard ().setContents (new StringSelection (s ),null );
646
+ }
647
+ else
648
+ {
649
+ Base .showMessage (_ ("No Hex File" ),
650
+ _ ("There is no Hex for this Sketch yet. Verify the Sketch first" ));
651
+ }
652
+ }
653
+ });
654
+ sketchMenu .add (item );
655
+
656
+
657
+
658
+ item = newJMenuItemAlt (_ ("Show Compilation Folder" ), 'R' );
659
+ item .addActionListener (new ActionListener () {
660
+ public void actionPerformed (ActionEvent e ) {
661
+ Base .openFolder (sketch .getTempBuildFolder ());
662
+ }
663
+ });
664
+ sketchMenu .add (item );
637
665
// item = newJMenuItemShift("Verify / Compile (verbose)", 'R');
638
666
// item.addActionListener(new ActionListener() {
639
667
// public void actionPerformed(ActionEvent e) {
You can’t perform that action at this time.
0 commit comments