A while ago we introduced a new messaging mechanism that uses TypeScript interface and JS proxies to provide a RPC-like experience. We still had some leftover commands in the codebase, some of which were triggering some abandoned and unused code sections. This PR migrates the remaining commands to use the new RPC mechanism and cleans up dead code some of the unused commands were accessing.
We are migrating error message and open URL commands to Utils interface
We are updating relevant parts of the webview UI code to use Utils interface instead of calling into vscode API directly
We are deleting "file follow" commands and related code that was only updating some internal variables that we never used.
Test plan
Open project with IDE
Click "report issue command" (which uses open URL)
A while ago we introduced a new messaging mechanism that uses TypeScript interface and JS proxies to provide a RPC-like experience. We still had some leftover commands in the codebase, some of which were triggering some abandoned and unused code sections. This PR migrates the remaining commands to use the new RPC mechanism and cleans up dead code some of the unused commands were accessing.
Test plan