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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes