www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Spell checking in Descent (OT?)

reply "Peter C. Chapin" <pcc482719 gmail.com> writes:
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
Jul 28 2008
next sibling parent reply "Koroskin Denis" <2korden gmail.com> writes:
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.
Jul 28 2008
parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
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
Jul 28 2008
parent "Peter C. Chapin" <pcc482719 gmail.com> writes:
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
Jul 29 2008
prev sibling parent reply Robert Fraser <fraserofthenight gmail.com> writes:
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.
Jul 28 2008
next sibling parent "Peter C. Chapin" <pcc482719 gmail.com> writes:
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
Jul 28 2008
prev sibling parent BCS <ao pathlink.com> writes:
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
 

to Configuration> Editors > Spell Checking and set it to use the "D Spelling

 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)
Jul 28 2008