QuoteWithMarker

QuoteWithMarker is an extension that quotes the selected area and adds a custom marker to it.

RepositoryGitHubVisual Studio Marketplace
GitHub release (latest by date)GitHub open issues GitHub closed issuesVisual Studio Marketplace last-updated Visual Studio Marketplace Version
GitHub licenseGitHub pull requests GitHub closed pull requestsVisual Studio Marketplace Rating release-date
GitHub language countGitHub contributorsVisual Studio Marketplace Rating (Stars) Visual Studio Marketplace Rating
GitHub code size in bytesGitHub downloadsVSC marketplace download VSC marketplace install
Status
GitHub commits since tagged version GitHub Workflow Lint GitHub Workflow UnitTest GitHub Workflow Pages

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 | # |


QuoteWithMarker

Settings

Preferences -> Settings -> Extensions -> QuoteWithMarker

NameDescriptionDefault Value
quoteWithMarker.codeMarkerCode Marker used in QuoteWithMarker function.MyMarker
quoteWithMarker.lineCommentThis is a mapping between LanguageID and lineComment characters.All possible lineComment’s

Settings


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 and install via extensions menu.

Code -> Preferences -> Extensions -> Views and More Action -> Install from VSIX.

3. Source code

Download archive with the latest release and unpack it to VisualStudioCode extensions folder $HOME/.vscode/extensions/.


Download

For download see VSCode-QuoteWithMarker


Enjoy!

Your Denny Korsukéwitz 🚀