Triplex for VS Code turns Visual Studio Code, Cursor, Windsurf, and other forks into your visual workspace, bringing the best features of Triplex for you to stay in context while coding. Get StartedGet started by opening any React component by clicking the "Open in Triplex" CodeLens action shown on top of to components. Needing inspiration? Here's some things to start with:
CommunityThere are a few online forums we recommend you join when building with Triplex.
Common QuestionsWhy is there a SharedArrayBuffer is not defined error?Visual Studio Code by default doesn't run in a secure context which means certain APIs are unavailable, like SharedArrayBuffer. To enable these APIs you need to close all instances of Visual Studio Code and then re-open with the
This flag was introduced on September 2022 (version 1.72). Why can't I open one of my components?Only components that are exported can be opened in Triplex. If you're trying to open a component that isn't exported you'll need to export it first.
Why do I get an error opening one of my components?Components are rendered by themselves alongside visual controls. This means if your components rely on global state or context there may be some work involved to get it rendering without an error. To resolve you could:
How do I reload the editor?If there's a problem and the editor has been put into an invalid state you can reload the editor by accessing the command palette via Shift + Cmd + P then selecting "Developer: Reload Webviews". If you think you've found a bug please raise an issue on GitHub. Why is Triplex slow?You might have GPU acceleration disabled. To fix:
|