#27 Validate source on request, not continuously

closed
LeO
None
5
2004-12-05
2004-10-15
Holger Friedrich
No

I would very much prefer it if I could switch off the
source validation (syntax check) completely, and invoke
it manually from some menu item, or maybe even from a
button on the tool bar.

This may be due to my running Eclipse on a remote
machine over the network, but Eclipse seems to be
continuously busy and unresponsive whenever I am
trying to type (or to highlight a portion of the source
code with the mouse) in the Epic editor. On the other
hand, when I'm done typing and would like to know if the
syntax of my finished source code is okay, the Epic
editor frequently insists on complaining about typos I
have already fixed, or about half-typed variable names it
found while launching the syntax check while I was still
typing (or trying to type, see above) that variable name.

As far as I know, Microsoft Word has its spell checker
running continuously in the background by default, but
you can switch it off, and there's a menu item to invoke
the spell checker once NOW. Maybe you could take a
page from their book and do the same for the Epic
editor's syntax check (source validation) too?

Discussion

  • LeO
    LeO
    2004-10-19

    Logged In: YES
    user_id=703323

    Did you check the options in Eclipse?

    Windows => Preferences => EPIC

    and there you could specifiy the time range when idle to
    check. And I personally guess that 3 sec. quite enough.

     
  • Logged In: YES
    user_id=963317

    Yes, I always set it to the maximum of 3 seconds. If I
    remember correctly, it was far worse with the default setting,
    you're right about that.

     
  • LeO
    LeO
    2004-10-19

    Logged In: YES
    user_id=703323

    The only thing I would agree is, to raise the maximum level
    to ...? Otherwise it would require too much of a
    design-change. Too much work (I guess, without looking
    deeper in this issue).

    If the max. level is e.g. to 3 min., then you could do it
    manually in the meantime by yourself.

     
  • Logged In: YES
    user_id=963317

    This sounds fair enough, of course.

    You'd just have to come up with a way to let users
    comfortably set the idle time to values in the current range,
    such as 400ms, otherwise everyone else might start
    complaining just because you changed this for me...

     
  • LeO
    LeO
    2004-10-19

    • assigned_to: nobody --> leo_forge
     
  • LeO
    LeO
    2004-10-19

    Logged In: YES
    user_id=703323

    I made a change to have the maximum up to 10 seconds.

    Changes will be submitted to CVS soon.

     
  • Jochen Ruehl
    Jochen Ruehl
    2004-12-05

    • status: open --> closed
     
  • Jochen Ruehl
    Jochen Ruehl
    2004-12-05

    Logged In: YES
    user_id=274815

    This will be implemented in the next version.
    Automatic syntax validation can be switched off.
    It's still possible to use F5 for syntax validation.