seclerp / rider-monogame

MonoGame plugin for JetBrains Rider
https://plugins.jetbrains.com/plugin/18415-monogame
MIT License
30 stars 0 forks source link

General: Implement other MonoGame-related file templates #7

Closed seclerp closed 2 years ago

seclerp commented 2 years ago

Need to implement file templates for corresponding MGCB Editor dialog:

image

https://docs.monogame.net/articles/content/using_mgcb_editor.html#adding-content-items

Implementation details:

  1. Effect (.fx): just regular file with .fs extension. Syntax highlighting will be added in later versions (maybe)
  2. Both SpriteFont Descriptions (.spritefont): introduce as a custom XML file type SpriteFontFileType
  3. Sprite Effect (.fx): the same as (1)
  4. Xml Content (.xml): just regular XML file type

All templates content should be the same as what MGCB generates when creating new files