feat: add CUDA .cu/.cuh file support
Summary
- Map
.cuand.cuhfile extensions toLangCPPin language detection so clangd can provide full LSP features (definition, references, hover, diagnostics) for CUDA source files.
Context
CUDA projects using clangd as LSP backend were unable to use any tools on .cu/.cuh files because these extensions fell through to the default case, resulting in an empty languageId sent via textDocument/didOpen.
Clangd itself handles CUDA files natively, so mapping to LangCPP is sufficient to enable full support.
Test plan
- [x] Built and tested against a C++/CUDA project —
definition,references,hover, anddiagnosticsall work correctly on.cufiles
@Eimasogi FYI
Thanks for sharing. I have asked around but haven't heard any concrete plans about this. If other users see this and agree, feel free to vote and/or add comments.
The Azure architecture icons are publicly available via the official download package at https://aka.ms/architectureicons, which is a ZIP archive rather than a queryable API — this is likely why no search-capable endpoint currently exists in the Learn MCP server. The absence of a structured metadata index (e.g., a JSON manifest mapping service names to icon paths/URLs) is probably the core gap that would need to be addressed before a search tool could be implemented. The SVG/PNG assets themselves are organized by category in that package, so a static index derived from that structure could serve as the backing data source for the proposed tool. It's also worth noting that the icons have specific usage terms that any MCP implementation would need to surface or enforce.
I'll work on this. Could you assign it to me?
I'll pin a regression test (or stabilize the flake) and keep the change small.
Thanks for the information, JiwaniZakir. I'll start by looking into creating a structured metadata index from the existing package. This should help in building a search tool. I'll keep the usage terms in mind as well.
I've started looking into the existing package to create a structured metadata index. This should help in building the search tool. I'll update here as I make progress.