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

Add a QML refactoring option for making text use qsTr()

    XMLWordPrintable

Details

    Description

      I always forget to use qsTr() when writing examples, and it's difficult to type because of the strange casing. Being able to just type:

          text: "Hello World"
      

      and then hit Alt+Enter to refactor it into the following would be really nice:

          text: qsTr("Hello World")
      

      Attachments

        Activity

          People

            mabenell Marco Benelli
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: