Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>HL ChunkNew to Visual Studio Code? Get it now.
HL Chunk

HL Chunk

m1skam

| (0) | Free
Highlight indentation guides, blank indentation, current chunk and its gutter range in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

HL Chunk for VS Code

This extension ports the main ideas of hlchunk.nvim to VS Code:

  • indent guides for visible lines
  • optional blank indentation fill
  • current chunk highlighting based on indentation around the cursor
  • gutter and line range highlighting for the current chunk

The VS Code API does not expose Neovim-style virtual text overlays or line-number highlight groups directly, so this implementation uses editor decorations and gutter markers. Chunk detection is indentation-based and does not require Tree-sitter.

Commands

  • HL Chunk: Enable
  • HL Chunk: Disable
  • HL Chunk: Toggle
  • HL Chunk: Enable Chunk / HL Chunk: Disable Chunk
  • HL Chunk: Enable Indent / HL Chunk: Disable Indent
  • HL Chunk: Enable Blank / HL Chunk: Disable Blank
  • HL Chunk: Enable Line Number Range / HL Chunk: Disable Line Number Range

Settings

All settings are under hlchunk.*. The most useful ones are:

  • hlchunk.enabled
  • hlchunk.excludeLanguages
  • hlchunk.maxFileSize
  • hlchunk.indent.enabled
  • hlchunk.blank.enabled
  • hlchunk.chunk.enabled
  • hlchunk.chunk.straight
  • hlchunk.lineNum.enabled

Development

npm install
npm run compile

Open this folder in VS Code and run the extension host launch configuration, or press F5 after adding a standard extension debug launch config.

License

This project is distributed under the MIT License. It is a VS Code port inspired by hlchunk.nvim, which is also distributed under the MIT License.

The original hlchunk.nvim copyright notice is preserved in LICENSE and attribution details are listed in NOTICE.md.

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