NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
English spelling check engine for PhpED


Joined: 28 Mar 2007
Posts: 53
Reply with quote
Hi,

Is it possible to add English spelling check engine to PhpED? I am sure most of PHP developers use to write lots of comments for their functions, methods or just variables and I think grammar checker will help.

I think this will somehow help in reducing amount of mistyped variable’s names. For example: $counter could be typed as $conuter. It will be even better if engine will be able to check merged words $counterValue or $counter_value (this both styles are standards in coding).

Thank you in advance

Vitali
View user's profileFind all posts by DelphiSend private messageICQ Number


Joined: 14 Jun 2007
Posts: 67
Reply with quote
Big thumbsup from me!
View user's profileFind all posts by CjungeSend private message


Joined: 28 Mar 2007
Posts: 53
Reply with quote
As I guess nobody is going to add this feature Smile Even the simple QIP messenger have managed to add spelling check engine to their program. As they said they use some separate program which checks message box contents and checks it. At the worst you can do the same with PhpED.
View user's profileFind all posts by DelphiSend private messageICQ Number


Joined: 14 Jun 2007
Posts: 67
Reply with quote
Delphi wrote:
As I guess nobody is going to add this feature Smile Even the simple QIP messenger have managed to add spelling check engine to their program. As they said they use some separate program which checks message box contents and checks it. At the worst you can do the same with PhpED.

Aspell is used by Pidgin for their spell checking, so I assume it could be possible to add a script to PhpEd that just feeds the current selection/document to Aspell. Not 100%s sure how one would do it, as it'd have to be command line I assume.
View user's profileFind all posts by CjungeSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
not sure if this is of any help, but you can try to invoke external tools the same way as described in this forum phped-integration-scripts-f18.html

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 28 Mar 2007
Posts: 53
Reply with quote
Cjunge wrote:
Aspell is used by Pidgin for their spell checking, so I assume it could be possible to add a script to PhpEd that just feeds the current selection/document to Aspell. Not 100%s sure how one would do it, as it'd have to be command line I assume.

Thanks, looks really interesting but after reading program's manual I came to conclusion that it could be used with program which has option to use Aspell.
Quote:
Aspell can be used as a drop in replacement for Ispell for programs that use Ispell through a pipe such as Emacs and LyX. It can also be used with programs that use simple call the ispell command and expect the original file to be overwritten with the corrected version. It support the basic features of Ispell, however it does not currently have a Nroff mode so there may be situations in which you still wish to use Ispell. Nevertheless, I have been using Aspell for Xemacs and LyX since the middle of September of 1998 with out any problems.

I think PhpED developers will be able to add it without any difficulties.
View user's profileFind all posts by DelphiSend private messageICQ Number


Joined: 28 Mar 2007
Posts: 53
Reply with quote
dmitri wrote:
not sure if this is of any help, but you can try to invoke external tools the same way as described in this forum phped-integration-scripts-f18.html

Thank you I will read it. Probably this one phpunit-integration-t3868.html will be the most useful out all of them.
View user's profileFind all posts by DelphiSend private messageICQ Number
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
Personally I think that having the ability to return "errors" from an integration script that are recognized by PHPed as such would result in a lot more useful scripts. But then again, I have already asked that several times, hopefully it will be added some day Smile
View user's profileFind all posts by BlizzSend private messageVisit poster's website


Joined: 09 Dec 2008
Posts: 11
Reply with quote
I subscribe to Spell checker integrated within phped same way Firefox have it in textarea, so you can just see the word in red underline and right-click for suggestions.
View user's profileFind all posts by crirus74Send private message
Veteran

Joined: 22 May 2008
Posts: 141
Reply with quote
What if I actually want the word shortened up? One thing I hate about Word is that there are red squiggly lines everywhere because I abbreviate a lot.

I might have a variable named $txtBox1.
Spell check will probably say "$textBox1"... not what I want.
I don't want to see squiggly lines all over the place because of that, and having to click "Add to dictionary" or "Ignore" for every abbreviation would be a p.i.t.a.
View user's profileFind all posts by simshaunSend private message
English spelling check engine for PhpED
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic