Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasrayner/rightlines
https://github.com/thomasrayner/rightlines
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/thomasrayner/rightlines
- Owner: thomasrayner
- Created: 2021-06-23T18:08:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-19T20:26:27.000Z (4 months ago)
- Last Synced: 2024-10-18T07:38:15.133Z (3 months ago)
- Language: TypeScript
- Size: 3.39 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# **RightLines** VS Code Extension
**RightLines** adds commands to Visual Studio Code to identify interesting lines, and clean up files by removing lines in a variety of ways.
Install **RightLines** like any other extension in VS Code, or check it out here: [RightLines on the VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=thmsrynr.rightlines).
## Features
### Mark This Line
`Mark This Line` marks the line where the cursor currently sits.
![Mark This Line](https://github.com/thomasrayner/RightLines/raw/main/img/MarkThisLine.gif "Mark This Line")
### Clear **RightLines** Marks
`Clear RightLines Marks` removes all of the marks added to lines by **RightLines**.
![Clear RightLines Marks](https://github.com/thomasrayner/RightLines/raw/main/img/ClearRightLinesMarks.gif "Clear RightLines Marks")
### Mark A Specific Line
`Mark A Specific Line...` prompts you to enter the line number of a line to add a mark to.
![Mark A Specific Line...](https://github.com/thomasrayner/RightLines/raw/main/img/MarkASpecificLine.gif "Mark A Specific Line...")
### Mark Lines Containing
`Mark Lines Containing...` prompts you to enter a string, and marks any lines containing that string.
![Mark Lines Containing...](https://github.com/thomasrayner/RightLines/raw/main/img/MarkLinesContaining.gif "Mark Lines Containing...")
### Mark Lines Containing Selected Text
`Mark Lines Containing Selected Text` will mark any lines containing the text you have selected.
![Mark Lines Containing Selected Text](https://github.com/thomasrayner/RightLines/raw/main/img/MarkLinesContainingSelected.gif "Mark Lines Containing Selected Text")
### Delete Lines Containing
`Delete Lines Containing...` prompts you to enter a string, and deletes any lines containing that string.
![Delete Lines Containing...](https://github.com/thomasrayner/RightLines/raw/main/img/DeleteLinesContaining.gif "Delete Lines Containing...")
### Delete Lines Containing Selected Text
`Delete Lines Containing Selected Text` will delete any lines containing the text you have selected.
![Delete Lines Containing Selected Text](https://github.com/thomasrayner/RightLines/raw/main/img/DeleteLinesContainingSelected.gif "Delete Lines Containing Selected Text")
### Delete Empty Lines
`Delete Empty Lines` will do exactly what it promises to do 😁.
![Delete Empty Lines](https://github.com/thomasrayner/RightLines/raw/main/img/DeleteEmptyLines.gif "Delete Empty Lines")
### Mark Duplicate Lines
`Mark Duplicate Lines` will mark any lines that exist more than once in the document, regardless of leading or trailing whitespace.
![Mark Duplicate Lines](https://github.com/thomasrayner/RightLines/raw/main/img/MarkDuplicateLines.gif "Mark Duplicate Lines")
### Mark Duplicate Lines (skip first occurrence)
`Mark Duplicate Lines (skip first occurrence)` will mark any lines that exist more than once in the document, regardless of leading or trailing, but won't mark the first instance of each duplicate line.
![Mark Duplicate Lines (skip first occurrence)](https://github.com/thomasrayner/RightLines/raw/main/img/MarkDuplicateLinesSkipFirst.gif "Mark Duplicate Lines (skip first occurrence)")
### Delete Duplicate Lines (keep first occurrence)
`Delete Duplicate Lines (keep first occurrence)` will delete any duplicated lines in the document, except for the first occurrence of the line, ignoring leading and trailing whitespace.
![Delete Duplicate Lines (keep first occurrence)](https://github.com/thomasrayner/RightLines/raw/main/img/DeleteDuplicateLinesKeepFirst.gif "Delete Duplicate Lines (keep first occurrence)")
### Delete Duplicate Lines (keep last occurrence)`Delete Duplicate Lines (keep last occurrence)` will delete any duplicated lines in the document except for the last occurrence of the line, ignoring leading and trailing whitespace.
![Delete Duplicate Lines (keep last occurrence)](https://github.com/thomasrayner/RightLines/raw/main/img/DeleteDuplicateLinesKeepLast.gif "Delete Duplicate Lines (keep last occurrence)")