Refactoring option is greyed out (unselectable)
-
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? -
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'