Home » Eclipse Projects » Eclipse Platform » Ganymede JavaDoc Auto-Completion problems 
| Ganymede JavaDoc Auto-Completion problems [message #331014] | 
Thu, 21 August 2008 04:59   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi, 
 
I'm using Ganymede (Version: 3.4.0, Build id: I20080617-2000) in Mac OS  
10.4 (intel) and experience problems with the JavaDoc autocompletion: 
 
Precondition is an error- and warning-free project. I have a couple of  
methods in different class files which have no JavaDoc comments yet.  
Usually I type "/**" and RETURN to automatically create a JavaDoc  
template I just have to fill in with my comments. That's the way it  
worked in 3.3 everytime, everywhere and also in its predecessors. 
 
But in 3.4 the autocompletion fails absolutely randomly on some methods  
- I can find no logical connection between a non-working JavaDoc  
autocompletion and the class files or methods. Sometimes it works,  
sometimes it doesn't - it's not a matter of time (no restarts helps  
e.g.), only the method itself matters. 
 
"Not working" means that I type "/**" and RETURN and simply nothing  
happens, the comment isn't even closed. 
 
I have browsed the configuration dialogs up and down multiple times and  
queried the knowledge base, but I seem to be the only one facing this  
odd behaviour. 
 
Has anybody any idea what's going on here? 
 
Thank you very much in advance 
 
Bastian
 |  
 |  
  |   |   |   |  
| Re: Ganymede JavaDoc Auto-Completion problems [message #331095 is a reply to message #331093] | 
Mon, 25 August 2008 04:59    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi, 
 
some additional info (and most probably the root of all evil): 
 
I've tested it on another machine, also Ganymede, but Mac OS 10.5.4.  
Same behaviour. And it becomes even more odd: 
 
A file, having a couple of private variables and public methods, has one  
method looking like that: 
 
public Bean executeMethod(HttpMethodBase method, Bean bean) throws  
JobFinderException 
{ 
         method.setRequestHeader("Accept",  
" text/xml,application/xml,application/xhtml+xml,text/html;q=0 .9,text/plain;q=0.8,image/png,*/*;q=0.5 "); 
         method.setRequestHeader("Accept-Language",  
"de-de,de;q=0.8,en-us;q=0.5,en;q=0.3"); 
         method.setRequestHeader("Accept-Encoding", "gzip,deflate"); 
         method.setRequestHeader("Accept-Charset",  
"ISO-8859-1,utf-8;q=0.7,*;q=0.7"); 
         method.setRequestHeader("Keep-Alive", "300"); 
         method.setRequestHeader("Connection", "keep-alive"); 
         HttpClient client = new HttpClient(); 
..... 
} 
 
Autocompletion does not work here. BUT when I remove the line 
 
         method.setRequestHeader("Accept",  
" text/xml,application/xml,application/xhtml+xml,text/html;q=0 .9,text/plain;q=0.8,image/png,*/*;q=0.5 "); 
 
it works properly in the whole file. 
 
Even if I just change the line to: 
 
         method.setRequestHeader("Accept",  
" text/xml,application/xml,application/xhtml+xml,text/html;q=0 .9,text/plain;q=0.8,image/png;q=0.5 "); 
 
it works as it should. So the crux here is that the string "*/" is  
obviously confusing the - apparently very simple - algorithm for  
detecting comments (and their ends). 
 
I guess this is indeed a bug in Ganymede - what do you think? 
 
Thanks 
 
Bastian
 |  
 |  
  |  
| Re: Ganymede JavaDoc Auto-Completion problems [message #331096 is a reply to message #331095] | 
Mon, 25 August 2008 05:03   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Bastian Preindl wrote: 
> Hi, 
> 
> some additional info (and most probably the root of all evil): 
> 
> I've tested it on another machine, also Ganymede, but Mac OS 10.5.4.  
> Same behaviour. And it becomes even more odd: 
> 
> A file, having a couple of private variables and public methods, has  
> one method looking like that: 
> 
> public Bean executeMethod(HttpMethodBase method, Bean bean) throws  
> JobFinderException 
> { 
>         method.setRequestHeader("Accept",  
> " text/xml,application/xml,application/xhtml+xml,text/html;q=0 .9,text/plain;q=0.8,image/png,*/*;q=0.5 ");  
> 
>         method.setRequestHeader("Accept-Language",  
> "de-de,de;q=0.8,en-us;q=0.5,en;q=0.3"); 
>         method.setRequestHeader("Accept-Encoding", "gzip,deflate"); 
>         method.setRequestHeader("Accept-Charset",  
> "ISO-8859-1,utf-8;q=0.7,*;q=0.7"); 
>         method.setRequestHeader("Keep-Alive", "300"); 
>         method.setRequestHeader("Connection", "keep-alive"); 
>         HttpClient client = new HttpClient(); 
> .... 
> } 
> 
> Autocompletion does not work here. BUT when I remove the line 
> 
>         method.setRequestHeader("Accept",  
> " text/xml,application/xml,application/xhtml+xml,text/html;q=0 .9,text/plain;q=0.8,image/png,*/*;q=0.5 ");  
> 
> 
> it works properly in the whole file. 
> 
> Even if I just change the line to: 
> 
>         method.setRequestHeader("Accept",  
> " text/xml,application/xml,application/xhtml+xml,text/html;q=0 .9,text/plain;q=0.8,image/png;q=0.5 ");  
> 
> 
> it works as it should. So the crux here is that the string "*/" is  
> obviously confusing the - apparently very simple - algorithm for  
> detecting comments (and their ends). 
> 
> I guess this is indeed a bug in Ganymede - what do you think? 
I think that bugzilla is the right forum to report bugs ;-) 
 
Dani 
> 
> Thanks 
> 
> Bastian
 |  
 |  
  |   
Goto Forum:
 
 Current Time: Mon Nov 03 22:05:58 EST 2025 
 Powered by  FUDForum. Page generated in 0.03780 seconds  
 |