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

        1. image-2020-03-26-12-48-13-287.png
          17 kB
          Jerome Godbout
        2. image-2020-03-26-12-49-03-406.png
          16 kB
          Jerome Godbout

        Activity

          People

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

            Dates

              Created:
              Updated: