My script files were fine at the beginning. Because I wanted to comply with the code specifications, I moved all the original script files to a folder. Then all the moved files were displayed as miscellaneous files, without code prompts or keyword discoloration.
Solution:
Rename the script file, for example, it was originally called control, add a 1 at the end, and it becomes control1. You will find that the miscellaneous files become as follows
Change the name back and solve it.
Solution process: I couldn't find a way, so I thought about creating another script file and copying the original code. In order to conflict with the original name, I added a 1 to the end of the original name. I was surprised to find that it was no longer Miscellaneous files, problem solved.