Open inxksp opened 3 months ago
@gcampbell-msft I can reproduce the problem mentioned by the user, my search results inside the project outline support to display the file inside the file does not end with .cmake, is it project outline will not display the suffix for .cmake? if so this problem is a Feature Request.
Actual result:
The cmake file-api reply contains all the needed files:
But for some reason the VS ignores them. It looks like VS only understands CMakeLists.txt. Is there a way to add a mask for these files?
@gcampbell-msft Users would like to know if there is a way to add masks to files other than CMakelists.txt, such as files with a .cmake extension, so that they can be displayed in the project outline. Can this be accomplished?
@v-frankwang @inxksp Thanks for the request. We don't currently include these files in the Project Outline, but we are happy to consider this as a feature request and put this on our backlog. Thanks!
@gcampbell-msft Okay, I got it. Thank you very much for your reply.
Brief Issue Summary
I’m using direct CMake support from VS. But the included cmake files are not shown. Is implementation planned?
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
My simple project:
“included.cmake” not showing:
Сorrect example: QtCreator displays and collects cmake files into a separate tree - in my opinion a very good solution: