Skip to content

Commit 1281ad1

Browse files
committed
Use more relevant page for "Help > Environment" menu item target
Selecting "Help > Environment" from the Arduino IDE menus opens a page containing usage information for the Arduino IDE application in the browser. Previously, the URL used was the same as that of in Arduino IDE 1.x: https://www.arduino.cc/en/Guide/Environment The documentation from that page was written for Arduino IDE 1.x. Even though the UI of the two versions is aligned for the most part, some advancements made for the 2.x major version series resulted in some differences. This means that documentation targeted at Arduino IDE 1.x is not always applicable to Arduino IDE 2.x. Fortunately, documentation is now available for each major version series of the IDE. So resolution is only a matter of pointing the menu item at the correct URL.
1 parent de32bdd commit 1281ad1

File tree

1 file changed

+3
-1
lines changed
  • arduino-ide-extension/src/browser/contributions

1 file changed

+3
-1
lines changed

Diff for: arduino-ide-extension/src/browser/contributions/help.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export class Help extends Contribution {
4141
);
4242
registry.registerCommand(
4343
Help.Commands.ENVIRONMENT,
44-
createOpenHandler('https://www.arduino.cc/en/Guide/Environment')
44+
createOpenHandler(
45+
'https://docs.arduino.cc/software/ide-v2/tutorials/getting-started-ide-v2'
46+
)
4547
);
4648
registry.registerCommand(
4749
Help.Commands.TROUBLESHOOTING,

0 commit comments

Comments
 (0)