cakeslice / vscode-too-many-lines

VS Code extension to keep your file line counts low

Home Page:https://marketplace.visualstudio.com/items?itemName=cakeslice.too-many-lines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Too Many Lines extension

VS Code extension to keep your file line counts low

How it works

After installation you will get warnings if your file is getting too big!

There's two configurable levels:

  • Warning: Number of lines to trigger a subtle inline warning

image

  • Error: Number of lines to trigger an inline error and file error highlight (in pink with a ⭕ icon)

image

With this extension you can make sure your code is maintainable!

Disable for a single file

To disable the warnings in a single file, add disable-too-many-lines in a comment like:

  • // disable-too-many-lines
  • # disable-too-many-lines
  • /* disable-too-many-lines */

About

VS Code extension to keep your file line counts low

https://marketplace.visualstudio.com/items?itemName=cakeslice.too-many-lines

License:MIT License


Languages

Language:TypeScript 98.7%Language:JavaScript 1.3%