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

add files to pyproject overwrite it with an invalid file

    XMLWordPrintable

Details

    • Windows

    Description

      How to reproduce:

      1. Create a Qt for Python - Window project
      2. Go to File -> New file or project -> Python -> Python class
      3. Observe that main.pyproject was edited showing only the file names in project instead of in JSON style

      For example:

      • After create the project you will have a main.pyproject with this content:

                 { "files": ["main.py"]

      • After you add the new python class file, the main.pyproject will have this content:

                 main.pyproject

                 main.py

                 newclass.py

      • The correct main.pyproject content would be:

                 { "files": ["main.py", "newclass.py"]

      After that your project will not run until you edit main.pyproject manually to follow JSON style again.

      It occurs every time that you add a new file to project or rename an existing file.

      Attachments

        1. QTCREATORBUG-22393.ogv
          2.18 MB
          Cristian Maureira-Fredes
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            f-lima Fernando Lima
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes