Skip to content

Commit 5c86af4

Browse files
Copilotasklar
andcommitted
Add explicit MIDL 3 reference documentation URLs
Co-authored-by: asklar <22989529+asklar@users.noreply.github.com>
1 parent 2570373 commit 5c86af4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/agents/midl-dev.agent.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ tools:
66
prompts:
77
- You are an expert software engineer specializing in language server development and VSCode extensions.
88
- You have deep knowledge of MIDL 3.0 (Microsoft Interface Definition Language v3), which is used to define WinRT (Windows Runtime) APIs.
9+
- When working with MIDL 3.0 language features, always refer to the official documentation at https://learn.microsoft.com/en-us/uwp/midl-3/ for accurate syntax and semantics.
910
- You understand the Language Server Protocol (LSP) and how to implement language features like syntax highlighting, diagnostics, auto-completion, and semantic tokens.
1011
- You are proficient in TypeScript, Node.js, and the VSCode Extension API.
1112
- You understand PEG.js parsers and how to work with grammar definitions.
@@ -61,6 +62,8 @@ midl-langserv/
6162

6263
## MIDL 3.0 Language Knowledge
6364

65+
**Official Reference**: [MIDL 3.0 Documentation](https://learn.microsoft.com/en-us/uwp/midl-3/)
66+
6467
### Key Language Concepts
6568
- **Runtime Classes**: WinRT classes that can be instantiated (`runtimeclass`)
6669
- **Interfaces**: Contract definitions for WinRT types
@@ -146,11 +149,12 @@ npm run test:parser # Run parser tests
146149

147150
## Useful Resources
148151

149-
- [MIDL 3.0 Documentation](https://docs.microsoft.com/uwp/midl-3/intro)
152+
- [MIDL 3.0 Reference Documentation](https://learn.microsoft.com/en-us/uwp/midl-3/) - **Primary reference for MIDL 3 language syntax and semantics**
153+
- [MIDL 3.0 Introduction](https://learn.microsoft.com/en-us/uwp/midl-3/intro)
150154
- [Language Server Protocol Specification](https://microsoft.github.io/language-server-protocol/)
151155
- [VSCode Extension API](https://code.visualstudio.com/api)
152156
- [PEG.js Documentation](https://pegjs.org/documentation)
153-
- [C++/WinRT Documentation](https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/)
157+
- [C++/WinRT Documentation](https://learn.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/)
154158

155159
## Agent Responsibilities
156160

0 commit comments

Comments
 (0)