facebook

Formatting issues

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

    Fedor Losev
    Participant

    There should be an option to skip formatting the code on save if the file contains errors.

    There are many kinds of errors like missing braces that may complete break formatting on the whole file.

    (if you wonder why save file with errors, there may be many reasons; first, the AngularIDE frequently does not display all errors correctly until the file is saved, second, when working on multiple files you may want to see other file errors to take a decision on a fix).

    Another issue is that broken by many errors format frequently does not go to undo as an atomic operation, CTRL+Z then restores line by line.

    Yet another very annoying issue started to happen in recent months: sometimes (frequently enough), after fixing errors, the editor still shows apparently non-existent errors. Saving the file suddenly formats a line weirdly, inserting spaces in the middle of words or alike. Fix and save – this happens again. The only cure, in this case, is to cut and paste back the offending line, then error suddenly disappears and formatting works correctly.

    • This topic was modified 6 years, 7 months ago by Fedor Losev.
    • This topic was modified 6 years, 7 months ago by Fedor Losev.
    #588016 Reply

    support-swapna
    Moderator

    Fedor,

    Sorry that you are seeing problems with formatting. I have raised an enhancement request for the dev team to support skipping of formatting when saving files with errors.

    We will keep you posted when the support is out.

    –Swapna
    Genuitec Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Formatting issues

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