tools
tools copied to clipboard
Formatter: Multilanguage Documents [Stretch]
Goal
Support formatting nested documents. For example, it should be possible to format GraphQL queries that are part of a JS file or JS embedded into HTML, etc.
Also we need to better support some language like vue
, the formatter may be choosen during runtime, for example:
<template lang="pug"></template>
<style lang="css"></style>
we need to use pug formatter and css formatter to format this document.
<template lang="html"></template>
<style lang="less"></style>
we need to use html formatter and less formatter to format this document.
2nd for supporting Vue SFC's with multiple formatters required per document.
This issue is stale because it has been open 14 days with no activity.