Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Dot Log (Antigravity)New to Visual Studio Code? Get it now.
Dot Log (Antigravity)

Dot Log (Antigravity)

SeolJaehyeok

|
68 installs
| (0) | Free
Easily generate console.log by typing .log after a variable
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Dot Log (Antigravity)

Easily generate console.log by typing .log after a variable.

Features

  • Auto-completion: Type .log after any variable or expression to trigger the suggestion.
  • Smart Replacement: Automatically converts variable.log into console.log('variable', variable).
  • Support for Dot Notation: Works with nested properties like obj.prop.log.
  • Configurable Quotes: Choose between single quotes ('), double quotes ("), or backticks (`).

Usage

  1. Type a variable name.
  2. Type . (dot).
  3. Select log from the suggestion list (or type log and hit Enter).

Example:

const myVar = 123;

// Type:
myVar.log

// Result:
console.log('myVar', myVar);

Extension Settings

This extension contributes the following settings:

  • dotLog.quote: Specifies the quote style to use for the variable name string.
    • ' (default): Single quote
    • ": Double quote
    • `: Backtick

Release Notes

0.0.1

Initial release of Dot Log.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft