July 26, 2009
Trass3r escribió:
> btw, would be very cool if the code formatter would also format pasted code!
> 
> VisualAssistX has this feature and it's a pleasure to use it, esp. if you use some code written by other guys with strange code style. I just cut the whole file, paste it again and voila it's nicely formatted ;)

Or you can press ctrl+shift+F and that's it. :-P
July 26, 2009
Ary Borenszweig schrieb:
> Or you can press ctrl+shift+F and that's it. :-P

Just what I needed, thanks :)
July 27, 2009
Ary Borenszweig wrote:
> 
> Enjoy :-)

Great work.

BTW: Is there any plan to make a "Organize Imports" feature? It would be very helpful.
July 27, 2009
Qian Xu escribió:
> Ary Borenszweig wrote:
>> Enjoy :-)
> 
> Great work.

:)

> BTW: Is there any plan to make a "Organize Imports" feature? It would be
> very helpful.

I'll give it a try. But maybe some imports are removed that are unused by the current debug/version/static-if conditions. But I think that's not a big deal. I'll start by using normal imports, maybe later I'll do selective imports (but I remember them being buggy).
July 27, 2009
Descent seems to have some problems with multiline `` comments though.

void foo()
{
	writefln(`
			`);
	version(Windows)
	{
	}
}

everything following the 2nd ` is highlighted incorrectly.
Or is it some configuration mistake?
July 28, 2009
Trass3r escribió:
> Descent seems to have some problems with multiline `` comments though.
> 
> void foo()
> {
>     writefln(`
>             `);
>     version(Windows)
>     {
>     }
> }
> 
> everything following the 2nd ` is highlighted incorrectly.
> Or is it some configuration mistake?

True. This will be fixed in the next release.
July 28, 2009
Also the hover feature/Open Declaration sometimes behaves incorrectly.
Unfortunately I couldn't really track down its cause yet :(

Usually when hovering over a function call the ddoc output is correct.
Then holding shift to see the source suddenly shows another function. F3 also jumps to that false one then.

Sometimes Open Declaration makes eclipse get stuck (where sometimes that extra window "operation pending" or whatever it was reading is opened, sometimes not)
July 28, 2009
Suddenly I got a StackOverflow error, maybe it's connected to those other problems.

java.lang.StackOverflowError
	at descent.internal.compiler.parser.FuncDeclaration.overloadInsert(FuncDeclaration.java:801)
	at descent.internal.compiler.parser.FuncDeclaration.overloadInsert(FuncDeclaration.java:827)


!ENTRY descent.core 4 4 2009-07-28 18:41:17.421
!MESSAGE descent.core.JavaModelException: exists(creal) [in Win32 [in file.d [in std [in D:\dmd\src\phobos]]]] does not exist
!STACK 1
Java Model Exception: Java Model Status [exists(creal) [in Win32 [in file.d [in std [in D:\dmd\src\phobos]]]] does not exist]
	at descent.internal.core.JavaElement.newNotPresentException(JavaElement.java:518)



Couldn't attach the log, so here's the full one: http://ul.to/w50etf



btw, here are some screens showing the strange errors with mixed up functions etc:

http://s2.directupload.net/file/d/1869/fzqwpdsq_jpg.htm
http://s8.directupload.net/file/d/1869/z4ecelfd_jpg.htm
July 28, 2009
Trass3r wrote:
> Suddenly I got a StackOverflow error, maybe it's connected to those other problems.
> 
> java.lang.StackOverflowError
>     at descent.internal.compiler.parser.FuncDeclaration.overloadInsert(FuncDeclaration.java:801) 
> 
>     at descent.internal.compiler.parser.FuncDeclaration.overloadInsert(FuncDeclaration.java:827) 
> 
> 
> 
> !ENTRY descent.core 4 4 2009-07-28 18:41:17.421
> !MESSAGE descent.core.JavaModelException: exists(creal) [in Win32 [in file.d [in std [in D:\dmd\src\phobos]]]] does not exist
> !STACK 1
> Java Model Exception: Java Model Status [exists(creal) [in Win32 [in file.d [in std [in D:\dmd\src\phobos]]]] does not exist]
>     at descent.internal.core.JavaElement.newNotPresentException(JavaElement.java:518) 
> 
> 
> 
> 
> Couldn't attach the log, so here's the full one: http://ul.to/w50etf
> 
> 
> 
> btw, here are some screens showing the strange errors with mixed up functions etc:
> 
> http://s2.directupload.net/file/d/1869/fzqwpdsq_jpg.htm
> http://s8.directupload.net/file/d/1869/z4ecelfd_jpg.htm

Please report these things into the bug tracket:

http://www.dsource.org/projects/descent/newticket

Thanks!
July 28, 2009
Ary Borenszweig schrieb:
> Please report these things into the bug tracket:
> 
> http://www.dsource.org/projects/descent/newticket
> 


I'd have done that, if I had managed to narrow down the problem.