PHP Firefox Dictionary List

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

PHP Firefox Dictionary List

Post by onion2k »

I finally gave up.

I did something about it.

Firefox 2 is ace. It's brilliant. But it's spellchecker annoyed me. It didn't know any PHP functions. So when I type code here in PHPDN I got lots of little red lines everywhere. Argh.

So I've fixed it. And now you can too!
  • Download: http://www.ooer.com/ffphp/ff_php_dict.zip
  • Unzip the file, and open the resulting text file in a text editor (it's > 5000 lines, so not Notepad.exe).
  • Open your persdict.dat file. This is located in your profile folder, which is in c:/documents and settings/<username>/Application Data/Mozilla/Firefox/Profiles/<random code>.<profile name>/persdict.dat on Windows. ~/Library/Application Support/Firefox/Profiles/<random code>.<profile name>/persdict.dat on a Mac. Don't know where on Linux.
  • Copy the list of functions from ff_php_dict.txt into your persdict.dat file.
  • Save
  • Restart Firefox.
If someone knows how to make it into a dictionary installer XPI file that'd be pretty cool.
User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Post by Oren »

Where did you find the whole list?

P.S Yes, I hate it too when it puts this red line under names, functions and such :P
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

As an aside, you could always right click and choose add to dictonary.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Oren wrote:Where did you find the whole list?
Like the alphabetical listing of all PHP functions list?
User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Post by Oren »

"404 Not Found" :P
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Those bastards changed the name of the page. It is here:
http://us2.php.net/manual/en/indexes.php

On the last section of the manual it is called the function index. It even comes in the downloadable manual.
Post Reply