Antony74 / yamma

VSCode extension for Metamath

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yamma

Yamma's a Metamath proof assistant for Visual Studio Code.

A language server for .mmp files (metamath proof files).

Functionality

This Language Server works for .mmp files. It has the following language features:

  • Completions
  • Diagnostics regenerated on each file change or configuration change
  • more...

Getting started

First please ensure you have git, nodejs, and Visual Studio Code installed. Then:

	git clone https://github.com/glacode/yamma.git
	cd yamma
	npm install
	code .

The final command opens Visual Studio Code, within it we can:

Image

  1. From the side-bar on the far left, choose "Run and Debug".
  2. Open the Run and Debug drop-down.
  3. Choose "Launch Client" from the drop-down.
  4. Press the play icon ("Start Debugging").

This runs a second instance of Visual Studio Code. This instance is running the Yamma extension. The first time in here we will want to open the settings and set a path to a valid .mm file.

Image

  1. From the side-bar on the far left, choose "Manage".
  2. From the menu this brings up, choose "Settings".
  3. From the bottom of the list of settings, expand "Extensions".
  4. From the list of extensions, click on "Yamma"
  5. In the "Mm File Full Path" box, enter the full path to a valid .mm file.

Now when we have a .mmp file open in this instance of Visual Studio Code, Yamma provides the following keyboard commands (on a Mac we may need to use the command key rather than the CTRL key):

  • CTRL+U Unify
  • CTRL+H Search

About

VSCode extension for Metamath


Languages

Language:TypeScript 82.3%Language:Objective-C++ 17.6%Language:JavaScript 0.1%