Fix All + Enforce ignores 'root = true' in a .editorconfig that starts with a UTF-8 BOM
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
code_actions/editorconfig.rsを読み、1行目がどのように解析されるか、またis_root()がEditorConfigの探索をどのように決定するかを追ってください。既存の解析テストを確認し、root = trueの前にUTF-8 BOMを付けたケースを追加または実行してください。Fix All + enforceが親ファイルではなくリポジトリのファイルを対象にすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Where: code_actions/editorconfig.rs line parsing — trim() does not strip U+FEFF, so line 1 parses as key <BOM>root and is_root() is false.
Repro: Visual Studio–created .editorconfig (BOM, root = true) at the repo root and a root = true .editorconfig in a parent/home directory; Fix All + enforce.
Expected: the repo's file is the target (EditorConfig parsers ignore a leading BOM). Actual: the walk continues past it and the rule is written to the ancestor file. [FIXALL-ENFORCE]
- 主要言語
- TypeScript
- スター
- 185
- フォーク
- 12
- 平均マージ
- 7時間 33分
- マージ済み PR(30日)
- 63
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Nimblesite/SharpLsp のほかの issue
-
Fix All + Enforce overwrites unsaved edits to .editorconfig / Directory.Build.props / sharplsp.tomlオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Nimblesite/SharpLsp#644 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Nimblesite/SharpLsp#640 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Nimblesite/SharpLsp#639 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Nimblesite/SharpLsp#510 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Nimblesite/SharpLsp#509 ·
メンテナーはふだん 1 日以内に返信
Nimblesite/SharpLsp の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
audacity/audacity.github.io#118 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
crxjs/chrome-extension-tools#1261 ·
-
Resources: Update work of fuzhou対応中かも @rmt-svc が今日担当しました。 オープンresources
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
railmapgen/rmp-gallery#4245 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
mike-north/AgentMonitors#717 ·
メンテナーはふだん 1 日以内に返信