How to control the line number's showing or hiding?

Here is a scene:
I need to hide the editor’s line number and gutters, but I don’t know how to do with it.
If anyone could help will be thankful!

Put the extensions in a compartment and enable/disable them by reconfiguring that. See this example.