You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I work on some code bases that target wasm and native targets. ~95% of the code is shared, but there are a few key modules/crates that are split using #[cfg(target_arch = "wasm32")] style attributes.
In vscode, I can have separate native.code-workspace and wasm.code-workspace files with something like
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I work on some code bases that target wasm and native targets. ~95% of the code is shared, but there are a few key modules/crates that are split using
#[cfg(target_arch = "wasm32")]
style attributes.In vscode, I can have separate
native.code-workspace
andwasm.code-workspace
files with something likeThis lets me have two different vscode workspaces open at the same time and jump between them if I need to focus on code specific to a given target.
Is there any way to accomplish something similar in zed?
I found this issue, which would give me a direct equivalent, but I'm curious if there's some other way of doing things that might work right now: Support opening .code-workspace files to open vs code type workspace directly
This also seems related:
Configure rust toolchain on a per-folder/project level
Beta Was this translation helpful? Give feedback.
All reactions