181
125

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

VSCode拡張機能Intelephenseの更新によるUndefined type 'Route'(他クラス)のエラー

Posted at

####VSCodeを開いたら、急にRouteやAuthなどのクラスに対してエラーを吐いていてびっくりヽ(゚∀。)ノ

スクリーンショット 2019-12-11 13.49.48.png

####ググったら、下記リンクを発見。12月初旬のIntelephense更新に依るものとの説明がありました。
https://stackoverflow.com/questions/59149877/visual-studio-code-php-intelephense-keep-showing-not-necessary-error

####早速習って、VSCodeのSettings->Extensions->intelephenseから、設定の下記の5項目のチェックを「外す」。

intelephense.diagnostics.undefinedClassConstants
intelephense.diagnostics.undefinedConstants
intelephense.diagnostics.undefinedFunctions
intelephense.diagnostics.undefinedMethods
intelephense.diagnostics.undefinedProperties
intelephense.diagnostics.undefinedTypes

####VSCodeを再起動したら直りやした〜!!

181
125
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
181
125

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?