|
Posted by Jim Carlock on 10/12/06 03:45
"Veign" <NOSPAMveign1@gmail.com> wrote:
> Intellisense in PHP would be great.
Hiya Chris and others,
I'm quite pleased with the Scintilla Editor. It has Intellisense.
I don't step through PHP code, so if it has that feature, I don't
know about it.
Click on the green "Download Scintilla" button at the following
link, then scroll down to SciTE.
http://sourceforge.net/projects/scintilla
It provides a way to way to run the code inside the editor but
that requires the php.exe to be in the path.
You'll need to grab the php.api and possibly the php.properties
files at the following link to get the Intellisense going. Scroll down
to the PHP heading.
http://scintilla.sourceforge.net/SciTEExtras.html
A link to the debugger is found on this page. I haven't messed with
it so don't know anything at all about it. Search for PHP and click
on the link there.
http://scintilla.sourceforge.net/ScintillaRelated.html
It takes you to: http://gubed.mccabe.nu/
The SciTE editor holds plenty of advantages. It's small in size, does
very fast search and replaces and it works not only with PHP, but
with VB as well. Although I haven't tried compiling much of anything
with it. <g> The whole SciTE package with the API for PHP takes
up less than 6 MB of disk space and you'll be hard pressed to find
a better editor. The .properties files it uses aren't too difficult to
understand and edit and provide everything needed to turn TABS
on and off, to set TAB sizes for different extensions, etc.
The only disadvantage I've found in it, involves a single line exceeding
65,000 characters, the horizontal scroll bar and the line of text starts
disappearing from the screen. Given that I don't encounter lines of text
that often it's not too much of a bother.
When you download the php.properties file (if it doesn't come with
the SciTE download), you might need to add the following lines to
it, and then download the php.api file as well.
# Set autocompletes
autocompleteword.automatic=1
autocomplete.php.fillups=$(SciteDefaultHome)\php.api
Then edit the html.properties file and add the following lines under
the keywordclass.php keyword list...
# Override keywordclass.php with another file if present
import phpfunctions
That should take care of it. It's easy to edit the .api files and
add your own functions to the automatic drop down lists.
The developer of the project, Neil, listens to input for the
any bugs found in the project. He encourages joining the
mailing list at SourceForge.Net.
If you run into any questions let me know and I'll help work
things out. I've committed myself to the editor. I like it a lot.
Hope this helps and enjoy.
--
Jim Carlock
Post replies to the group.
[Back to original message]
|