Skip to content

FAQ

Ctrl+Alt+L does nothing?

  1. Make sure text is selected (the insert command requires a selection)
  2. Check the file language is JavaScript / TypeScript / Vue / HTML / JSX / TSX / Svelte / Astro
  3. Check hiasConsoleLog.enable is not set to false
  4. Check for keybinding conflicts with other extensions (Ctrl+K Ctrl+S, search hiasConsoleLog)

Insertion position is not what I expected?

Placement is AST-based. If the code has syntax errors and cannot be parsed, the extension falls back to inserting on the line below the selection. Fix the syntax error and try again for smart placement.

Delete/comment commands find no console.log?

Delete, comment and uncomment match against the current hiasConsoleLog.template:

  • Hand-written console.log statements that don't match the template are intentionally ignored
  • After changing the template, logs generated with the old format are no longer matched — clean them up with the old template first

Does it work in Vue/HTML files?

Yes. The <script> block containing the selection is extracted and parsed. The selection must be inside a <script> block; expressions in <template> are not supported.

How do I undo a multi-cursor insertion?

All insertions are applied in a single atomic edit, so one Ctrl+Z undoes everything.

Does it support Python / Go / other languages?

Currently only the JavaScript ecosystem (JS/TS/JSX/TSX/Vue/HTML/Svelte/Astro) is supported. The inserted statement is console.log(...); comment matching additionally tolerates the # prefix.

How do I report an issue?

File it at GitHub Issues with:

  • VSCode version
  • Extension version
  • Reproduction steps and a code snippet

Released under the MIT License.