GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kermanx/tmLanguage-Previewer: Preview tmLanguage grammar files in VSCode.

BranchesTags
Open more actions menu

Latest commit

 

History

41 Commits
41 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
extension
extension
 
 
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
eslint.config.mjs
eslint.config.mjs
 
 
icon.png
icon.png
 
 
index.html
index.html
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
tsconfig.json
tsconfig.json
 
 
types.ts
types.ts
 
 
uno.config.mts
uno.config.mts
 
 
vite.config.mts
vite.config.mts
 
 

Repository files navigation

tmLanguage Previewer

Reactive VSCode

A VS Code extension for previewing tmLanguage grammar files. Created with Reactive VS Code.

There is also a online version: tmLanguage Playground.

Usage

  1. Open a .tmLanguage.json file in VSCode. For example, xyz.tmLanguage.json.
  2. Create a new file with the same name but with a .example infix. For example, xyz.example.any.
  3. Click the icon on the top right of the editor to open the previewer.

Development

What's in the folder

  • package.json - this is the manifest file in which you declare your extension and command.
  • src/* - this is the folder containing the webview code. (DOM environment)
  • extension/* - this is the folder containing the extension code. (Node.js environment)

Get up and running straight away

  • Run pnpm install to install all necessary dependencies.
  • Run pnpm dev in a terminal to compile the extension.
  • Press F5 to open a new window with your extension loaded.

Make changes

  • You can relaunch the extension from the debug toolbar after changing code in src/extension.ts.
  • You can also reload (Ctrl+R or Cmd+R on Mac) the VS Code window with your extension to load your changes.

About

Preview tmLanguage grammar files in VSCode.

Resources

Readme
MIT license
Activity

Stars

18 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.