Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File extensions #5

Open
orcun opened this issue Aug 11, 2019 · 2 comments
Open

File extensions #5

orcun opened this issue Aug 11, 2019 · 2 comments

Comments

@orcun
Copy link

orcun commented Aug 11, 2019

File extensions are very limited. Here is my suggestion, but I'm not sure if vscode supports this. I'll give it a shot and update this issue.

Plain scripts:

  • .sbn
  • .scriban
    Html
  • .htm.sbn
  • .html.sbn
  • .htm.scriban
  • .html.scriban
    XYZ
  • .xyz.sbn
  • .xyz.scriban

This might help extending file extension support.

@xoofx
Copy link
Member

xoofx commented Dec 29, 2020

Sorry, I was not getting notifications for this repo. A reboot of your PR #6 is welcome

@AdamCoulterOz
Copy link

AdamCoulterOz commented Mar 21, 2022

I'm not familiar with vscode language extensions, is there a way for it to delegate the internal format ... i.e. for mytemplate.xyz.scriban, the xyz part to the XYZ language extension, and then render the scriban syntax as an addition?

https://superuser.com/questions/1537646/syntax-highlighting-for-embedded-languages-in-vs-code
https://stackoverflow.com/questions/68914467/how-to-syntax-highlight-nested-items-in-vscode-tmlanguage-json

Looks like nested scopes is a thing?

https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants