- Open a .JS file.
- In the editor window, right click and navigate to Outlining > Stop Outlining.
- Right click again and navigate to Outlining > Start Automatic Outlining.
- Close the file, and reopen it.
The issue should not be fixed. It's a simple trick, and I have no idea why outlining does this, but hey, this fixes the issue.