Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13358

Make "Clean whitespace" more configurable

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 3.2.2
    • Editors
    • Windows 7x64

      On one hand, the "Clean whitespace" feature is extremely useful. On the other hand, for certain files (e.g. containing tab-separated lists), a whitespace cleanup can be fatal.

      The problem could be alleviated in one of several way:

      • Allow exceptions based on file extension
      • Make a separate "Clean whitespace" setting in the C++ section (much like is currently done with indentation) - that way, I could have source files that are clean and nice, and other files that remain exactly as opened.
      • Create a "leave trailing tabs" option (I have yet to find a use case where trailing spaces are needed - but I could be wrong)

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            davschul David Schulz
            asperamanca Robert Schimkowitsch
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes