Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ArkTypeNew to Visual Studio Code? Get it now.
ArkType

ArkType

arktypeio

|
3,787 installs
| (1) | Free
Syntax highlighting and inline errors for ArkType⛵
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ArkType

ArkType syntax highlighting and theme⛵

We're building a 1:1 validator for TypeScript! Check out our core project on GitHub!

Features

  • syntax highlighting for strings that are part of an ArkType definition

syntax highlighting

  • inline type error summaries optimized for ArkType via ErrorLens

errorLens

Contributing

Run > Debugger (F5 by default) will launch the extension in another window, allowing you to see the effects of your changes on whatever code you open in it.

Update syntax highlighting rules

See injected.tmLanguage.json

To determine which scopes need to be changed, you can view scopes applied to any file in VSCode by opening the Command Palette (Ctrl+Shift+P by default) and searching "Developer: Inspect Editor Tokens and Scopes".

Changes to injected.tmLanguage.json should be mirrored to tsWithArkType.tmLanguage.json.

Testing tsWithArkType.tmLanguage.json

To test the standalone rules for TS w/ ArkType highlighting, replace grammars in package.json with the following:

"grammars": {
	"scopeName": "source.ts",
	"language": "typescript",
	"path": "tsWithArkType.tmLanguage.json"
}

Be sure to switch back before publishing!

[!IMPORTANT]
You must reload the extension host window to see scope changes reflected

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft