This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Refactoring space - how limits are set?

Hi!

I use CCSv6.2. I have a workspace with several projects in it. 

My problem: I try to refactor (rename) a variable but the Studio renames the same var in all projects from the workspace.

How can I set the working space for refactoring exactly one project?

An interesting fact is that refactoring worked as I needed - some time ago. I don't know what have I changed in settings! At least, I know that I never used working set - I learned about it only today :)

Regards,

Yury

  • Hello Yury,

    Can you open the refactor dialog (ALT+SHIFT+R) and see what the scope for the refactor is?

    If it is set to "All projects", then it would refactor all projects in the workspace. The default should be "Related projects", which will refactor the active project.

    Thanks

    ki

  • Thank you for an answer!

    Well, it would be fine - it it worked :)

    I open dialog as you say, I see options. And "Project" is checked.

    OK! I try - and I see all projects affected...

    Regards,

    Yury

  • I was just typing a reply about how I cannot reproduce the issue.... when all of a sudden, I can reproduce the issue. This is odd.. since it was working as expected yesterday. I am investigating further....