WebStorm(IntelliJ)のJavaScript静的解析はすごく便利ですね。サポートしているライブラリ/フレームワーク以外にも、TSDでTypeScriptのインターフェースを取り込めたり、自分で書いたコードを読んで推測してくれたり。自分のコードに JSdoc があるとそれがより高精度に。 ...でも、それだけではどうしても型ヒントが付かないオブジェクトがあります。外から来たJSONメッセージだったり、MongoDBから読み込んだBSONだったり。存在すると信用していいプロパティなのに、どこにも実装がないがために、ドットでアクセスしたら Unresolved Variable が出ることがあります。 このとき使えるのが JSDoc3 の @typedef です。 JSONが間違いなくこういう形をしていたとして、
Edit | Find | Find in Path or Replace in Path Ctrl+Shift+F or Ctrl+Shift+R In the Project tool window: Find in Path or Replace in Path from the context menu for a directory Specify what you want to find and where. In the Replace in Path dialog, also specify the replacement text or pattern. Use Ctrl+Shift+F and Ctrl+Shift+R to switch between the find and replace modes. Search pattern and replacemen
File statusFiles can be displayed in different colors in the Project tool window, and their editor tabs can be highlighted according to the results of code analysis, their version control state, and so on. You can configure VCS file status colors on the Version Control | File Status Colors page of the IDE settings Control+Alt+S. The table below lists default file status colors and their meanings i
Redirecting… Click here if you are not redirected.
タイトル長すぎで、こんなタイトルになりましたが正確には「GreasemonkeyでPhpStormから開くPHPマニュアルページを日本語にする」が正しいです。 PhpStormでPHPの関数にカーソルを合わせてF1を押すと、英語のPHPマニュアルが表示されます。 このマニュアルにはphp.net/manualへのリンクが記載されていますが、デフォルトだと英語のページヘのリンクになっています。 このURLをGreasemonkeyのスクリプトで日本語ページにリダイレクトします。 Greasemonkeyスクリプト PHP_Manual_ja_redirect.1.0.1.user javascriptでlocation.hrefを置き換えてるだけです。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く