until now, all features were listed under quicktips. for a better overview and in preparation for further descriptions, the pages will be split into quicktips and features.
38 lines
782 B
Markdown
38 lines
782 B
Markdown
---
|
|
layout: default
|
|
title: Hide macros, outputs or fans
|
|
parent: Features
|
|
nav_order: 50
|
|
has_children: false
|
|
permalink: /features/hide-gcode_macros
|
|
redirect_from:
|
|
- /quicktips/hide-gcode_macros
|
|
description: >-
|
|
You can show and hide G-Code macros in the interface settings
|
|
---
|
|
|
|
# {{ page.title }}
|
|
{{ page.description }}
|
|
|
|
Did you know, that you can also hide gcode macros by prefixing the name with an underscore?
|
|
|
|
```yaml
|
|
[gcode_macro MY_AWESOME_GCODE]
|
|
gcode:
|
|
_MY_HELPER_CODE
|
|
```
|
|
|
|
```yaml
|
|
[gcode_macro _MY_HELPER_CODE]
|
|
gcode:
|
|
M300
|
|
```
|
|
|
|
`MY_AWESOME_GCODE` appears in your interface settings, `_MY_HELPER_CODE` does not.
|
|
|
|

|
|
|
|
This also works for other configuration sections including **fans and outputs.**
|
|
{: .info}
|
|
|