Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Refactoring option is greyed out (unselectable)
Qt 6.12 LTS is out! See what's new in the release blog

Refactoring option is greyed out (unselectable)

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RobM
    wrote on last edited by
    #1

    I don't know how or why, but I can no longer Refactor any of my QML types. When I right-click to open the context menu the Refactor option is greyed out, and is un-selectable. Any idea how this might have happened? Is there some setting I might have accidentally turned off?

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vad_911
      wrote on last edited by vad_911
      #2

      I had a similar situation, I needed to create a new component 'button_Color' and move it to a new file 'button_Color.qml', I selected a block of code to transfer, pressed the right mouse button, but the item option 'refactoring' of the menuwas unavailable(gray), It was solved by accident, I move the mouse cursor to the beginning of code block 'button_Color' , Item {}, on the word 'Item', and press right button on mouse and get the menu with available item option of menu 'refactoring'

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved