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

allow viewing functions side-by-side #3837

Closed
Tracked by #3836
pbiggar opened this issue May 19, 2022 · 3 comments
Closed
Tracked by #3836

allow viewing functions side-by-side #3837

pbiggar opened this issue May 19, 2022 · 3 comments

Comments

@pbiggar
Copy link
Member

pbiggar commented May 19, 2022

Developers sometimes want to look at other functions, sometimes just to refer to them, but often to copy code from them.

@pbiggar
Copy link
Member Author

pbiggar commented May 19, 2022

from #3834:

Sometimes it's helpful to compare similar functions side-by-side. Efficient refactoring also benefits from visually comparing functions. Dark currently doesn't provide this ability.

@pbiggar
Copy link
Member Author

pbiggar commented May 19, 2022

From #2806:

When you're working with HTTP endpoints, REPLs, datastores, and cron's, they're all present on the same canvas and you can rearrange them, look at them next to eachother, etc.

For some reason, functions are different in that you can only look at one of them at a time.

This is a pain, because oftentimes when I'm writing a new function I'm basing it on an existing function or thinking about how it'll be used with an existing function, and I want to see them side by side.

So currently I either need to have two Darklang windows open, or just continually swap between them, which causes unnecessary work.

@pbiggar pbiggar closed this as not planned Won't fix, can't repro, duplicate, stale Mar 1, 2023
@pbiggar
Copy link
Member Author

pbiggar commented Mar 1, 2023

Closing as it doesn't apply to darklang-next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant