It seems with Nov 2021 version of Intellij, the editor has started showing methods in the project structure view. If your cursor is on a method in the editor, the project structure will open up and jump to this method.
I would like to disable it and go back to the old style project structure that didn't show methods.