Question about possible firmware change
-
Hi,
Consider the current sorting feature where you can add a prefix like 123_ which does not display but is used to sort the list of macros are desired.
Currently macro files (generally) have no extension and if you include the extension it displays.
I would like to see a feature where macro files can have a .G extension but the extensions does not display.
Why?
Because I edit my files in an external editor who knows how to handle the syntax of .G files and display different things in meaningful colors.
It does not know how to deal with files that have no extension BUT if I could add the .G extension to my macro files the editor could "colorize" them as well.
Yes, I can add the .G extension now but then it shows up in the list of macros and that I don't like.
Thanks much.
Frederick
-
@fcwilt This is already the case in v3.4 and v3.5 and I can confirm it works well in v3.5.0-rc.1+.
-
@chrishamm said in Question about possible firmware change:
I can confirm it works well in v3.5.0-rc.1+.
Is this documentation current?
https://docs.duet3d.com/en/User_manual/Tuning/Macros_tasks#naming-and-ordering-macros
-
@chrishamm said in Question about possible firmware change:
@fcwilt This is already the case in v3.4 and v3.5 and I can confirm it works well in v3.5.0-rc.1+.
I am using firmware 3.4.6
I just created a macro 00_ABCD.g.
As expected the 00_ prefix does not display.
However the .g does display as does an extension of .G
So it appears to not work in 3.4.6 unless I am missing something.
And I am glad to hear it is working in 3.5.x.
Hopefully 3.5.1 isn't too far in the future.
Thanks.
Frederick
-
@fcwilt The code that strips the prefix and the .g/.gc/.gcode extension hasn't been changed since v3.4.6. I just tried it with 3.4.6 and it does work as well on my setup with filename
00_ABCD.g
: -