Skip to content

⛔️ DEPRECATED Github repository of the Visual Studo Code YAGPDB-CC extension

License

Notifications You must be signed in to change notification settings

SpecialEliteSNP/yagpdb-cc-ext

Repository files navigation

DEPRECATED AS OF 20-07-2023

Since I have no longer been maintaining this repository, I have decided to mark this repo as deprecated. Ranger has been maintaining the code for a while now on their fork and that is where you should be right now.

Github: https://github.com/ranger-4297/yagpdb-cc-ext
VSC Marketplace: https://marketplace.visualstudio.com/items?itemName=ranger-4297.yagpdb-cc-updated

YAGPDB-CC README

This extensions shows syntax highlighting for YAGPDB Custom Commands.
Github: https://github.com/SpecialEliteSNP/yagpdb-cc-ext
VSC Marketplace: https://marketplace.visualstudio.com/items?itemName=SpecialEliteSNP.yagpdb-cc

Features

  • Functions
  • Variables
  • Automatic indenting
  • Folding recognition

Note: Methods are not included and will be seen as a variable. Also not included is the golang time template.

Requirements

Recognised file extensions are .yag, .yagpdb, yagcc and .yagpdbcc. You can also change the language of the file to "YAGPDB-CC"

Extension Settings

The default locations for this extension are:

  • Windows %USERPROFILE%\.vscode\extensions
  • macOS/Linux ~/.vscode/extensions

There is an option to also recognise Discord Markup, but it's not perfect and annoying most of the time. You can however enable it by changing contributes.grammars[0].path to "./syntaxes/yagpdbcc_markup.tmLanguage.json".

Something that is wanted is the option to add support for Go Template extensions. Unfortunately, the only way to do that as of right now is to do it manually. The way it's done is by going to this extension's package.json and adding your extension to contributes.languages[0].extensions. E.g.: [".yag", ".yagpdb", ".yagcc", ".yagpdbcc", ".gotmpl", ".go.tmpl", ".gotemplate"]

About

⛔️ DEPRECATED Github repository of the Visual Studo Code YAGPDB-CC extension

Topics

Resources

License

Stars

Watchers

Forks