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 use multi-root workspaces, and the comment anchors extension works fine with those. However, I'd like there to be an easier way to link files many directories apart.
Say I have two files in two different projects each added to my multi-root workspace:
// ~/Git/xyz_project/src/client/web/state/reducers/cart.tsconstcheckout=()=>{// NOTE: See schema for more details:// LINK ../../../../../../project_abc/src/server/database/schema/cart.ts// ...}
Notice that the LINK relative path is quite long. I have a few ideas:
// Option 1: Allow a project identifier prefix that only links if the given project is part of the workspace// LINK project_abc:src/server/database/schema/cart.ts// Option 2: Support tilde home path expansion// LINK ~/Git/project_abc/src/server/database/schema/cart.ts// Option 3: Add a config option to set a base directory to search (defaults to home directory?)// In settings.json: "commentAnchors.baseDir": "~/Git"// LINK project_abc/src/server/database/schema/cart.ts
Let me know what y'all think. 😄
The text was updated successfully, but these errors were encountered:
I use multi-root workspaces, and the comment anchors extension works fine with those. However, I'd like there to be an easier way to link files many directories apart.
Say I have two files in two different projects each added to my multi-root workspace:
Notice that the
LINK
relative path is quite long. I have a few ideas:Let me know what y'all think. 😄
The text was updated successfully, but these errors were encountered: