PhpStormでcommand + 数字 : PHP
PhpStormのショートカットで command + 数字で色々なWindowを開ける command + 0 Messeage command + 1 Project command + 2 Favorites
View ArticleSassインストールとPhpStormの設定(Mac) : CSS
SassをMacにインストールしてPhpStormから実行できるよう設定。 » Sass – Syntactically Awesome Stylesheets Sassの設定 Sassインストール sudo gem install sass Sassコンパイル style.scssをコンパイルしてstyle.cssを作成。 $ sass style.scss style.css...
View ArticlePhpStorm + Xdebugを使ったPHPのデバック方法(XAMPP for Mac) : PHP
MacにインストールしたPhpStorm + Xdebugを使いPHPをデバックするためのメモ。 Xdebugをインストールしzend extensionとして設定していることを前提とする1。 1. php.iniの設定 php.iniを下記のように設定する。 [XDebug] zend_extension="%xdebug.soのパス%" xdebug.remote_enable=1...
View ArticlePhpStorm(5.1)のカラースキーム Wombat : PHP
PhpStormの黒背景のカラースキームでWombatというのがあったのでメモ。 » hermanschutte/phpstorm-wombat インストールはWombat.xmlを下記ディレクトリへコピーする。 ~/Library/Preferences/WebIde50 カラースキームはsettings(command + ,) > IDE Settings > Editor...
View ArticlePhpStormコマンドラインとExternal Toolsのメモ
PhpStormはIDEからコマンドラインを使える(Shift + command + X)。 コマンドラインを使うプログラムはSettings(command + ,) > IDE Setttings > External Toolsで登録してショートカットで呼び出す。 External...
View ArticlePhpStormでFTPのパッシブモードを設定
PhpStormはFTP, FTPS, SFTPに対応。FTP情報はTools > Deployment > Configrationで設定する。 Advanced Optionsでパッシブモード(Passive mode)を選択できる。デフォルトはオフ。
View ArticlePhpStormからXAMPPのMySQLへ接続
PhpStormからXAMPP for MACのMySQLへ接続したさいのメモ。 下記のエラーがでた Communications link failure my.cnfの下記行をコメントアウト skip-networking » MySQL :: MySQL 5.1 リファレンスマニュアル :: 24.4.5.3 よくある問題と解決法 my.cnfのパス...
View ArticlePhpStormでGruntを実行
External Toolsでただしい設定をしていても下記のエラーが起こるときはPhpStormをコマンドラインで起動する方法を試す。 env: node: No such file or directory 関連記事 » PhpStormコマンドラインとExternal Toolsのメモ 参考記事 » Mac – Tools > Run Command… で困らないために – Qiita...
View ArticlePhpStormで文字列をタグで囲む : PhpStorm
選択した文字列をタグで囲む方法。 メニュー > Code > Surround With ショートカット option + command + t [PhpStorm/WebStorm]Surround Templatesでコード変更を効率化 | バシャログ。 Surround selection on typing quote or brace – marsのメモ
View ArticlePhpStormでXDebugを使いデバッグ : PHP
PhpStormはXDebugを使いステップ実行などデバッグをすることができます。MacへのXDebugのインストールおよびXDebug、PhpStormの設定を記載しています。 XDebug設定 PhpStorm設定 1. XDebug設定 インストール $ brew install php56-xdebug 設定ファイル 下記コマンドで設定ファイルの場所を確認できます。 $ php --ini...
View ArticlePHPファイルの新規作成で挿入されるヘッダ情報を削除 : PhpStorm
以下のリンクに記載。 php – Disable PHPStorm new file branding – Stack Overflow
View Article