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

AMR

David Chanin

|
108 installs
| (0) | Free
Language support of Abstract Meaning Representation (AMR)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AMR VSCode

VSCode syntax highlighting for Abstract Meaning Representation (AMR)

About

Abstract meaning representation is a representation of an English sentence as a directed graph, and is typically represented in text like below:

(w / want-01
  :ARG0 (b / boy)
  :ARG1 (g / go-01
          :ARG0 b))

This VSCode extension provides syntax highlighting for AMR text, and will be automatically enabled for text files with a .amr or .text.amr file extension.

Development

This project uses vscode-tmgrammar-test to run snapshot tests of grammar parsing. You can run these tests with npm run test. If you make changes to the grammar, you'll need to update these snapshots with npm run test -- --updateSnapshot.

To load the grammar in a live vscode editor for debugging, press F5 with the project open in VSCode and a new window with the extension loaded will open up.

Contributing

Contributions are welcome! Open a pull request with your changes, and ensure tests are passing.

Enjoy!

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