It can happen when you open your Unity C# file from another folder instead of opening it from Unity Editor. The ' Miscellaneous Files' message can happen for many reasons:
Take a look at the image below that came from the video in your question:
There is no auto-completion because the script says ' Miscellaneous Files' instead of the of the name of the Project.