Missing terminal newline lint is not reported in VSCode Problem Pane
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
調査の方向性
The issue is about the trailing_blank_lines_linter not appearing in the VSCode Problems Pane. Start by examining how lints are reported from the language server to the editor, likely in the server's diagnostic handling. Look for the code that formats or filters lints before sending them to VSCode. Check if this specific linter is being omitted or if its severity is misconfigured. Run the linter on a test file without a terminal newline and trace the diagnostic output. Verify the fix by testing in VSCode with the modified language server.
索引モデルが 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
- 主要言語
- R
- スター
- 675
- フォーク
- 118
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 11
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
REditorSupport/languageserver のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
REditorSupport/languageserver#776 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
REditorSupport/languageserver#735 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
REditorSupport/languageserver#731 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
REditorSupport/languageserver#730 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
REditorSupport/languageserver#771 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
REditorSupport/languageserver の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
api-sync
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
sportsdataverse/hoopR#220 ·
-
compat
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mlr-org/batchtools#332 · コメント 3 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
Open-Systems-Pharmacology/OSPSuite.ParameterIdentification#315 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信