Skip to content

DIV Games Studio language extension for VSCode

Notifications You must be signed in to change notification settings

vii1/vscode-div

Repository files navigation

DIV support for VSCode

This extension provides language support for DIV Games Studio source files.

Project home: https://github.com/vii1/vscode-div

Install from Visual Studio Marketplace

Features

Just syntax highlighting is supported for now.

The only flavor of DIV supported by this extension is DIV 2. This means other variants of DIV like BennuGD, Gemix, etc. may be incorrectly highlighted. Support for other flavors of DIV is not planned at the moment.

Requirements

IMPORTANT: The parser may fail if you open a file with the wrong encoding. If you work with a DOS version of DIV, you probably want to default to a DOS codepage when working with .PRG files. For example, if you use codepage 850 (DOS Western Europe), add this to your settings.json:

	"[div]": {
        "files.encoding": "cp850"
    },

You can see a list of available codepages here.

You can still switch encodings on the fly whenever you need.

Extension Settings

None.

Known Issues

  • COMPILER_OPTIONS _free_sintax (sic) is not supported. You shouldn't ever use it, anyway.
  • COMPILER_OPTIONS _case_sensitive is not supported at the moment.

Let me know at https://github.com/vii1/vscode-div/issues if you encounter any issues.

Release Notes

Added

  • Custom parser powered by ANTLR4
  • Symbol navigation support

See CHANGELOG.md for the full history of changes.

About

DIV Games Studio language extension for VSCode

Resources

Stars

Watchers

Forks

Packages

No packages published