pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/RedCMD/TmLanguage-Syntax-Highlighter

n="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-b55097560d244c08.css" /> GitHub - RedCMD/TmLanguage-Syntax-Highlighter: Syntax Highlighting and Intellisense for VSCode's JSON based TextMate grammars (with Regex) · GitHub
Skip to content

RedCMD/TmLanguage-Syntax-Highlighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

776 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TmLanguage-Syntax-Highlighter

Syntax Highlighting and Intellisense for VSCodes's JSON based TextMate grammars

Features

  • Syntax Highlighting
  • Basic Intellisense
  • Diagnostics error reporting
  • Ctrl+click Definitions
  • Breadcrumbs/Outline
  • Formatting
  • Schema support
  • Regex Optimizer
  • repository/include Call Hierarchy View
  • [F2] Rename
  • CodeLens
  • CallStack Viewer
  • Deadcode dims
  • File converter from/to JSON, YAML, XML and Ascii Plist
  • Supported in VSCode Web

Example code:
example-code

Highlights scope names with their own themed colour in realtime:
list-of-VSCode-Dark+-scopenames-and-their-colours

{
  "$schema": "https://raw.githubusercontent.com/RedCMD/TmLanguage-Syntax-Highlighter/main/vscode.tmLanguage.schema.json",
  "name": "languageId",
  "scopeName": "source.languageId",
  "patterns": [
    { "include": "#repo-item" },
    { "include": "#string" },
    { "include": "#boolean" }
  ],
  "repository": {
    "repo-item": { },
    "boolean": {
      "comment": "`\\b` is a 0-width word boundary. `$1` references capture group 1",
      "match": "\\b(true|false)\\b",
      "name": "constant.language.$1.languageId"
    },
    "string": {
      "comment": "\"begin\" & \"end\" can create a multi-line region",
      "begin": "\"",
      "end": "\"",
      "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.languageId" } },
      "endCaptures": { "0": { "name": "punctuation.definition.string.end.languageId" } },
      "name": "string.quoted.double.languageId",
      "patterns": [
        {
          "comment": "Quad backslash required to match one literal backslash",
          "match": "\\\\.",
          "name": "constant.character.escape.languageId"
        }
      ]
    }
  }
}

For more information

Todo

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy