The Developer Space

Developer's Cafe

  • Cloud
  • Database
  • Open Source
  • Programming
  • Web Dev
  • Mobile
  • Security
  • QuickRef
  • Home
  • Programming
  • Increase Visual Studio Code Terminal Buffer Size

Increase Visual Studio Code Terminal Buffer Size

Shameel Ahmed - IDEs, Programming
July 14, 2022July 14, 2022 No Comments
0 0
0 0
Read Time1 Minute, 36 Second

Find yourself printing a lot to the Terminal during development and surprised to find your output missing? Read on…

Visual Studio Code’s Integrated Terminal has a default Scrollback buffer size of 1000 lines. This means that you can scroll back in the Terminal only up to 1000 lines and anything that was printed beyond this limit is lost.

For example, this Python program prints the first 5000 numbers. But if you scroll up the Terminal after the program has executed, you will find that the first 4000 odd numbers have vanished and only the last 1000 odd numbers are displayed.

To increase the buffer size of the Terminal, click File -> Preferences -> Settings and search for “Scrollback” in the search bar. You will find the following setting: Terminal -> Integrated: Scrollback, and change the number to your desired lines, for example, 10000.

Warning: If you decrease the buffer size from the previous setting, buffer will be truncated from all open Terminal windows to match the new size.

Run the code again and notice that the buffer size has increased and you’ll be able to scroll to the beginning of the session and see all content printed to the Terminal.

Note that I’m using VSCodium, a community-driven, freely-licensed binary distribution of Microsoft’s editor VS Code. To learn more about how it is different from VS Code and why we need it, check out https://vscodium.com/

Share

Facebook
Twitter
LinkedIn
Email

Post navigation

How to fix Redis Error “ERR DEBUG command not allowed.”
Book: Migrate your SQL Server Workloads to PostgreSQL: Quick Reference – Second Edition

Related Articles

Invoke OpenAI APIs from API Gateway

How to build a REST API using Amazon API Gateway to invoke OpenAI APIs

Shameel Ahmed
March 11, 2023March 11, 2023 No Comments

How to fix “‘StreamingBody’ object is not subscriptable” in AWS Lambda boto3

Shameel Ahmed
February 12, 2023February 12, 2023 No Comments
Invoke OpenAI APIs from Lambda

How to invoke OpenAI APIs from AWS Lambda functions

Shameel Ahmed
February 5, 2023February 18, 2023 14 Comments

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%
(Add your review)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

.NET Architecture Artificial Intelligence ASP.NET AWS Azure Books C# Career Cloud CodeProject Conversational Bots Database Data Security Facade IDEs Java Mobile MongoDB MySQL Open Source Patterns PostgreSQL Programming Python Redis Security SQL Server Tools Uncategorized Web Development Windows Phone

Recent Posts

  • How to build a REST API using Amazon API Gateway to invoke OpenAI APIs March 11, 2023
  • How to fix “‘StreamingBody’ object is not subscriptable” in AWS Lambda boto3 February 12, 2023
  • How to invoke OpenAI APIs from AWS Lambda functions February 5, 2023
  • Developer to Architect Series (Red Hat Enable Architect) January 16, 2023
  • Can ChatGPT replace Google Search? January 11, 2023

Archives

  • March 2023 (1)
  • February 2023 (2)
  • January 2023 (2)
  • December 2022 (1)
  • October 2022 (1)
  • July 2022 (2)
  • February 2022 (1)
  • November 2021 (1)
  • July 2021 (1)
  • June 2021 (1)
  • September 2020 (1)
  • May 2020 (2)
  • April 2020 (1)
  • October 2019 (1)
  • September 2019 (4)
  • July 2019 (2)
  • May 2018 (1)
  • September 2017 (1)
  • April 2017 (1)
  • April 2014 (1)
  • August 2011 (1)
  • June 2009 (1)
Copyright 2022. The Developer Space | Theme: OMag by LilyTurf Themes
  • DbStudio
  • Re:Link
  • shameel.net
  • Privacy Policy
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
SAVE & ACCEPT