Incorrectly detecting additional characters

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, typescript
領域
tooling

調査の方向性

この issue ではソースファイルもテストも指定されていないため、まず Ubuntu 20.04.1 上の Sublime Text 4 Build 4121 で古い TypeScript 検証を再現します。検証と保存/再読み込みの動作を追跡し、保存後に有効なファイルで存在しない文字が表示されなくなった時点で issue は完了とします。

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

説明

I'm encountering an issue whereby the TypeScript validation is detecting additional characters that don't exist in the file. I've encountered this a few times within a couple of different files:

Cannot find name 'Stringg'. Did you mean 'String'?

image

If I attempt to re-save the file this doesn't update as there haven't actually been any changes. If I load in a different editor and save then Sublime re-loads the file and correct the incorrect error. Additionally if I make a superfluous change and re-save the error goes away. But it's very annoying :(

Running Sublime Text 4 - Build 4121
on Ubuntu 20.04.1
主要言語
JavaScript
スター
1.7k
フォーク
236
平均マージ
21日 13時間
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

microsoft/TypeScript-Sublime-Plugin のほかの issue

microsoft/TypeScript-Sublime-Plugin の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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