Book Image

PhpStorm Cookbook

By : Mukund Chaudhary
Book Image

PhpStorm Cookbook

By: Mukund Chaudhary

Overview of this book

Table of Contents (16 chapters)
PhpStorm Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Code hinting for the plugin


Here comes the actual utility of using an IDE for the plugin you created. It is a very common article of faith among developers that IDEs provide the autocompletion feature no matter what. However, at the same time, it is very uncommon amongst the same set of developers to know exactly how it is possible that the IDE provides autocompletion. Grandma always used to say Ignorance never pays. Exactly! Ignorance never pays (pun intended).

A question could be popping up in your mind. Why on the earth do you need to use the autocomplete feature? The answer to this might not be a diplomatic one, but it is true. In most cases, developers are ignorant enough not to write documentation for their code. Thus, autocompletion and / or code hinting serve as the saviors for the users of the code you provided. Since you are a programmer yourself, you can very easily understand the ease of using the code-hinting feature.

In the current context, you need to have similar settings so...