[Breaking]: Visibility of fields/properties/classes does not match upstream tm4e implementation
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
Read the listed classes in TextMateSharp’s .internal.grammar namespace and compare their visibility and sealing with the linked upstream StateStack.java implementation. The issue names AttributedScopeStack, BalancedBracketSelectors, BasicScopeAttributes, BasicScopeAttributesProvider, Grammar, LineTokenizer, LineTokens, TokenTypeMatcher, and TokenizeLineResult; check for related discrepancies elsewhere as scope allows. Done means the identified classes match upstream visibility and sealing, with any additional discrepancies assessed.
索引モデルが issue の本文から書いたものです。
説明
[!warning]
Breaking API change
I'm working on fixing this now as we discussed here. I'm creating this issue to document the changes here.
[!Note]
I didn't examine other folders/files for similar discrepancies so there may be other changes needed.
The upstream java implementation declares StateStack (and some other classes in the .internal.grammar package as final (sealed in .NET). So if you wanted to have parity with the upstream impl, we should include a breaking change by declaring these classes as sealed. Also, notice it's in the .internal.grammar package, suggesting it's not meant for public extension anyways. Implementers could still implement IStateStack if desired.
Here is a list of upstream differences I found - I only looked in this folder/namespace. So, there may also be others:
| class name | sealed/unsealed (has parity with TextMateSharp) | class visibility (has parity with TextMateSharp) |
|---|---|---|
AttributedScopeStack |
sealed ❌ | internal ❌ |
BalancedBracketSelectors |
sealed ❌ | public ✅ |
BasicScopeAttributes |
sealed ❌ | internal ❌ |
BasicScopeAttributesProvider |
sealed ❌ | internal ❌ |
Grammar |
sealed ❌ | public ✅ |
LineTokenizer |
sealed ❌ | internal ❌ |
LineTokens |
sealed ❌ | internal ❌ |
TokenTypeMatcher |
sealed ❌ | internal ✅ |
TokenizeLineResult |
sealed ❌ | internal ❌ |
- 主要言語
- C#
- スター
- 170
- フォーク
- 35
- 平均マージ
- 2時間 52分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
danipen/TextMateSharp のほかの issue
-
XML grammar: only the closing --> of a comment gets the scope comment.block.xml対応中かも @alexeyfala が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
danipen/TextMateSharp#145 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 44/100
danipen/TextMateSharp#120 · コメント 38 件 · リアクション 1 件 ·
-
good first issue
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
danipen/TextMateSharp#119 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
danipen/TextMateSharp#118 · コメント 11 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
danipen/TextMateSharp#75 · コメント 2 件 ·
danipen/TextMateSharp の issue をすべて見る
似ている issue
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Klyroo/klyroo-dashboard#12 ·
メンテナーはふだん 1 日以内に返信
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates on対応中かも @yadavraj2001 が今日担当しました。 オープンdocumentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
juandresrodca/AdminForge#73 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[辞書] VIVANTオープン要トリアージ 辞書
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
christian-raj/S-Aloha#504 ·
-
Issue: Feature Request Xenonid
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信