Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Spell Check
Spell Check [message #267443] Sun, 04 January 2009 14:05 Go to next message
Gwen H is currently offline Gwen H
Messages: 7
Registered: July 2009
Junior Member
I've just installed Eclipse in the last 30-60 days. Due to the holidays,
I'm just now finding time to use it. My spell check isn't working
properly. I have enabled it in Window > Preferences > General > Editors >
Text Editors > Spelling. I've also specified a .txt dictionary file, where
the words are listed one to a line. But still, when I deliberately type a
misspelled word in Eclipse, the program is not flagging it with a squiggly
line. What am I doing wrong? I have tried this in the Java, Javascript,
PHP, and CFEclipse perspectives. Nothing happens.

Thanks!
Re: Spell Check [message #267466 is a reply to message #267443] Mon, 05 January 2009 09:32 Go to previous messageGo to next message
Eclipse User
Originally posted by: eclipse-news.rizzoweb.com

On 1/4/2009 2:05 PM, Gwen H wrote:
> I've just installed Eclipse in the last 30-60 days. Due to the holidays,
> I'm just now finding time to use it. My spell check isn't working
> properly. I have enabled it in Window > Preferences > General > Editors
> > Text Editors > Spelling. I've also specified a .txt dictionary file,
> where the words are listed one to a line. But still, when I deliberately
> type a misspelled word in Eclipse, the program is not flagging it with a
> squiggly line. What am I doing wrong? I have tried this in the Java,
> Javascript, PHP, and CFEclipse perspectives. Nothing happens.

the perspective is really irrelevant; what kind of editor (what file
extension) are you trying it in? I don't think every type of editor
supports spell checking.

Eric
Re: Spell Check [message #267474 is a reply to message #267466] Mon, 05 January 2009 16:46 Go to previous messageGo to next message
Gwen H is currently offline Gwen H
Messages: 7
Registered: July 2009
Junior Member
Not sure what you mean. I'm using the CFEclipse perspective to edit .cfm
files. I don't select any kind of "editor" before I edit them. I defined a
txt file as my dictionary.

Gwen Harrison
Re: Spell Check [message #267486 is a reply to message #267474] Tue, 06 January 2009 09:19 Go to previous messageGo to next message
Eclipse User
Originally posted by: eclipse-news.rizzoweb.com

On 1/5/2009 4:46 PM, Gwen H wrote:
> Not sure what you mean. I'm using the CFEclipse perspective to edit .cfm
> files. I don't select any kind of "editor" before I edit them. I defined
> a txt file as my dictionary.

Then you're using the CFEclipse editor (or .cfm editor if you want to
call it that). Most likely you'll have to ask on the CFEclipse forums,
since it is code provided by that project (not provided by any
Eclipse.org project).
One thing you can try just to verify that it is CFEclipse's problem: try
creating a .txt file and open that; then type in some mis-spelled words
and see if they are highlighted as expected. If it works in the .txt
file, then your problem is with CFEclipse and you can ask about it on
their forums.

Hope this helps,
Eric
Re: Spell Check [message #267501 is a reply to message #267486] Tue, 06 January 2009 14:03 Go to previous messageGo to next message
Walter Harley is currently offline Walter Harley
Messages: 847
Registered: July 2009
Senior Member
"Eric Rizzo" <eclipse-news@rizzoweb.com> wrote in message
news:gjvpac$f78$1@build.eclipse.org...
> On 1/5/2009 4:46 PM, Gwen H wrote:
>> Not sure what you mean. I'm using the CFEclipse perspective to edit .cfm
>> files. I don't select any kind of "editor" before I edit them. I defined
>> a txt file as my dictionary.
>
> Then you're using the CFEclipse editor (or .cfm editor if you want to call
> it that). Most likely you'll have to ask on the CFEclipse forums, since it
> is code provided by that project (not provided by any Eclipse.org
> project).
> One thing you can try just to verify that it is CFEclipse's problem: try
> creating a .txt file and open that; then type in some mis-spelled words
> and see if they are highlighted as expected. If it works in the .txt file,
> then your problem is with CFEclipse and you can ask about it on their
> forums.


But she said in her original post that it is also failing in other editors,
including Java: "I have tried this in the Java, Javascript, PHP, and
CFEclipse perspectives. Nothing happens."

So the problem seems more generic than that.

I'm not very familiar with the spell checker (I find it annoying so I
disable it) so I don't have the answer, but hopefully someone here is more
familiar?
Re: Spell Check [message #267503 is a reply to message #267486] Tue, 06 January 2009 18:30 Go to previous messageGo to next message
Gwen H is currently offline Gwen H
Messages: 7
Registered: July 2009
Junior Member
As has already been pointed out, in my original post I indicated that I
attempted to use the spell check in the following:

Java perspective/editor
CFEclipse perspective/editor
PHPEclipse perspective/editor
Javascript perspective/editor

None of these editors are highlighting or marking misspelled words.

Gwen H
Re: Spell Check [message #267507 is a reply to message #267503] Tue, 06 January 2009 18:52 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2234
Registered: July 2009
Senior Member
Gwen H wrote:
> As has already been pointed out, in my original post I indicated that I
> attempted to use the spell check in the following:
>
> Java perspective/editor
> CFEclipse perspective/editor
> PHPEclipse perspective/editor
> Javascript perspective/editor
>
> None of these editors are highlighting or marking misspelled words.

In that case has something said not to highlight them? Go to the
General...Editors..Text Editors..Annotations preference page and
make sure that Spelling Errors are set to be shown.

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Spell Check [message #267511 is a reply to message #267507] Wed, 07 January 2009 08:22 Go to previous messageGo to next message
Gwen H is currently offline Gwen H
Messages: 7
Registered: July 2009
Junior Member
Already checked that. Sorry, but that's not the problem.

Thanks,
Gwen H
Re: Spell Check [message #267517 is a reply to message #267501] Wed, 07 January 2009 09:24 Go to previous messageGo to next message
Eclipse User
Originally posted by: eclipse-news.rizzoweb.com

On 1/6/2009 2:03 PM, Walter Harley wrote:
> "Eric Rizzo"<eclipse-news@rizzoweb.com> wrote in message
> news:gjvpac$f78$1@build.eclipse.org...
>> On 1/5/2009 4:46 PM, Gwen H wrote:
>>> Not sure what you mean. I'm using the CFEclipse perspective to edit .cfm
>>> files. I don't select any kind of "editor" before I edit them. I defined
>>> a txt file as my dictionary.
>> Then you're using the CFEclipse editor (or .cfm editor if you want to call
>> it that). Most likely you'll have to ask on the CFEclipse forums, since it
>> is code provided by that project (not provided by any Eclipse.org
>> project).
>> One thing you can try just to verify that it is CFEclipse's problem: try
>> creating a .txt file and open that; then type in some mis-spelled words
>> and see if they are highlighted as expected. If it works in the .txt file,
>> then your problem is with CFEclipse and you can ask about it on their
>> forums.
>
>
> But she said in her original post that it is also failing in other editors,
> including Java: "I have tried this in the Java, Javascript, PHP, and
> CFEclipse perspectives. Nothing happens."
>
> So the problem seems more generic than that.

Well, strictly speaking the perspective is irrelevant. It is the editor,
and Gwen has not yet confirmed that this happens in a plain .txt file,
as I suggested.

> I'm not very familiar with the spell checker (I find it annoying so I
> disable it) so I don't have the answer, but hopefully someone here is more
> familiar?

Same here, I never use Spell Check.
One more idea from me: if it can be confirmed to not work in a .txt file
(again, it is the file type that matters, NOT the perspective), the next
thing would be to open the Error Log view and see if there is anything
related being logged about it.

Eric
Re: Spell Check [message #267525 is a reply to message #267443] Wed, 07 January 2009 10:21 Go to previous messageGo to next message
Eclipse User
Originally posted by: ian_h_williams.msn.com

Gwen H wrote:
> I've just installed Eclipse in the last 30-60 days. Due to the holidays,
> I'm just now finding time to use it. My spell check isn't working
> properly. I have enabled it in Window > Preferences > General > Editors
> > Text Editors > Spelling. I've also specified a .txt dictionary file,
> where the words are listed one to a line. But still, when I deliberately
> type a misspelled word in Eclipse, the program is not flagging it with a
> squiggly line. What am I doing wrong? I have tried this in the Java,
> Javascript, PHP, and CFEclipse perspectives. Nothing happens.
>
> Thanks!
>
Hi Gwen,

A few quick questions relating to your spell checking problem.

1. What platform are you running eclipse?
2. Which release of eclipse?
3. What is the encoding of the spell check file set to?
Re: Spell Check [message #267547 is a reply to message #267511] Wed, 07 January 2009 20:48 Go to previous messageGo to next message
Walter Harley is currently offline Walter Harley
Messages: 847
Registered: July 2009
Senior Member
"Gwen H" <gwen32539@gmail.com> wrote in message
news:d5ff770175851e6c40613f9a76f2f8cc$1@www.eclipse.org...
> Already checked that. Sorry, but that's not the problem.

Just to make sure - the setting that Nitin mentioned is different than the
one that you mentioned in your first post.

You mentioned:

Window > Preferences > General > Editors > Text Editors > Spelling

Nitin mentioned:

Window > Preferences > General > Editors > Text Editors > Annotations

What he's suggesting is that even if spell checking is enabled, its output
might not be getting displayed, if the annotations are invisible for some
reason (e.g., set to a bad color).

For what it's worth, I did just try defining a user-defined dictionary. It
worked for me (e.g., with a dictionary containing only the words "foo",
"bar", and "baz" each on a separate line, when I typed comments, all the
words except those would be commented). However, I think it did not
recompute the spelling when I changed the dictionary - I had to actually
edit the file to see the changes. I didn't try reproducing that.

To get common words to show up as misspelled, I also had to unselect the
"English (US)" platform dictionary, in the Spelling prefs pane, and select
"none".
Re: Spell Check [message #267631 is a reply to message #267525] Sat, 10 January 2009 11:57 Go to previous messageGo to next message
Gwen H is currently offline Gwen H
Messages: 7
Registered: July 2009
Junior Member
Ian Williams wrote:

> A few quick questions relating to your spell checking problem.

> 1. What platform are you running eclipse?
> 2. Which release of eclipse?
> 3. What is the encoding of the spell check file set to?

1. Windows XP Pro SP3
2. Ganymede
3. Default (CP1252)

Thanks!
Gwen H
Re: Spell Check [message #267633 is a reply to message #267631] Sat, 10 January 2009 20:42 Go to previous messageGo to next message
Eclipse User
Originally posted by: ian_h_williams.msn.com

Gwen H wrote:
> Ian Williams wrote:
>
>> A few quick questions relating to your spell checking problem.
>
>> 1. What platform are you running eclipse?
>> 2. Which release of eclipse?
>> 3. What is the encoding of the spell check file set to?
>
> 1. Windows XP Pro SP3
> 2. Ganymede
> 3. Default (CP1252)
>
> Thanks!
> Gwen H
>
Hi Gwen,

I have another question.

While you are in the java perspective and are editing a java file.
If you try to place a misspelling in any of the comments sections of the
class file are the misspellings underlined?

eg.

package test

/**
* This is a comment with a misspelling
* bananasx
*/

public class Atest {

}
Re: Spell Check [message #511389 is a reply to message #267633] Mon, 01 February 2010 08:55 Go to previous messageGo to next message
Łukasz Pogorzelski is currently offline Łukasz Pogorzelski
Messages: 4
Registered: February 2010
Junior Member
Hello.

I have very similar problem, but in my case spell checking works while i'm editing java files. But if i'm editing javascript files spell checking doesn't work regardless of perspective.

I set my user dictionary generated by aspell.
Re: Spell Check [message #511519 is a reply to message #511389] Mon, 01 February 2010 15:51 Go to previous messageGo to next message
Deepak Azad is currently offline Deepak Azad
Messages: 545
Registered: July 2009
Senior Member
On 2/1/2010 7:25 PM, lukasz.pogorzelski@unizeto.pl wrote:
> Hello.
>
> I have very similar problem, but in my case spell checking works while
> i'm editing java files. But if i'm editing javascript files spell
> checking doesn't work regardless of perspective.
>
> I set my user dictionary generated by aspell.
Which editor are you using for Javascipt files, the one in JSDT? I have
seen it work in latest builds.
Re: Spell Check [message #511667 is a reply to message #511519] Tue, 02 February 2010 08:43 Go to previous messageGo to next message
Łukasz Pogorzelski is currently offline Łukasz Pogorzelski
Messages: 4
Registered: February 2010
Junior Member
I'm using default JavaScript Editor from JSDT and fresh downloaded version of Eclipse (3.5 SR1). I've noticed that problem doesn't occur in Java Editor and Text Editor. I want to debug it but i don't know how.
Re: Spell Check [message #511751 is a reply to message #511667] Tue, 02 February 2010 12:46 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2234
Registered: July 2009
Senior Member
On 2/2/2010 8:43 AM, Łukasz Pogorzelski wrote:
> I'm using default JavaScript Editor from JSDT and fresh downloaded
> version of Eclipse (3.5 SR1). I've noticed that problem doesn't occur in
> Java Editor and Text Editor. I want to debug it but i don't know how.

This is already fixed in the JSDT branch for the Helios release.

---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Spell Check [message #511878 is a reply to message #511751] Wed, 03 February 2010 05:23 Go to previous messageGo to next message
Łukasz Pogorzelski is currently offline Łukasz Pogorzelski
Messages: 4
Registered: February 2010
Junior Member
In which branch version? Is it a reported bug in bugzilla for it ?
Re: Spell Check [message #557691 is a reply to message #511878] Wed, 08 September 2010 10:31 Go to previous message
Alan Wilter Sousa da Silva is currently offline Alan Wilter Sousa da Silva
Messages: 1
Registered: September 2010
Junior Member
I am using Helios. The funny thing is that spell check work with python files but with nothing else.

The most bizarre is that if I do [crtl .] it autocomplete the words! So, hey there, it knows about the words but it simply doesn't want to underlined the misspelled words???

[Updated on: Wed, 08 September 2010 10:32]

Report message to a moderator

Previous Topic:Help with syntax errors
Next Topic:Download Eclipse PDE Documentation?
Goto Forum:
  


Current Time: Thu Jul 24 19:02:28 EDT 2014

Powered by FUDForum. Page generated in 0.02034 seconds