6
5

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 5 years have passed since last update.

PhpStorm内のSQLハイライトを無効にする

6
Last updated at Posted at 2016-04-14

課題

初期設定ではPHPコード内のSQL文にハイライトがかかり、やや見辛い
image

環境

  • MacOS X El Capitan: 10.11.4
  • PhpStorm: 2016.1

対処

ナビゲーションバーから Settings/Preferences -> Editor -> Language Injections と辿り、
php: "SQL select/delete/insert/update/create" のチェックを外す
image

スッキリ。通常の文字列として認識されます
image

参考:
How to disable highlighting for SQL code in phpstorm?
http://stackoverflow.com/questions/22592354/how-to-disable-highlighting-for-sql-code-in-phpstorm

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?