facebook

Bugs with Typescript indent

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

    waveywhite
    Participant

    Hi,

    I’m using Eclipse Neon and have just installed Typescript support which includes Webclipse.

    I’ve found that the indenting Typescript is buggy. I use tabs for indenting and have configured Typescript editing to have a 4 character indent and a tab width of 4 characters. I’ve also disabled “replace tabs with spaces”. However, when I press enter on an indented line, the following line is indented with the same number of spaces as there were tabs in the previous line! I have to correct the indentation for every line and I’ve enabled visible whitespace to help me keep my code clean.

    Please could the new line be indented in the same way as the previous line, whether they are tabs or spaces?

    Thanks,
    -David.

    #498280 Reply

    Brian Fernandes
    Moderator

    David,

    Thank you for your report – I agree that this is quite a frustrating bug.

    We’re working on a fix for this issue right now and it will make the next CI release of Webclipse. Will post here when available.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Bugs with Typescript indent

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