想增加VS Code Terminal的scroll back line limit?
當application回傳大量console log到terminal,你可能會嘗試用Control F去找尋你想找的指定string,但當行數超過VS Code的預設上限,效舊的行數便會被清除掉。哪如何可增加VS Code Terminal的scrollback line上限?
Time needed: 3 minutes.
設定VS Code的Terminal scrollback buffer.
- 進入VS Code的Settings版面
File > Preferences > Settings
- 找尋Terminal >Intergrated: Scrollback項目
在搜尋列輸入 "scrollback"
- 增加max amount of lines
輸入比較大的數值如: 10000
