Vale Studio 2.0

Build, test, and share Vale rules

Joseph Kato
Vale
3 min readApr 20, 2023

--

Preview of Vale Studio 2.0

Today, I’m pleased to announce Vale Studio 2.0, a web service for building, testing, and sharing Vale rules.

The goal of Vale Studio is to make Vale’s rule-creation process more straightforward by providing a detailed look at how Vale handles markup and prose internally.

The Rule Library

Vale Studio’s new Rule Library

A good starting point for creating a new rule is to browse the Rule Library, which contains example rules for many of Vale’s extension points.

Showing Vale’s results in the editor

After selecting a rule, Vale Studio will populate the left-side editor with the rule’s source and the right-side editor with example text (in Markdown).

View: Tags

Example of View: Tags

It can be difficult to tell exactly how Vale is tagging text when creating sequence-based rules. With Vale Studio’s View: Tags mode, you can now see and update the tagged text as you’re creating a rule.

Open in regex101

Vale Studio integrates with regex101

When working with existence, substitution, occurrence, or repetition rules, you can now “compile” them into a regex101 session to explore the underlying regular expression.

Create a GitHub issue

Easily create new GitHub issues

If you’re having trouble with one of your rules, you can quickly create a new issue at the Vale repository. The issue will pre-populate with the contents of your Vale Studio session.

Share session

Create public, shareable links

NOTE: This feature is still under development. During the beta phase, these links are not guaranteed to be permanently available.

If you’d like to share your work, you can now create a shareable link to the current Vale Studio session.

Future work

In future versions of Vale Studio, you can expect to see

  • Extended support for metric- and script-based rules.
  • A View: Scopes mode to visually inspect Vale’s scoping system.
  • An increase in the size limitations (currently 500 characters per editor).
  • Support for other markup formats in the text editor.

--

--

Joseph Kato
Vale

An open-source software developer with interests in natural language processing, data science, and collaborative writing. More @ https://github.com/jdkato.