-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ctrl clicking functions sometimes opens includes from install space #283
Comments
Yea when building the code model it does not order the includes generated from the CMake Code Block generator is not in the same order as the PATH Environment Variable. It should not be to difficult to add a sorter that sorts the include directory using the PATH Environment Variable so follow under cursor works. |
Any chance that this will be looked at by someone? It still causes confusion and loss of work (when accidentally working in an installed file) for us. |
We use catkin tools with install space enabled (
catkin config --install
).If we have a CMakeLists.txt that installs the include directory, e.g.
This can confuse QtCreator, because now some includes are available in the
catkin_ws/src
and in thecatkin_ws/install
folder (after acatkin build
). This can be very annoying in practice, because sometimes you ctrl click in QtCreator into a header and make some edits there. After the nextcatkin build
, these edits will be overwritten again with the header from below thesrc
space. All that work will be wasted. This happened a couple of times already to me today.It would be great if we can get the QtCreator ROS Plugin to tell QtCreator to prefer the includes in src over the ones in install. Maybe a similar fix as the one in #30 will do.
If desired I can provide a minimal example that (stochastically but surely) reproduces this issue.
The text was updated successfully, but these errors were encountered: