Elffuss BraidHub

kikocis/continue public

main · 711 BRenderedRawPermalink
1# `core` rules
2
3Whenever a new protocol message is added to the `protocol/` directory, check the following:
4
5- It's type is defined correctly
6- If it is a message from webview to core or vice versa:
7 - It has been added to `core/protocol/passThrough.ts`
8 - It has been added to `extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/MessageTypes.kt`
9- It is implemented in either `core/core.ts` (for messages to the core), in a `useWebviewListener` (for messages to the gui), or in `VsCodeMessenger.ts` for VS Code or `IdeProtocolClient.kt` for JetBriains (for messages to the IDE).
10- It does not duplicate functionality from another message type that already exists.