Hello
I am a PHP developer and I am using codelite first time and I trying to understand all the features. But one thing I want to know first and that is PHP autocomplete function like $_GET, $_POST, $_SESSION etc just like dreamweaver.
Is this feature is available in codelite? If yes can you please gide me.
Is there any settings available for php code hint?
-
- CodeLite Curious
- Posts: 1
- Joined: Mon Feb 23, 2015 8:02 pm
- Genuine User: Yes
- IDE Question: PHP
- Contact:
Is there any settings available for php code hint?
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Is there any settings available for php code hint?
Hi,
CodeLite has a good completion for PHP files
We don't to claim to have code completion as Zend Studio or PHPStorm, but I will get there soon
Here is the quick start tutorial for PHP:
http://codelite.org/LiteEditor/PHP
There are 2 levels of code completion:
from the main menu bar: PHP -> Settings -> Code Completion
The second is parsing your PHP project files and providing code completion based on the parsing results
Unfortunately, although I have included all (plus) PHP files for the basic PHP functions, I did not provide a stub for the PHP superglobals, however, this can be fixed with almost zero effort ( I already fixed this in git master ):
* Download the file SuperGlobals.php from here: https://github.com/eranif/codelite/blob ... lobals.php
* Save it under %appdata%\CodeLite\php-plugin\cc\SuperGlobals.php
* Right click on your workspace and select "Parse Workspace"
After adding and parsing the workspace, you should have this: Code completion for user code: PHP builtin classes/functions code completion: If you have more questions, feel free to ask
Eran
CodeLite has a good completion for PHP files
We don't to claim to have code completion as Zend Studio or PHPStorm, but I will get there soon
Here is the quick start tutorial for PHP:
http://codelite.org/LiteEditor/PHP
There are 2 levels of code completion:
- The PHP builtin functions (such as: basename, define, PDO classes etc)
- User code
from the main menu bar: PHP -> Settings -> Code Completion
The second is parsing your PHP project files and providing code completion based on the parsing results
Unfortunately, although I have included all (plus) PHP files for the basic PHP functions, I did not provide a stub for the PHP superglobals, however, this can be fixed with almost zero effort ( I already fixed this in git master ):
* Download the file SuperGlobals.php from here: https://github.com/eranif/codelite/blob ... lobals.php
* Save it under %appdata%\CodeLite\php-plugin\cc\SuperGlobals.php
* Right click on your workspace and select "Parse Workspace"
After adding and parsing the workspace, you should have this: Code completion for user code: PHP builtin classes/functions code completion: If you have more questions, feel free to ask
Eran
You do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread