Syntax and Semantics
Blog post from AuthZed
The Authzed Playground has undergone improvements since its original development, including support for the newly released Schema Configuration Language. To enhance the development experience, syntax highlighting was added to the Monaco editor using a MonarchTokensProvider and DocumentSemanticTokensProvider. The new configuration language introduced concepts like relations and permissions, which required a way to differentiate between them in syntax highlighting. The solution involved registering a custom provider in Monaco that leverages a full TypeScript-based parser to provide semantic information about the entered code. This allows for proper highlighting of relations and permissions within the Playground, providing a better experience for developers working with Authzed's configuration language.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.