手順
ウィンドウ左下の歯車マークをクリックし、「Settings」をクリックします。
→「Settings」タブが開きます。
「Settings」タブの検索窓「Search settings」に、「sticky」と入力します。
→検索結果が表示されます。
検索結果の下の方にある「Editor > Sticky Scroll: Enabled」のチェックを外します。
※「Shows the nested current scopes during the scroll at the top of the editor.」は、「スクロール中、エディタの上部に、ネストされた現在のスコープを表示します」という意味です。
エディタに戻ると、上部の行が固定スクロールされなくなっています。
投稿時の環境
- Windows11 Home Ver. 24H2
- Visual Studio Code Ver. 1.96.2