rome/tools

☂️ CSS support

開放

#2,350 建立於 2022年4月5日

 (8 則留言) (17 個反應) (1 位負責人)Rust (647 個分叉)batch import
A-LSPA-ParserHelp wantedL-CSSumbrella

倉庫指標

星標
 (23,438 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Description

We are going to use this issue to track the various work around CSS. We don't plan, for the time being, to support super languages, although we might think about preparing the infrastructure to be able to support them.

PREVIOUS DISCUSSIONS: https://github.com/rome/tools/issues/984

  • create a css.ungram file where we will slowly implement new grammars
  • create a rome_css_syntax crate, where we will have all things related to the CSS syntax, generated code too
  • expand the codegen of the grammar to include CSS too
  • evaluate how to implement the parser, lexer, etc. (it will require a separate discussion)
  • create a rome_css_formatter crate
  • make the rome_formatter generic
  • prepare the Rome architecture to include CSS (file handlers, capabilities, etc.)
  • add support for CSS inside the VSCode extension

貢獻者指南