All Projects → ryu1kn → vscode-text-marker

ryu1kn / vscode-text-marker

Licence: MIT License
Visual Studio Code Extension. Select text in your code and mark all matches. The marking colour is configurable

Programming Languages

typescript
32286 projects
shell
77523 projects

Projects that are alternatives of or similar to vscode-text-marker

highlight-words
vscode extension to highlight all occurrences of words or expression
Stars: ✭ 32 (-47.54%)
Mutual labels:  highlighting, vscode-extension
c-cpp-project-generator
📂 Create C/C++ projects on vscode
Stars: ✭ 22 (-63.93%)
Mutual labels:  vscode-extension
componizer
vs code extension for refactoring to components
Stars: ✭ 31 (-49.18%)
Mutual labels:  vscode-extension
firecode
VS Code Firestore Rules Extension
Stars: ✭ 35 (-42.62%)
Mutual labels:  vscode-extension
vscode-material-product-icons
Product Icon Theme with Material Icons for VS Code
Stars: ✭ 19 (-68.85%)
Mutual labels:  vscode-extension
snippets
VSCode extension which lets you manage your code snippets without quitting your editor.
Stars: ✭ 55 (-9.84%)
Mutual labels:  vscode-extension
ProtheusDoc-VsCode
Repositório para implementação dinâmica do ProtheusDoc do TDS para VsCode
Stars: ✭ 19 (-68.85%)
Mutual labels:  vscode-extension
core
🌈 light, fast, and easy to use, dependencies free javascript syntax highlighter, with automatic language detection
Stars: ✭ 40 (-34.43%)
Mutual labels:  highlighting
vscode-eex-snippets
Elixir EEx and HTML (EEx) code snippets.
Stars: ✭ 23 (-62.3%)
Mutual labels:  vscode-extension
vscode-phpserver
Visual Studio Code extension to quickly serve your PHP projects :)
Stars: ✭ 62 (+1.64%)
Mutual labels:  vscode-extension
vscode-mermaid-editor
Live editor and image creator for mermaid.js in Visual Studio Code
Stars: ✭ 23 (-62.3%)
Mutual labels:  vscode-extension
swdc-vscode-100-days-of-code
A VS Code extension that helps you reach your goals in completing the 100 Days of Code challenge
Stars: ✭ 45 (-26.23%)
Mutual labels:  vscode-extension
vscode-sops
Just a simple integration of SOPS by Mozilla into VSCode IDE. It contains some advanced features over the original project which makes sense for IDE.
Stars: ✭ 25 (-59.02%)
Mutual labels:  vscode-extension
vscode-magento-wizard
Helps develop Magento 2 extensions using VSCode
Stars: ✭ 22 (-63.93%)
Mutual labels:  vscode-extension
vscode-less
🔌 Less intellisense for Variables and Mixins in all Less files.
Stars: ✭ 21 (-65.57%)
Mutual labels:  vscode-extension
vscode-px-to-rem
Extension that allows you to convert from px to rem, and vice versa
Stars: ✭ 36 (-40.98%)
Mutual labels:  vscode-extension
vscode-jump
🏃‍♂️ Jump/Select to the Start/End of a word in VSCode
Stars: ✭ 67 (+9.84%)
Mutual labels:  vscode-extension
remark-highlight.js
Legacy plugin to highlight code blocks with highlight.js — please use `rehype-highlight` instead
Stars: ✭ 58 (-4.92%)
Mutual labels:  highlighting
vscode-qq
基于安卓QQ协议的vscode-qq扩展
Stars: ✭ 588 (+863.93%)
Mutual labels:  vscode-extension
vscode-requirejs
Provides goto definition functionality for require js modules.
Stars: ✭ 20 (-67.21%)
Mutual labels:  vscode-extension

Build Status Code Climate

Text Marker (Highlighter)

Features

  • Highlight/Unhighlight text from both command palette or right-click menu
  • Update existing highlight rules from the right-click menu
  • Jump to the next/previous location of the same highlighted pattern
  • Highlight text using a regular expression
  • Case sensitive/insensitive text matching
    • Matching is done depending on the current mode for case sensitivity. You can toggle the mode from the status bar.
  • Whole/Partial text matching
    • Matching is done depending on the current mode for whole match. You can toggle the mode from the status bar.
  • Highlighting colour is configurable
  • Save highlights that will be restored next time you open the editor

Highlight/Unhighlight text. Regular expression can also be used. It highlights your text as you type.

Highlight and unhighlight text

Switch matching mode. Case sensitive match, Whole match are available. From command palette, you can even change the matching mode after you specified a highlight.

Ignore Case and Whole Match

You can update a highlight rule after you set it.

Update Existing Highlight

Request Features or Report Bugs

Feature requests and bug reports are very welcome: https://github.com/ryu1kn/vscode-text-marker/issues

A couple of requests from me when you raise an github issue.

  • Requesting a feature: Please try to provide the context of why you want the feature. Such as, in what situation the feature could help you and how, or how the lack of the feature is causing an inconvenience to you. I can't think of introducing it until I understand how it helps you 🙂
  • Reporting a bug: Please include environment information (OS name/version, the editor version). Also consider providing screenshots (or even videos) where appropriate. They are often very very helpful!

