The editor won’t traverse more than one directory deep, so a simple way to hide them is to put them in a dir within a dir:
/inc/widgets/my-widget-file.php
The editor won’t traverse more than one directory deep, so a simple way to hide them is to put them in a dir within a dir:
/inc/widgets/my-widget-file.php