You need to understand that it would hide it only from the UI point of view and not the actual documentation. Should a developer choose to look at your swagger.json, they will still see it.
This is also a top-bottom or bottom-up question. If you're generating your documentation from swagger-editor and generate your code from it, then that may be the way to go.
If you're generating the documentation directly from the code, then whichever library you're using may have the option to hide or filter operations entirely when swagger.json is being generated and then there would be no need for that extension. That way, even if a user/developer chooses to look at the raw swagger.json, they won't see the operations that are currently being developed.