Highlight comments in *.feature files in green

オープン
#249 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript, vscode
領域
tooling

調査の方向性

まず、*.feature ファイル内のコメントに対する extension の grammar または semantic-token handling を探します。この issue では、VS Code の Token inspector がコメントについて grammar も semantic token も報告しないことが指摘されています。VS Code で変更を検証し、コメントが緑色で表示される一方で、undefined steps のハイライトも引き続き機能することを確認します。

索引モデルが issue の本文から書いたものです。

説明

:zap: enhancement
🤔 What's the problem you're trying to solve?

We use comments to structure our scenarios. Unfortunately, they have no highlighting at all and are rather missed.

✨ What's your proposed solution?

Highlight them in green as it is usual in almost any editor.

⛏ Have you considered any alternatives or workarounds?

I tried to install other Gherkin highlighting extensions in addition to this extension, but then the highlighting of "undefined" steps would not work anymore.

I also tried to use the "Token inspector" on the comments to check if I can manually highlight them, but the inspector says No grammar or semantic tokens available. for comments.

📚 Any additional context?

No response

主要言語
TypeScript
スター
88
フォーク
33
平均マージ
1日 5時間
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cucumber/vscode のほかの issue

cucumber/vscode の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。