Missing terminal newline lint is not reported in VSCode Problem Pane
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- r, typescript, vscode
調査の方向性
まず、lintr::lint() と trailing_blank_lines_linter() を使って末尾の改行がないケースを再現し、その結果を VSCode Problems Pane の出力と比較します。VSCode 拡張機能の lint 統合を追跡して、この診断が省略される理由を特定します。提供された test.R のシナリオについて Problems Pane に lint が報告されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Missing terminal newline lint is not reported in VSCode Problem Pane
To Reproduce
- Create a new file (
Ctrl+N) - Select the R language (
Ctrl+K Mand selectR) - Write
x <- 1in the editor - Do not insert a terminal newline
- Save the file as
test.R(Ctrl+S) - The Problems Pane (
Ctrl+Shift+M) reports thatNo problems have been detected in the workspace lintr::lint()reports the lint as expected:
lintr::lint(
filename = "test.R",
linters = lintr::trailing_blank_lines_linter(),
parse_settings = FALSE
)
# xxx/test.R:1:7: style: [trailing_blank_lines_linter] Add a terminal newline.
# x <- 1
# ^
Can you fix this issue by yourself? (We appreciate the help)
No
Expected behavior
The lint should be reported in VSCode Problem Pane.
Environment (please complete the following information):
- OS: Windows 11
- VSCode Version: VSCodium 1.107.18627
- R Version: 4.4.0
- vscode-R version: 2.86
- 主要言語
- TypeScript
- スター
- 1.2k
- フォーク
- 139
- 平均マージ
- 19時間 46分
- マージ済み PR(30日)
- 26
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
REditorSupport/vscode-R のほかの issue
-
feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
REditorSupport/vscode-R#1793 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
REditorSupport/vscode-R#1785 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
REditorSupport/vscode-R#1687 · コメント 4 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
REditorSupport/vscode-R#1800 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
REditorSupport/vscode-R#1799 ·
メンテナーはふだん 1 日以内に返信
REditorSupport/vscode-R の issue をすべて見る
似ている issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
inu-appcenter/memorIN-frontend#106 ·
メンテナーはふだん 1 日以内に返信
-
kind/bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 7 日以内に返信
-
[Bug] @deck.gl/arcgis dist import resolves to unpublished @deck.gl/core source path (9.3.11, 9.4.0)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
CSCfi/sd-search-ui#145 ·
メンテナーはふだん 1 日以内に返信
-
Add: Cbeebies pl SDオープンcheck:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信