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

Python: Improve pyproject files

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Python Support
    • None

    Description

      The current definition of the .pyproject files is limited.
      The only available option is "files"

      {
          "files": ["a.py", "b.py", "c.py", ... ]
      }
      

      More options could be added to provide better support, like:

      • Interpreter location,
      • LSP client location,
      • main file,
      • Resource files,
      • UI files,
      • etc

      Complementary, at some point, the adoption of TOML files by the Python community could lead us to replace the data type. For this, we would require TOML support in Qt.
      The general idea is described here: https://git.qt.io/crmaurei/qtoml

      Attachments

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              crmaurei Cristian Maureira-Fredes
              Votes:
              6 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are 2 open Gerrit changes