Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Language mode creates incompatibility with formatting tools #8

Closed
alexsasharegan opened this issue Aug 6, 2017 · 2 comments
Closed

Comments

@alexsasharegan
Copy link

In order for the plugin to register a document as mjml, the language mode must match. This doesn't let me tweak the file associations to use built in beautification tools because it needs to recognize html. I'm looking to format the source, not the output.

Is there a workaround for this?

@attilabuti
Copy link
Owner

Temporary solution:

  • Open the Command Palette (with Ctrl+Shift+P or F1) > Change Language Mode > HTML
  • Open the Command Palette > Format document
  • Open the Command Palette > Change Language Mode > MJML

@attilabuti
Copy link
Owner

Released in v0.1.0

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

No branches or pull requests

2 participants