LoginSignup
3
5

More than 5 years have passed since last update.

EclipseでjQueryのエラーを回避する方法

Last updated at Posted at 2015-08-20

EclipseだとjQueryの本体jsファイルが構文エラーになってしまう。
特に編集とかしていないオリジナルファイルが。

Eclipse上でjqueryのJSファイルの構文チェックを除外設定にすればOKです。
EclipseでのjQueryファイルを除外設定

プロジェクト右クリック、プロパティー

[Javascript]

[インクルードパス]、[ソース]タブ

フォルダ指定、[除外]クリック、[編集]ボタンクリック

除外パターンテキストボックス横の[追加]ボタンクリック

[参照]ボタンクリックし、**/jquery*.jsを指定しOK、完了

念のため、更新、クリーン起動でOKなはず

(参考サイト)
eclipseで外部JSが構文エラーになるときの対処

3
5
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
3
5