facebook

Editor indentation is sometimes incorrect in nested code

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #224450 Reply

    Mork
    Participant

    I’ve noticed that sometimes when code is indented a bit the cursor jumps back before the brace.

    For example in code like this, I have:

    synchronized(this)
    {
    __

    When I hit ENTER after the brace above, the cursor jumps back to the underscore position.

    I did set up custom editor preferences, but I didn’t create anything that would explain this.

    Have you noticed this and what should I do to correct it?

    Thanks.

    — M

    #224451

    Mork
    Participant

    The code above doesn’t show the indentation correctly due to your editor on this site.

    The { appears about 4 spaces underneath the word synchronized and the undersocre is to the left of that { several spaces instead of being to the right of it or being aligned directly underneath it.

    Hope this clears up the trimming your editor did above…

    I have a screenshot, but don’t see how to include it here…

    — M

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Editor indentation is sometimes incorrect in nested code

You must be logged in to post in the forum log in