View previous topic :: View next topic |
Author |
Message |
dholling
Joined: 28 Oct 2007 Posts: 5
|
Posted: Sat Dec 08, 2007 5:12 am Post subject: help |
|
|
I get syntax errors on tokens such as "int"
Also, how do you install rebuild and where do I get it.
Maybe you should beef up your docs? |
|
Back to top |
|
|
fraserofthenight
Joined: 08 Apr 2007 Posts: 33 Location: Seattle, WA
|
Posted: Wed Dec 12, 2007 6:22 am Post subject: |
|
|
Just "int" alone? Indeed, that's a syntax error :-). It should go away when you type the rest of the declaration.
You can get rebuild here: http://www.dsource.org/projects/dsss/wiki/Rebuild
Hopefully in an upcoming version we'll have build support built in.
Yes, I want to add docs soon, I think I might do that after finish unit test support. However, for now, I'd suggest using JDT docs, since most of the functionality we have is ported from JDT.
So much to do! |
|
Back to top |
|
|
dholling
Joined: 28 Oct 2007 Posts: 5
|
Posted: Wed Dec 12, 2007 6:42 am Post subject: |
|
|
too much to do indeed
the "int" problem doesn't seem to go away. not sure at all what to do. maybe it's my version of eclipse (latest) or jre (1.6) that's the problem.
cheers |
|
Back to top |
|
|
fraserofthenight
Joined: 08 Apr 2007 Posts: 33 Location: Seattle, WA
|
Posted: Wed Dec 12, 2007 2:27 pm Post subject: |
|
|
What's the syntax that's giving you the error?
It's probably not the Eclipse version or JRE, since that's my setup, too. |
|
Back to top |
|
|
dholling
Joined: 28 Oct 2007 Posts: 5
|
Posted: Thu Dec 13, 2007 12:45 am Post subject: |
|
|
Code: | module Main;
int main(char[][] args){
return 0;
} |
The tooltip is: "The word 'int' is not correctly spelled" |
|
Back to top |
|
|
doob
Joined: 06 Jan 2007 Posts: 367
|
Posted: Thu Dec 13, 2007 8:46 am Post subject: |
|
|
There you have the solution, the spell checking is on. If you look real close you can see that the underline color is actually orange and not red, indicating that the word isn't correctly spelled and not a syntax error.
Last edited by doob on Tue Dec 18, 2007 8:31 am; edited 1 time in total |
|
Back to top |
|
|
dholling
Joined: 28 Oct 2007 Posts: 5
|
Posted: Thu Dec 13, 2007 5:22 pm Post subject: |
|
|
That explains it.... I am red-green colorblind which makes all sorts of subtle shades hard to differentiate.
Thanks so much |
|
Back to top |
|
|
fraserofthenight
Joined: 08 Apr 2007 Posts: 33 Location: Seattle, WA
|
Posted: Mon Dec 17, 2007 5:30 pm Post subject: |
|
|
More particularly, spell checking is set to the "Default Spelling Engine" instead of the "D Spelling Engine". In the spell checker prefs page, st it to the "D Spelling Engine" and enjoy! |
|
Back to top |
|
|
|