711 B
711 B
core rules
Whenever a new protocol message is added to the protocol/ directory, check the following:
- It's type is defined correctly
- If it is a message from webview to core or vice versa:
- It has been added to
core/protocol/passThrough.ts - It has been added to
extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/MessageTypes.kt
- It has been added to
- It is implemented in either
core/core.ts(for messages to the core), in auseWebviewListener(for messages to the gui), or inVsCodeMessenger.tsfor VS Code orIdeProtocolClient.ktfor JetBriains (for messages to the IDE). - It does not duplicate functionality from another message type that already exists.