Phpstorm support CodeIgniter code hints/auto-complete

Source: Internet
Author: User
Tags codeigniter

Download this file Phpstorm-ci-ac or go to GitHub to download
Unzip the three files inside the ci root directory
And find these three files.

system\core\controller.php
system\core\model.php
system\database\db_active_rec.php

Right-click to select Make as Plain Text. :

At this point Phpstorm can already support CI code hints

Modifying the my_models.php file allows you to automate your custom class implementation
Follow these steps:

Models to load add your own class:
The format is: Description of the @property class $ class file name
Like I have a template class.
@property template class $template

Effect:

Finished

Ps:github above also have other files can make Phpstorm support OpenCart and WordPress automatic completion!

------------------------------------------------------------------------------------------------

Set Phpstorm support for CodeIgniter code autocomplete

1. Download Ci_phpstorm.rar
2, unzip the file, copy the ci_phpstorm.php to the project root path (and Index.php,system folder, application folder in the same directory)
3. Right-click the controller.php, model.php file under the System/core/folder, and select "Mark as plain text"
4, re-open the project, finished OK

Phpstorm support CodeIgniter code hints/auto-complete

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.