Standalone project cannot find reference in ".td" file.
- Dominant language
- TypeScript
- Stars
- 71
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
I followed this page https://github.com/llvm/llvm-project/tree/main/mlir/examples/standalone, use "Building - Component Build" to build my out-of-tree project. I copy example/standalone to other folder as my template project and successfully configure and build it.
But the ".td" file in new folder project cannot find reference and definition in vscode. Should I specific something like include path in MLIR extension's setting? By the way, .cpp files go to definition function is ok.
1. Standalone copy to new folder cannot go to definition.

2. Standalone inside llvm-project mlir/example is ok.

Contributor guide
No contributing guide indexed for this repository
Research direction
Compare the copied out-of-tree standalone project with llvm-project/mlir/examples/standalone, focusing on the .td files and the VS Code MLIR extension behavior. Start from the extension's settings or definition-provider entry points, then verify the result by checking whether references and definitions resolve in the copied project's .td files as they do in the in-tree example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100