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

gmt

Zhikui Guo

|
5,804 installs
| (1) | Free
GMT script support for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-GMT

Features

  • Color syntaxing for gmt script

Syntaxing highlight contents

  • gmt
  • gmt modules
  • arguments of module
  • all predefined variables including color names, config parameters... , e.g. FONT_ANNOT_PRIMARY
  • others

Screenshot

Enhanced light theme

Enhanced dark theme

vscode-GMT-Pro

This development takes me a lot of time and without any fundings, so the Pro version is not free. If you want use it, please contact me by email (zhikuiguo@live.cn).

Option 1

  • Access the pro version (5 €)

  • Contact me and send the transaction number to get the pro. package

Option 2

  • 微信赞赏并备注您的email用于接收下载链接
  • 或者直接将赞赏截图发送至scibyte2020@gmail.com

Features

Syntax highlight

The syntax highlight is completely the same as vscode-GMT which is shown above.

Code auto completion

GMT modules

Arguments of gmt module

Projection argument -J

Colors for -G and -S

All predefined variables

Key binding of code auto completion

The above completion is triggered by typing, e.g. type - or white spacing. While sometimes the completion method can not triggered by typing, e.g. when you losing editor focus. In this case, the completion method can be activated by shortcut of ctrl+D or cmd+D on Mac.

Mouse hover prompt

The mouse hover prompt method will be activated only in gmt script lines, which will popup side window to display description of the current module or argument.

Install the pro version

After purchasing a licence, the Pro version can be installed in three steps which are shown below.

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