What IDE are you using for develop extension? What is the best IDE in MacOS for develop php extensions?
|
Dec '14 |
9 |
3383 |
6 |
What IDE are you using for develop extension? What is the best IDE in MacOS for develop php extensions?
In Ubuntu/Linux, a good tool is KDevelop (https://www.kdevelop.org/), I use Sublime Text and KDbg to debug (https://www.kdbg.org/)
PhpStorm (https://www.jetbrains.com/phpstorm/) or NetBeans IDE (https://netbeans.org/features/php/index.html)
@Phalcon Thanks.
@kkolesnikov PhpStorm is not IDE for develop extension. PhpStorm is IDE for develop application written in PHP with using phalcon extension :) Yes, we can use it but who needs it?
@golovanov People that like to have autocompletion for their code, need an IDE. Text editors don't suffice in that case.
This is what I have for Sublime Text 2
The packages I have are: Additional PHP Snippets Alignment Bracket Highlighter Function Name Display Git HTML5 Indent XML jQuery Open Recent Files PHPTwig (for symfony projects) PhpDoc PrettyJSON SublimeLinter WordHighlight Zen Coding
Unfortunately you can only do them one at a time so after you install one (look at your status bar) you will need to press Ctrl+Shift+P and Packages: Add Package and select the new one. I am pretty sure that there is a way to do it from the console but I haven't found it yet. To access the console you will need Ctrl + ` (tilda)
Also select Preferences User and enter this
"highlight_line": true,
"ignored_packages":
[
"Vintage"
],
"rulers":
[
80,
120
],
"translate_tabs_to_spaces": true,
"word_wrap": false
You can change the rulers if you want and remove the translate tabs to spaces or set it to false if that is what you use. The word_wrap is used to wrap text to the window size (auto) or whatever margin you want (see Default options)
Phalcon related resources for ST2
https://github.com/phalcon/volt-sublime-textmate https://github.com/phalcon/zephir-sublime
Thanks for the response Nikoloas. I actually have been using ST2 for a while and really love it. Added some of the packages you listed. I also have Volt already :). I was wondering more about completion for the phalcon classes themselves. I have netbeans as well, but I don't like it nearly as much as ST2. I was really hoping the phalcon-devtools would work for sublime, but I haven't found anyone who has said that it does.
In Ubuntu/Linux, a good tool is KDevelop (https://www.kdevelop.org/), I use Sublime Text and KDbg to debug (https://www.kdbg.org/)
How is KDbg helping you in Zephir extension development? Or do you use it for something else?