Skip to content

MarioSchwalbe/vscode-gnuplot

Repository files navigation

Gnuplot Language Support for Visual Studio Code

Extension to provide Gnuplot language support for VS Code.

Screenshot

syntax

Features

Supports:

  • Grammar-based syntax highlighting
  • Problem matcher (and pattern) for build tasks
  • Snippets

To make use of the problem matcher, the task should pass the relative file path to Gnuplot. Example task in tasks.json:

{
    "label":          "Plot with Gnuplot",
    "command":        "${config:gnuplot.gnuplotPath}",
    "args":           [ "${relativeFile}" ],
    "problemMatcher": "$gnuplot"
    // ...
}

If the script includes other Gnuplot scripts, it may be useful to set a matching loadpath:

{
    "label":          "Plot with Gnuplot",
    "command":        "${config:gnuplot.gnuplotPath}",
    "args":           [ "-e", "set loadpath '${fileDirname}'", "${relativeFile}" ],
    "problemMatcher": "$gnuplot"
    // ...
}

Extension Settings

This extension contributes the following settings:

  • gnuplot.gnuplotPath: Path to the Gnuplot executable. Not used by this extension directly, but useful in tasks.json if it's checked into repositories. Use a command such as ${config:gnuplot.gnuplotPath}.

Source

https://github.com/MarioSchwalbe/vscode-gnuplot

About

GnuPlot language support for VS Code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published