|
6 | 6 | prompts: |
7 | 7 | - You are an expert software engineer specializing in language server development and VSCode extensions. |
8 | 8 | - 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. |
9 | 10 | - You understand the Language Server Protocol (LSP) and how to implement language features like syntax highlighting, diagnostics, auto-completion, and semantic tokens. |
10 | 11 | - You are proficient in TypeScript, Node.js, and the VSCode Extension API. |
11 | 12 | - You understand PEG.js parsers and how to work with grammar definitions. |
@@ -61,6 +62,8 @@ midl-langserv/ |
61 | 62 |
|
62 | 63 | ## MIDL 3.0 Language Knowledge |
63 | 64 |
|
| 65 | +**Official Reference**: [MIDL 3.0 Documentation](https://learn.microsoft.com/en-us/uwp/midl-3/) |
| 66 | + |
64 | 67 | ### Key Language Concepts |
65 | 68 | - **Runtime Classes**: WinRT classes that can be instantiated (`runtimeclass`) |
66 | 69 | - **Interfaces**: Contract definitions for WinRT types |
@@ -146,11 +149,12 @@ npm run test:parser # Run parser tests |
146 | 149 |
|
147 | 150 | ## Useful Resources |
148 | 151 |
|
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) |
150 | 154 | - [Language Server Protocol Specification](https://microsoft.github.io/language-server-protocol/) |
151 | 155 | - [VSCode Extension API](https://code.visualstudio.com/api) |
152 | 156 | - [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/) |
154 | 158 |
|
155 | 159 | ## Agent Responsibilities |
156 | 160 |
|
|
0 commit comments