OpenStore Feedback Add your apps

Search OpenStore

Find an app or a developer

one console log icon

one console log

VS Code extension that adds one clean console.log line for the variable under your cursor. A lighter take on Turbo Console Log

p32929Developer ToolsVS Code extensionconsole.logJavaScriptTypeScriptDebuggingTurbo Console LogDeveloper tools Website Source code
Install
Platform
Extensions
Category
Developer Tools
Available from
VS Code Marketplace

About this app

one console log is a VS Code extension that writes a console.log for you in one line. Typing logs by hand while debugging JavaScript or TypeScript is slow, and Turbo Console Log adds several lines each time, which clutters your code and your output. This one adds a single line with the file name and the variable, so your logs stay short and easy to clean up.

It's a fork of Turbo Console Log. The original adds several lines for each log; I wanted just one.

  1. One line per log: a single console.log instead of several.
  2. Knows what to log: put your cursor on a variable or a line and it logs that.
  3. Clear labels: each log shows the file and the variable name, so you know where it came from.
  4. Same habit as Turbo Console Log, with less noise.
  5. Free.

Great for JavaScript and TypeScript developers who debug with console.log all day.

Install it from the VS Code Marketplace, or run ext install p32929.one-console-log. Then open the command palette and pick "Add console.log in this line". It only adds logs for now; for commenting or deleting all logs, use Turbo Console Log.

Want a VS Code extension that fits the way you code? Contact me through my portfolio: https://p32929.github.io

More from Fayaz Bin Salam

See all 87