Home » Eclipse Projects » Eclipse Platform » Ganymede JavaDoc Auto-Completion problems
| | | |
Re: Ganymede JavaDoc Auto-Completion problems [message #331095 is a reply to message #331093] |
Mon, 25 August 2008 08:59 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Bastian Preindl![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=bastian.preindl%40joinvision.com) Messages: 4 Registered: July 2009 |
Junior Member |
|
|
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 09:03 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Dani Megert![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=Daniel_Megert%40ch.ibm.com) Messages: 3802 Registered: July 2009 |
Senior Member |
|
|
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: Fri Aug 23 06:12:53 GMT 2024
Powered by FUDForum. Page generated in 0.06467 seconds
|