https://github.com/dennykorsukewitz/vscode-quotewithmarker
This extension quotes the selected area and adds a custom marker to it.
https://github.com/dennykorsukewitz/vscode-quotewithmarker
extension pages quote visualstudiocode vsc workflow
Last synced: about 1 year ago
JSON representation
This extension quotes the selected area and adds a custom marker to it.
- Host: GitHub
- URL: https://github.com/dennykorsukewitz/vscode-quotewithmarker
- Owner: dennykorsukewitz
- License: gpl-3.0
- Created: 2023-07-13T19:33:18.000Z (almost 3 years ago)
- Default Branch: dev
- Last Pushed: 2025-01-01T12:19:54.000Z (over 1 year ago)
- Last Synced: 2025-01-27T20:31:53.968Z (over 1 year ago)
- Topics: extension, pages, quote, visualstudiocode, vsc, workflow
- Language: TypeScript
- Homepage: https://dennykorsukewitz.github.io/VSCode-QuoteWithMarker/
- Size: 1.62 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README

# QuoteWithMarker
**QuoteWithMarker** is an extension that quotes the selected area and adds a custom marker to it.
| Repository | GitHub | Visual Studio Marketplace |
| ----------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|  |   |   |
|  |   |  |
|  |  |   |
|  |  |   |
| Status |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [](https://github.com/dennykorsukewitz/VSCode-QuoteWithMarker/compare/2.0.2...dev)    |
## Feature
Sometimes you have to mark and comment code. Here is the QuoteWithMarker very helpful.
This function quotes the selected area and adds a custom marker to it.
This way you can still trace the original code.
There is also a start and end block for better display when merging.
`QuoteWithMarker` can be very useful especially for patch files.
**Shortcut:** ```strg + alt + k, q```
**Command:** ```QuoteWithMarker: Quote with Marker.```
Works for the following languages:
| LanguageID | LineComment |
| ----------------------- | ----------- |
| bat | @REM |
| clojure | ;; |
| coffeescript | # |
| c | // |
| cpp | // |
| cuda-cpp | // |
| csharp | // |
| CSS | |
| dart | // |
| diff | # |
| dockerfile | # |
| fsharp | // |
| git-commit | # |
| git-rebase | # |
| ignore | # |
| go | // |
| groovy | // |
| handlebars | |
| hlsl | // |
| HTML | |
| ini | ; |
| plaintext | # |
| java | // |
| javascriptreact | // |
| JavaScript | // |
| jsx-tags | |
| json | // |
| jsonc | // |
| jsonl | // |
| julia | # |
| tex | % |
| latex | % |
| cpp_embedded_latex | // |
| markdown_latex_combined | |
| less | // |
| lua | -- |
| makefile | # |
| Markdown | |
| objective-c | // |
| objective-cpp | // |
| perl | # |
| perl6 | # |
| php | // |
| powershell | # |
| jade | //- |
| python | # |
| r | # |
| razor | |
| restructuredtext | .. |
| ruby | # |
| rust | // |
| SCSS | // |
| shaderlab | // |
| shellscript | # |
| sql | -- |
| swift | // |
| TypeScript | // |
| typescriptreact | // |
| vb | ' |
| xml | |
| xsl | |
| dockercompose | # |
| yaml | # |

### Settings
`Preferences -> Settings -> Extensions -> QuoteWithMarker`
| Name | Description | Default Value |
| --------------------------- | ---------------------------------------------------------------- | -------------------------- |
| quoteWithMarker.codeMarker | Code Marker used in QuoteWithMarker function. | MyMarker |
| quoteWithMarker.lineComment | This is a mapping between LanguageID and lineComment characters. | All possible lineComment's |

---
## Installation
To install this extension, you have **three** options:
### 1. Search Extension in Marketplace
Search and install online extension via VSC extensions menu.
`Code` -> `Preferences` -> `Extensions` simply search for `QuoteWithMarker` to install.
### 2. Install via vsix file
Download latest [vsix file](https://github.com/dennykorsukewitz/VSCode-QuoteWithMarker/releases) and install via extensions menu.
`Code` -> `Preferences` -> `Extensions` -> `Views and More Action` -> `Install from VSIX`.
### 3. Source code
Download archive with the latest [release](https://github.com/dennykorsukewitz/VSCode-QuoteWithMarker/releases) and unpack it to VisualStudioCode extensions folder
`$HOME/.vscode/extensions/`.
---
## Download
For download see [VSCode-QuoteWithMarker](https://github.com/dennykorsukewitz/VSCode-QuoteWithMarker/releases)
---
Enjoy!
Your [Denny Korsukéwitz](https://github.com/dennykorsukewitz) 🚀