Introducing embedded code snippets
Your team can get more done when they have all of the information they need in one place. Now, you can see helpful references in issues you’re already working in…
Your team can get more done when they have all of the information they need in one place. Now, you can see helpful references in issues you’re already working in (or start a new issue) with embedded code snippets. Include the code snippets that will push your projects forward without making your team leave the conversation.
You’ll just need the permalink to specific lines you want to reference. Then, you can paste the code snippet into the place it will be most helpful.
Paste the snippet into a conversation
To add a code snippet: select the lines you want to reference, open the inline toolbar, click Copy permalink, and paste it anywhere.
Open a new issue
You can also use the toolbar to open a new issue when you select the code by clicking Open new issue.
To learn more, check out the documentation for embedded code snippets and opening issues from code.
Written by
Related posts
Announcing GitHub Secure Open Source Fund: Help secure the open source ecosystem for everyone
Applications for the new GitHub Secure Open Source Fund are now open! Applications will be reviewed on a rolling basis until they close on January 7 at 11:59 pm PT. Programming and funding will begin in early 2025.
Software is a team sport: Building the future of software development together
Microsoft and GitHub are committed to empowering developers around the world to innovate, collaborate, and create solutions that’ll shape the next generation of technology.
Does GitHub Copilot improve code quality? Here’s what the data says
Findings in our latest study show that the quality of code written with GitHub Copilot is significantly more functional, readable, reliable, maintainable, and concise.