View mode: basic / threaded / horizontal-split · Log in · Help
July 28, 2008
Spell checking in Descent (OT?)
This is a question about Descent and so may be off topic here... if so I 
apologize. Is there a more appropriate forum for Descent questions?

I just installed Descent and so far it seems to be working fine. 
However, in my current configuration I am seeing quite a few words being 
highlighted as misspelled... for example words like "int" and "writefln."

I can disable spell checking but I see that it is a global setting 
(true?) and I don't necessarily want it disabled for my other (non-D) 
projects. I notice that the configuration of the JDT has spell checking 
enabled and yet words like "int" are not highlighted as misspelled. In 
fact, in my Java code the only words I notice that are marked as 
misspelled are in my comments... even program identifiers such as 
"argCount" are not highlighted. Is the JDT just smarter about this than 
Descent or am I missing something?

Peter
July 28, 2008
Re: Spell checking in Descent (OT?)
On Mon, 28 Jul 2008 18:20:00 +0400, Peter C. Chapin <pcc482719@gmail.com>  
wrote:

> This is a question about Descent and so may be off topic here... if so I  
> apologize. Is there a more appropriate forum for Descent questions?
>
> I just installed Descent and so far it seems to be working fine.  
> However, in my current configuration I am seeing quite a few words being  
> highlighted as misspelled... for example words like "int" and "writefln."
>
> I can disable spell checking but I see that it is a global setting  
> (true?) and I don't necessarily want it disabled for my other (non-D)  
> projects. I notice that the configuration of the JDT has spell checking  
> enabled and yet words like "int" are not highlighted as misspelled. In  
> fact, in my Java code the only words I notice that are marked as  
> misspelled are in my comments... even program identifiers such as  
> "argCount" are not highlighted. Is the JDT just smarter about this than  
> Descent or am I missing something?
>
> Peter


There is digitalmars.D.ide newsgroup, Descent questions are usually asked  
there.
July 28, 2008
Re: Spell checking in Descent (OT?)
Peter C. Chapin Wrote:

> This is a question about Descent and so may be off topic here... if so I 
> apologize. Is there a more appropriate forum for Descent questions?
> 
> I just installed Descent and so far it seems to be working fine. 
> However, in my current configuration I am seeing quite a few words being 
> highlighted as misspelled... for example words like "int" and "writefln."
> 
> I can disable spell checking but I see that it is a global setting 
> (true?) and I don't necessarily want it disabled for my other (non-D) 
> projects. I notice that the configuration of the JDT has spell checking 
> enabled and yet words like "int" are not highlighted as misspelled. In 
> fact, in my Java code the only words I notice that are marked as 
> misspelled are in my comments... even program identifiers such as 
> "argCount" are not highlighted. Is the JDT just smarter about this than 
> Descent or am I missing something?
> 
> Peter

Yeah, that setting could be a bit more intuitive... you need to go to 
Configuration > Editors > Spell Checking and set it to use the "D Spelling 
Engine". This is because spell checking is only supposed to be used in 
comments and string literals, and there needs to be a D-specific lexer to 
be able to identify where to check spelling.
July 28, 2008
Re: Spell checking in Descent (OT?)
Robert Fraser wrote:

> Yeah, that setting could be a bit more intuitive... you need to go to 
> Configuration > Editors > Spell Checking and set it to use the "D Spelling 
> Engine". This is because spell checking is only supposed to be used in 
> comments and string literals, and there needs to be a D-specific lexer to 
> be able to identify where to check spelling.

So what will that do to spell checking in non-D files?

Peter
July 28, 2008
Re: Spell checking in Descent (OT?)
Reply to Robert,

> Peter C. Chapin Wrote:
> 
>> This is a question about Descent and so may be off topic here... if
>> so I apologize. Is there a more appropriate forum for Descent
>> questions?
>> 
>> I just installed Descent and so far it seems to be working fine.
>> However, in my current configuration I am seeing quite a few words
>> being highlighted as misspelled... for example words like "int" and
>> "writefln."
>> 
>> I can disable spell checking but I see that it is a global setting
>> (true?) and I don't necessarily want it disabled for my other (non-D)
>> projects. I notice that the configuration of the JDT has spell
>> checking enabled and yet words like "int" are not highlighted as
>> misspelled. In fact, in my Java code the only words I notice that are
>> marked as misspelled are in my comments... even program identifiers
>> such as "argCount" are not highlighted. Is the JDT just smarter about
>> this than Descent or am I missing something?
>> 
>> Peter
>> 
> Yeah, that setting could be a bit more intuitive... you need to go
> to Configuration> Editors > Spell Checking and set it to use the "D Spelling 
Engine".
> This is because spell checking is only supposed to be used in
> comments and string literals, and there needs to be a D-specific lexer
> to be able to identify where to check spelling.
> 

It would be nice if the spell checker could also spell check declarations 
(after splitting them based on camel-case)
July 29, 2008
Re: Spell checking in Descent (OT?)
Koroskin Denis a écrit :
> On Mon, 28 Jul 2008 18:20:00 +0400, Peter C. Chapin 
> <pcc482719@gmail.com> wrote:
> 
>> This is a question about Descent and so may be off topic here... if so 
>> I apologize. Is there a more appropriate forum for Descent questions?
>>
>> I just installed Descent and so far it seems to be working fine. 
>> However, in my current configuration I am seeing quite a few words 
>> being highlighted as misspelled... for example words like "int" and 
>> "writefln."
>>
>> I can disable spell checking but I see that it is a global setting 
>> (true?) and I don't necessarily want it disabled for my other (non-D) 
>> projects. I notice that the configuration of the JDT has spell 
>> checking enabled and yet words like "int" are not highlighted as 
>> misspelled. In fact, in my Java code the only words I notice that are 
>> marked as misspelled are in my comments... even program identifiers 
>> such as "argCount" are not highlighted. Is the JDT just smarter about 
>> this than Descent or am I missing something?
>>
>> Peter
> 
> 
> There is digitalmars.D.ide newsgroup, Descent questions are usually 
> asked there.

You can also ask here:

http://www.dsource.org/forums/viewforum.php?f=107
July 29, 2008
Re: Spell checking in Descent (OT?)
Ary Borenszweig wrote:


>> There is digitalmars.D.ide newsgroup, Descent questions are usually 
>> asked there.
> 
> You can also ask here:
> 
> http://www.dsource.org/forums/viewforum.php?f=107

Okay, thanks for the information. I'll be sure to ask any further 
Descent questions in a more appropriate place.

Peter
Top | Discussion index | About this forum | D home