Hacker News new | ask | show | jobs
by rupertdenton 1298 days ago
Hey, thanks for the comment. Another commenter also shared this plugin, looks interesting! We are trying to really help devs get on the same page fast when sharing code with one another - so the codelinks you can share via CodeLink unfurl in slack (we've got more integrations coming too) and link directly to the code in your repo or IDE. We also integrate with JetBrains which was some feedback we got from our early users.

Also some other nifty tricks we've built into CodeLink: CodeLink auto loads the lines of code in VS Code, JetBrains, GitHub, GitLab, BitBucket etc. If you don't have the repo locally, it'll check it out for you. If you're not on the right commit/branch it'll swap to it for you. If you share the link on slack, it'll unfurl the snippet there. If you've forgotten where you shared the link, you can click on the "backlinks" and load up the exact thread in Slack where you shared it.

(Bloody hell should have included this all in OP!!)

Definitely keen for feedback so appreciate yours, keep it coming!

1 comments

> If you don't have the repo locally, it'll check it out for you. If you're not on the right commit/branch it'll swap to it for you.

Does it ask to do this? Checking out a branch is not so simple, maybe I have modified files locally and don't want to stash them right now.

Yep! It does this. You'll be prompted with a popup to confirm if you want to switch branches. If you don't confirm it won't do anything.