Commands

  • Toggle Highlight (Command ID: textmarker.toggleHighlight)

    Highlight selected text, if no text is selected, the word under cursor will be highlighted. Issueing this command on a highlight without selecting any text will remove the highlight. Available on right-click menu.

  • Update Highlight (Command ID: textmarker.updateHighlight)

    Update the existing highlight (Toggle case sensitivity, whole/partial match, pattern text). Available on right-click menu.

  • Go to Next Same Highlight (Command ID: textmarker.goToNextHighlight)

    Move the cursor to the next location of the same highlight. Highlight selection or the word under cursor first if the cursor is not on a highlight. Available on right-click menu.

  • Go to Previous Same Highlight (Command ID: textmarker.goToPreviousHighlight)

    Move the cursor to the previous location of the same highlight. Highlight selection or the word under cursor first if the cursor is not on a highlight. Available on right-click menu.

  • Highlight Text Using Regex (Command ID: textmarker.highlightUsingRegex)

    Highlight text that matches a given regular expression.

  • Unhighlight Text (Command ID: textmarker.unhighlight)

    Remove a highlight from the list of highlights.

  • Clear All Highlights (Command ID: textmarker.clearAllHighlight)

    Clear all highlights with one shot.

  • Save All Highlights (Command ID: textmarker.saveAllHighlights)

    Save all highlights that will be restored when opening an editor.

  • Toggle Case Sensitivity (Command ID: textmarker.toggleCaseSensitivity)

    Toggle the case sensitivity of a highlight.

  • Toggle Mode for Case Sensitivity (Command ID: textmarker.toggleModeForCaseSensitivity)

    Toggle mode for case sensitivity. Available on Status bar.

  • Toggle Whole/Partial Match (Command ID: textmarker.toggleWholeMatch)

    Toggle whole match and partial match.

  • Toggle Mode for Whole/Partial Match (Command ID: textmarker.toggleModeForWholeMatch)

    Toggle mode for whole match and partial match. Available on Status bar.

Extension Settings

  • textmarker.highlightColors

    List of colours to be used to highlight the selected text. The colours are used with respect to the order in the list. If it runs out of the colours, it uses the colour specified at textmarker.defaultHighlightColor.

  • textmarker.defaultHighlightColor (default: "gray")

    Once all the colours given in textmarker.highlightColors is used, texts are highlighted with this colour.

  • textmarker.defaultHighlightOpacity (default: 0.7)

    Opacity to be used when one is not given in the highlight colour. Opacity is also applied to the colours on the overview ruler. The value must be in the range 0.0 to 1.0, inclusive.

  • textmarker.enableIgnoreCase (default: false)

    Enable ignore case mode on startup

  • textmarker.enableWholeMatch (default: false)

    Enable whole match mode on startup

  • textmarker.useHighlightColorOnRuler (default: true)

    Use the same colour for both highlighting a text and showing the location on the ruler.

    If you have multiple highlights on the same line and their colours have opacity 1, you would only see one of those colours. You can specify a smaller opacity value so that the colours can be blended.

  • textmarker.autoSelectDistinctiveTextColor (default: false)

    Text colour will be chosen to be distinctive from the background highlight colour. This will hide the text colour given by syntax highlighting; if this is not desirable, set it false.

  • textmarker.hideStatusBarItems (default: false)

    Hide status bar items. When set it true, the buttons to switch the modes of partial/whole match and case sensitive/insensitive match will not be displayed.

  • textmarker.delayForRefreshingHighlight (default: 300)

    Number of milliseconds to wait before refreshing the highlights on editor contents change. null for no refresh.

  • textmarker.commandsOnContextMenu (default: 4 commands are visible. See them here)

    Commands appear on the context menu. For historical reason, 4 commands are visible by default.

    For example, if you:

    • Do NOT want to see Update Highlight command (Command ID: textmarker.updateHighlight), which is on the menu by default
    • Want to see Clear All Highlights (Command ID: textmarker.clearAllHighlight), which is NOT on the menu by default

    You can set this setting like this:

    "textmarker.commandsOnContextMenu": {
      "updateHighlight": false,
      "clearAllHighlight": true
    }
    
  • textmarker.savedHighlights

    List of highlights that will get applied when opening editor. This value is typically set/updated by "Save All Highlights" command.

    Different levels of settings (user settings, workspace settings) are not merged; so the most specific settings wins.

    Sample savedHighlights:

    "textmarker.savedHighlights": [
      {
        "pattern": {
          "type": "regex",
          "expression": "(TODO|XXX|HACK): .*",
          "ignoreCase": false,
          "wholeMatch": true
        },
        "color": "skyblue"
      },
      {
        "pattern": {
          "type": "string",
          "expression": "NOTE",
          "ignoreCase": false,
          "wholeMatch": false
        },
        "color": "yellow"
      },
      ...
    ]
    
  • textmarker.enableTelemetry (default: true)

    Allow the extension usage data to be sent to the extension author.

    Text Marker sends usage data only when both textmarker.enableTelemetry and telemetry.enableTelemetry are set to true.

Keyboard Shortcuts

You can quickly invoke the above TextMarker commands by registering them to your keyboard shortcut settings. For example:

  { "key": "ctrl+h", "command": "textmarker.toggleHighlight", "when": "editorTextFocus" }

Telemetry

Text Marker collects usage data and send it to the extension author to help improve the extension. If you don't want usage data to be collected, you can set the textmarker.enableTelemetry setting to false.

If you're setting VS Code's telemetry.enableTelemetry setting to false, regardless of the value of textmarker.enableTelemetry, Text Marker will not collect usage data.

Changelog

How to contribute

Thank you for considering a contribution. Please check CONTRIBUTING.md.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].