facebook

Incorrect TS space auto format in some cases

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #528890 Reply

    Fedor Losev
    Participant

    Sometimes on one-liners source formatting collapses last space. This is incorrect and causes warnings.

    Example

    const x = (a: any) => {const y = 1 + 2; return 1; };
    This is correct and passes without warnings.

    Ctrl+Shift+F and it becomes:
    const x = (a: any) => {const y = 1 + 2; return 1;};
    which has space removed between ;} and causes a warning “missing whitespace”.

    I think there are other similar cases with data structures.

    #528927 Reply

    support-swapna
    Moderator

    Fedor,

    I see the problem with auto format at my end. Thank you for reporting it.
    We will keep you posted when the fix is out.

    –Swapna
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Incorrect TS space auto format in some cases

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