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

C++ Code Style Custom settings import - Default name of imported style name

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 15.0.0
    • None
    • fde4f4653 (master)

    Description

      If I import saved settings with the function Settings / C++ / Code Style / Import, the default in the subsequent dialogue for the name of the import code style is empty.
      Here it would be desirable if the default name was the "DisplayName" that is saved in the clang-format-file.

      Extract from clang-format file:

      <qtcreator>
       <data>
        <variable>DisplayName</variable>
        <value type="QString">VisionTeam Qt++ StyleGuide</value>
       </data>
      </qtcreator>

      Currently empty import dialog for the code style name:

      Attachments

        1. codestyle_disabled_clang_plugin.xml
          2 kB
          Stefan Glükler
        2. Hamilton VisionTeam Qt++ StyleGuide.clang-format
          2 kB
          Stefan Glükler
        3. image-2024-12-04-14-31-55-773.png
          4 kB
          Stefan Glükler
        4. image-2024-12-17-22-38-42-805.png
          67 kB
          Stefan Glükler
        5. image-2024-12-17-22-39-12-420.png
          42 kB
          Stefan Glükler
        6. image-2024-12-17-22-50-18-030.png
          78 kB
          Stefan Glükler
        For Gerrit Dashboard: QTCREATORBUG-32112
        # Subject Branch Project Status CR V

        Activity

          People

            ansemkiv Andrii Semkiv
            sgluekler Stefan Glükler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes