When editing a .g file the "GCode Reference" button is shown on the top bar. When clicked, it opens Duet's GCode reference and then the user searches for the desired command information. It's very helpful as it avoids keeping the documentation bookmarked. But I'd like to propose an extension of it's funcionality.
Would it be possible to make it open the reference documentation of a selected command in the editor?
Example:
I'm editing this file and need the reference documentation for the M566 command. I select it and click the "G-code reference" button.
When editing a
.g
file the "GCode Reference" button is shown on the top bar. When clicked, it opens Duet's GCode reference and then the user searches for the desired command information. It's very helpful as it avoids keeping the documentation bookmarked. But I'd like to propose an extension of it's funcionality.Would it be possible to make it open the reference documentation of a selected command in the editor?
Example:
I'm editing this file and need the reference documentation for the
M566
command. I select it and click the "G-code reference" button.This action would take me to this URL:
This would save the trouble of manually searching for the command reference.