tools icon indicating copy to clipboard operation
tools copied to clipboard

Formatter: Multilanguage Documents [Stretch]

Open MichaReiser opened this issue 2 years ago • 7 comments

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.

MichaReiser avatar May 10 '22 07:05 MichaReiser

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.

IWANABETHATGUY avatar May 10 '22 08:05 IWANABETHATGUY

2nd for supporting Vue SFC's with multiple formatters required per document.

cmcnicholas avatar Aug 04 '22 18:08 cmcnicholas

This issue is stale because it has been open 14 days with no activity.

github-actions[bot] avatar Sep 20 '22 12:09 github-actions[bot]