Feature Request: Create tests for syntax highlighter YAML files
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- go
- 領域
- testing-qa
調査の方向性
まず runtime/syntax/markdown.yaml と、ネストされた Markdown 書式に対する既存の構文解析動作を調べます。提案されているアプローチを CommonMark の spec.json の例と比較し、その後、代表的な構文ケースと、結果を期待される解析済みの要素と照合できる検証メカニズムを定義します。
索引モデルが issue の本文から書いたものです。
説明
When creating or updating syntax files for languages that have complex syntax rules (such as nested formatting types in Markdown, $\LaTeX$, or AsciiDoc), it may be helpful to have syntax examples and their correct parsings to compare changes against.
For example, I am working on updating the Markdown syntax file to fix some style nesting bugs, such as the following bug that incorrectly renders bold text inside an italicized sentence:
In this case, once a solution has been found, it would be quick to test a few strings of italicized and bold text and verify that a fix works. However, when combined with other rules, this case would become more time-consuming to manually verify that fixes have been made and existing cases have not been broken.
Would it be possible to implement some sort of parsing validation system to ensure code is broken down into the correct "pieces"?
One related example that comes to mind is CommonMark's spec tests that include pairs of Markdown source strings and their proper HTML renderings. I'm not sure how Micro handles parsed code or if a system like this would be possible, but I wanted to bring up the idea in case others may find it useful as well.
- 主要言語
- Go
- スター
- 29.8k
- フォーク
- 1.4k
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
micro-editor/micro のほかの issue
-
feature syntax
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
micro-editor/micro#4289 ·
メンテナーはふだん 3 日以内に返信
-
Also bind alt-click for multi-cursors対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンfeature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
micro-editor/micro#4260 ·
メンテナーはふだん 3 日以内に返信
-
XML syntax highlighting breaks if empty tag contains whitespace before close対応中かも @justadityaraj が 56 日前に担当しました。 オープンbug syntax
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
micro-editor/micro#4213 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
micro-editor/micro#3553 · コメント 5 件 ·
メンテナーはふだん 3 日以内に返信
-
syntax
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
micro-editor/micro#2969 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
micro-editor/micro の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
txn2/mcp-data-platform#2493 ·
メンテナーはふだん 1 日以内に返信
-
area/docs framework/hugo help wanted language/markdown
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
openclaw/crabbox#3060 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
radius-project/radius#13698 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信