Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>elegant script supportNew to Visual Studio Code? Get it now.
elegant script support

elegant script support

Xingguang Liu

|
252 installs
| (0) | Free
Syntax highlighting for particle tracking code elegant
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

About the Author

Author: Xingguang Liu Institute: Institute of High Energy Physics Contact: liuxg@ihep.ac.cn

Introduction

Elegant is a widely used simulation code in charged particle accelerator field This is a personal project which highlight some keywords for better editing with vscode

More about elegant (and others): https://www.aps.anl.gov/Accelerator-Operations-Physics/Software

Features

Automatically highlight the following:

  • Functions
  • Function attributes
  • Numbers

Github repository

https://github.com/lxg04/vscode-elegant where you can also see how the grammar highlighting has been done

Reference

Elegant manual https://ops.aps.anl.gov/manuals/elegant_latest/elegant.html

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