Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use vscode-messenger library for communcation between views and extension #78

Open
bhufmann opened this issue Dec 19, 2022 · 1 comment · May be fixed by #299
Open

Use vscode-messenger library for communcation between views and extension #78

bhufmann opened this issue Dec 19, 2022 · 1 comment · May be fixed by #299
Assignees
Labels
enhancement New feature or request vscode-extension Something in the vscode-extension repository

Comments

@bhufmann
Copy link
Collaborator

Use vscode-messenger RPC messaging library for the VS Code extension platform [1]. This will help providing a clean way to send messages within the vscode-trace-extension components, like the extension and webviews.

Note: Don't forget to account for BigInt variables within messages, that won't be able to be sent directly with this library.

[1] https://github.com/TypeFox/vscode-messenger

@bhufmann bhufmann added enhancement New feature or request vscode-extension Something in the vscode-extension repository labels Dec 19, 2022
@dhuebner
Copy link

dhuebner commented May 4, 2023

@bhufmann
Very handy is also the Messenger Developer Tool to visualize the communication between the vscode-messenger components.
It is available as VS Code extension in marketplace.

@bhufmann bhufmann self-assigned this Jan 16, 2025
bhufmann added a commit to bhufmann/vscode-trace-extension that referenced this issue Jan 24, 2025
@bhufmann bhufmann linked a pull request Jan 24, 2025 that will close this issue
1 task
bhufmann added a commit to bhufmann/vscode-trace-extension that referenced this issue Jan 24, 2025
bhufmann added a commit to bhufmann/vscode-trace-extension that referenced this issue Jan 24, 2025
Fixes eclipse-cdt-cloud#78

Non-backwards compatible change for downstream project when registering
callbacks for webview messages. The key for the command key is changed
from `message.command` to `method.method`.

Signed-off-by: Bernd Hufmann <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request vscode-extension Something in the vscode-extension repository
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants