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

Make "Clean whitespace" more configurable

    XMLWordPrintable

Details

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

    Description

      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)

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-13358
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes