Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Eclipse "syntax error" captures spaces! How do I disable?
Eclipse "syntax error" captures spaces! How do I disable? [message #185053] Mon, 26 January 2004 15:22 Go to next message
Eclipse UserFriend
Originally posted by: beads.beadsland.com

My apologies if this is not the appropriate group to post this question, but
I've tried searching in every possible forum, and nowhere have I been able
to find a discussion of simple usability issues with the editor.

Perhaps I've developed some bad habits using non-IDE style editors, but I'm
having a very frustrating time using the Eclipse Java editor.

It seems that every time I try to type a string containing more than one
words, I have to hit the space bar twice to get a single space. On the
first space, the editor flashes an error at the bottom of the window, and
throws away the space character. Thus, if I were to try to type:

String newString = "This is a string."

I would instead get:

String newString = "Thisisastring."

in Eclipse, with flashing errors at the bottom of the screen the whole way
(unless I explicity stop to type the space character a second time at each
word boundary).

I haven't even gotten far enough into my line of code to finish it off with
a semicolon, and already its wrong because the editor is getting in the way.
This does not exactly contribute to rapid code design.

I appreciate the fact that the system is trying to assist me by pointing out
problems in the code, but I'd appreciate it a whole lot more if I could
actually finish typing without having the tool throw away characters in the
process of warning me that things are quite perfect yet.

I've experienced problems like this using VBA editors on Microsoft tools --
hence my thought that perhaps I'm just thinking about the act of 'typing' in
a way that doesn't mesh with best practices for typing code in an IDE
environment. I'm from the old-school keyboarding method -- hit key, key
appears on screen, hit key, key appears on screen. If in fact the rules of
'typing' are different when working in IDEs, then please educate me.

In any event, how do I stop this from happening, so that I can actually type
my code without fighting the assistant the whole way.

I'm using Eclipse on a WinME machine, if that makes any difference.

- Beads
Re: Eclipse "syntax error" captures spaces! How do I disable? [message #185261 is a reply to message #185053] Tue, 27 January 2004 03:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Beads Land wrote:

>My apologies if this is not the appropriate group to post this question, but
>I've tried searching in every possible forum, and nowhere have I been able
>to find a discussion of simple usability issues with the editor.
>
>Perhaps I've developed some bad habits using non-IDE style editors, but I'm
>having a very frustrating time using the Eclipse Java editor.
>
>It seems that every time I try to type a string containing more than one
>words, I have to hit the space bar twice to get a single space. On the
>first space, the editor flashes an error at the bottom of the window, and
>throws away the space character. Thus, if I were to try to type:
>
> String newString = "This is a string."
>
>I would instead get:
>
> String newString = "Thisisastring."
>
>in Eclipse, with flashing errors at the bottom of the screen the whole way
>(unless I explicity stop to type the space character a second time at each
>word boundary).
>
>
What does the error say? To me this looks as if you bound Space to some
command. Reset the key bindings and try again. If this does not work,
check the .log for errors and file a bug report.

Dani

>I haven't even gotten far enough into my line of code to finish it off with
>a semicolon, and already its wrong because the editor is getting in the way.
>This does not exactly contribute to rapid code design.
>
>I appreciate the fact that the system is trying to assist me by pointing out
>problems in the code, but I'd appreciate it a whole lot more if I could
>actually finish typing without having the tool throw away characters in the
>process of warning me that things are quite perfect yet.
>
>I've experienced problems like this using VBA editors on Microsoft tools --
>hence my thought that perhaps I'm just thinking about the act of 'typing' in
>a way that doesn't mesh with best practices for typing code in an IDE
>environment. I'm from the old-school keyboarding method -- hit key, key
>appears on screen, hit key, key appears on screen. If in fact the rules of
>'typing' are different when working in IDEs, then please educate me.
>
>In any event, how do I stop this from happening, so that I can actually type
>my code without fighting the assistant the whole way.
>
>I'm using Eclipse on a WinME machine, if that makes any difference.
>
>- Beads
>
>
>
>
>
>
>
>
Re: Eclipse "syntax error" captures spaces! How do I disable? [message #185455 is a reply to message #185053] Tue, 27 January 2004 10:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-user.jibeinc.com

Beads Land wrote:

> My apologies if this is not the appropriate group to post this question, but
> I've tried searching in every possible forum, and nowhere have I been able
> to find a discussion of simple usability issues with the editor.
>
> Perhaps I've developed some bad habits using non-IDE style editors, but I'm
> having a very frustrating time using the Eclipse Java editor.
>
> It seems that every time I try to type a string containing more than one
> words, I have to hit the space bar twice to get a single space. On the
> first space, the editor flashes an error at the bottom of the window, and
> throws away the space character. Thus, if I were to try to type:
>
> String newString = "This is a string."
>
> I would instead get:
>
> String newString = "Thisisastring."
>
> in Eclipse, with flashing errors at the bottom of the screen the whole way
> (unless I explicity stop to type the space character a second time at each
> word boundary).
>
> I haven't even gotten far enough into my line of code to finish it off with
> a semicolon, and already its wrong because the editor is getting in the way.
> This does not exactly contribute to rapid code design.
>
> I appreciate the fact that the system is trying to assist me by pointing out
> problems in the code, but I'd appreciate it a whole lot more if I could
> actually finish typing without having the tool throw away characters in the
> process of warning me that things are quite perfect yet.
>
> I've experienced problems like this using VBA editors on Microsoft tools --
> hence my thought that perhaps I'm just thinking about the act of 'typing' in
> a way that doesn't mesh with best practices for typing code in an IDE
> environment. I'm from the old-school keyboarding method -- hit key, key
> appears on screen, hit key, key appears on screen. If in fact the rules of
> 'typing' are different when working in IDEs, then please educate me.
>
> In any event, how do I stop this from happening, so that I can actually type
> my code without fighting the assistant the whole way.
>
> I'm using Eclipse on a WinME machine, if that makes any difference.

You don't say what version of Eclipse you're using, but this is
definitely not normal behavior as far as I know. I'm not too familiar
with 3.0, so I could be wrong if that's the version you're using.
Sorry I can't offer any suggestions - the behavior you describe doesn't
even sound like Eclipse to me :-)

Eric
--
Eric Rizzo
Software Architect
Jibe, Inc.
http://www.jibeinc.com
Re: Eclipse "syntax error" captures spaces! How do I disable? [message #186951 is a reply to message #185261] Thu, 29 January 2004 22:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: beads.beadsland.com

"Daniel Megert" <daniel.megert@gmx.net> wrote in message
news:bv56cj$agi$1@eclipse.org...

> What does the error say? To me this looks as if you bound Space to some
> command. Reset the key bindings and try again. If this does not work,
> check the .log for errors and file a bug report.

It varies, just now I tried and it said "No completions available." Mind
you, I have to watch very closely as it disappears almost as quickly as it
appears.

I haven't set any key bindings. I wouldn't even know how. I literally
downloaded/installed Eclipse and starting typing a Hello World program and
found that every time I tried to type out a String I hit this problem where
I'd have to hit the space bar twice to get one space. The first space is
consistently thrown away.

- Beads

> Dani
>
> >I haven't even gotten far enough into my line of code to finish it off
with
> >a semicolon, and already its wrong because the editor is getting in the
way.
> >This does not exactly contribute to rapid code design.
> >
> >I appreciate the fact that the system is trying to assist me by pointing
out
> >problems in the code, but I'd appreciate it a whole lot more if I could
> >actually finish typing without having the tool throw away characters in
the
> >process of warning me that things are quite perfect yet.
> >
> >I've experienced problems like this using VBA editors on Microsoft
tools --
> >hence my thought that perhaps I'm just thinking about the act of 'typing'
in
> >a way that doesn't mesh with best practices for typing code in an IDE
> >environment. I'm from the old-school keyboarding method -- hit key, key
> >appears on screen, hit key, key appears on screen. If in fact the rules
of
> >'typing' are different when working in IDEs, then please educate me.
> >
> >In any event, how do I stop this from happening, so that I can actually
type
> >my code without fighting the assistant the whole way.
> >
> >I'm using Eclipse on a WinME machine, if that makes any difference.
> >
> >- Beads
> >
> >
> >
> >
> >
> >
> >
> >
>
Re: Eclipse "syntax error" captures spaces! How do I disable? [message #186959 is a reply to message #185455] Thu, 29 January 2004 22:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: beads.beadsland.com

> You don't say what version of Eclipse you're using, but this is
> definitely not normal behavior as far as I know. I'm not too familiar
> with 3.0, so I could be wrong if that's the version you're using.
> Sorry I can't offer any suggestions - the behavior you describe doesn't
> even sound like Eclipse to me :-)

Eric,

I'm using 3.0.0. Build id 200312182000.

I was assuming that this was some "feature" of the IDE that I just didn't
understand how to turn-off. It seems very similar to the behavior I've
experienced using VBA tools in Microsoft products--where you can't finish
typing a line without the IDE yelling at you that the line isn't yet
syntactically correct.

But again, maybe I'm just doing something wrong. It just seems odd that I'd
be fighting the system right "out of the box".

- Beads
Re: Eclipse "syntax error" captures spaces! How do I disable? [message #187029 is a reply to message #186951] Fri, 30 January 2004 03:13 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Beads Land wrote:

>"Daniel Megert" <daniel.megert@gmx.net> wrote in message
>news:bv56cj$agi$1@eclipse.org...
>
>
>
>>What does the error say? To me this looks as if you bound Space to some
>>command. Reset the key bindings and try again. If this does not work,
>>check the .log for errors and file a bug report.
>>
>>
>
>It varies, just now I tried and it said "No completions available." Mind
>you, I have to watch very closely as it disappears almost as quickly as it
>appears.
>
>
This sounds like incremental content assist got activated and you run
into bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=49265

I suggest to use I20040121 or newer.

Dani

>I haven't set any key bindings. I wouldn't even know how. I literally
>downloaded/installed Eclipse and starting typing a Hello World program and
>found that every time I tried to type out a String I hit this problem where
>I'd have to hit the space bar twice to get one space. The first space is
>consistently thrown away.
>
>- Beads
>
>
>
>>Dani
>>
>>
>>
>>>I haven't even gotten far enough into my line of code to finish it off
>>>
>>>
>with
>
>
>>>a semicolon, and already its wrong because the editor is getting in the
>>>
>>>
>way.
>
>
>>>This does not exactly contribute to rapid code design.
>>>
>>>I appreciate the fact that the system is trying to assist me by pointing
>>>
>>>
>out
>
>
>>>problems in the code, but I'd appreciate it a whole lot more if I could
>>>actually finish typing without having the tool throw away characters in
>>>
>>>
>the
>
>
>>>process of warning me that things are quite perfect yet.
>>>
>>>I've experienced problems like this using VBA editors on Microsoft
>>>
>>>
>tools --
>
>
>>>hence my thought that perhaps I'm just thinking about the act of 'typing'
>>>
>>>
>in
>
>
>>>a way that doesn't mesh with best practices for typing code in an IDE
>>>environment. I'm from the old-school keyboarding method -- hit key, key
>>>appears on screen, hit key, key appears on screen. If in fact the rules
>>>
>>>
>of
>
>
>>>'typing' are different when working in IDEs, then please educate me.
>>>
>>>In any event, how do I stop this from happening, so that I can actually
>>>
>>>
>type
>
>
>>>my code without fighting the assistant the whole way.
>>>
>>>I'm using Eclipse on a WinME machine, if that makes any difference.
>>>
>>>- Beads
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>
>
>
>
Previous Topic:CVS issue
Next Topic:Eclipse Editor: Automatic set-in on opening brackets
Goto Forum:
  


Current Time: Wed Jun 04 11:35:04 EDT 2025

Powered by FUDForum. Page generated in 0.06963 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top