CMakeLists.txt Refactoring

Answered

Hey jetbrains!

Thoroughly enjoying CLion, here. Thank you!

Any chance you could help me refactor my `CMakeLists.txt`s? I set a good number of variables with

```

set(MY_VAR, …)

set(CMAKE_BUILTIN_VAR, …).

```

I love being able to right-click→Refactor→Rename variables within jetbrains IDEs and it seems like these should be parse-able + rename-able within a `CMakeLists.txt`. But no refactoring is enabled for these variables.

 

Is this a doable thing?

 

Thank you for your help!

0
1 comment

Hello!

It's not supported currently. Here is the related feature request in our tracker - CPP-37884. Feel free to comment or upvote it. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.

0

Please sign in to leave a comment.