Skip to content

borko-rajkovic/vscode-jmbg

Repository files navigation

JMBG Extension for Visual Studio Code

Visual Studio Marketplace Installs - Azure DevOps Extension

A wrapper around ts-jmbg for Visual Studio Code. Quickly check of string is valid JMBG and generate random JMBG in multi-cursor selections.

Features

Sidebar

In sidebar there will be JMBG item that allows:

  • Validation and decode of selected string from editor

  • Random generation of JMBG

JMBG Sidebar Validation

If only one word is selected, the vscode-jmbg.validate will validate string. If there is no selection, vscode-jmbg.validate will take current cursor word and validate string:

Command - Validation

JMBG Validation

For each multi-cursor selection vscode-jmbg.generate-random will insert new random generated JMBG:

Command - Generate random JMBG

Generate Random JMBG

Note: Please read the documentation on how to use multiple cursors in Visual Studio Code.

Install

Launch VS Code Quick Open (Ctrl/Cmd+P), paste the following command, and press enter.

ext install jmbg

Commands

  • vscode-jmbg.validate: Validate JMBG: Checks if selection is valid JMBG
  • vscode-jmbg.generate-random: Generate random: Inserts random generated JMBG on each selection (multiple cursors can be used)
Highlight Word Settings
Name Description
vscode-jmbg.borderColor Specifies the border color used & is changable to any valid CSS color value. For example here are a list of valid values: `'red'`, `'#FFF'` `'#FFFFFFF'`, `'RGB(255,255,255)'`, `'RGB(255, 255, 255. 0.5)'`
vscode-jmbg.borderWidth Specifies the width of the border in pixels For example: `'2px'`
vscode-jmbg.borderStyle Specifies the border style of the line. For example, here a a list of valid values: `solid`, `dashed`, `inset`, `double`, `groove`, `outset`, `ridge`

Thank You

Thanks checking out my extension! Check out my other projects on github or create an issue!