Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cakeslice/vscode-too-many-lines
VS Code extension to keep your file line counts low
https://github.com/cakeslice/vscode-too-many-lines
Last synced: 5 days ago
JSON representation
VS Code extension to keep your file line counts low
- Host: GitHub
- URL: https://github.com/cakeslice/vscode-too-many-lines
- Owner: cakeslice
- License: mit
- Created: 2024-02-28T10:40:18.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-28T21:49:55.000Z (10 months ago)
- Last Synced: 2024-11-07T21:07:26.598Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=cakeslice.too-many-lines
- Size: 48.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/cakeslice/vscode-too-many-lines/assets/7516142/60ff461a-6d3b-4dec-a107-0897d2af8d7d)
- *Error*: Number of lines to trigger an inline error and file error highlight (in pink with a ⭕ icon)
![image](https://github.com/cakeslice/vscode-too-many-lines/assets/7516142/337872e2-6590-4a37-af10-721b9bd0dcd8)
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 */`