Page 1 of 1

PHP Firefox Dictionary List

Posted: Thu Jul 12, 2007 2:46 pm
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.

Posted: Thu Jul 12, 2007 4:14 pm
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

Posted: Thu Jul 12, 2007 5:48 pm
by RobertGonzalez
As an aside, you could always right click and choose add to dictonary.

Posted: Thu Jul 12, 2007 5:51 pm
by RobertGonzalez
Oren wrote:Where did you find the whole list?
Like the alphabetical listing of all PHP functions list?

Posted: Fri Jul 13, 2007 3:06 am
by Oren
"404 Not Found" :P

Posted: Fri Jul 13, 2007 10:24 am
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.