· 2 min read

Some cool GitHub features to enhance your development experience

Hello everyone, Leonardo here!

Today we talk about GitHub and some cool features it offers to improve the context and the communication between developers, through Issues and Pull Requests.

As usual, before diving into the article, let me share the video version you can find on my YouTube channel:

These are some of the features shown in the video:

Code suggestions

With a special syntax, you can suggest code changes when commenting a Pull Request.

Everyone with write access to the repo will see a “commit” button to immediately commit the suggested change.

Code suggestions

Render labels

Yes, labels can be nicely rendered as well, here’s an example:

Rendered labels

Show details of linked issues

When you link an issue with # followed by the issue number, a link is rendered. However, if you do so in a list, the issue (or PR) is expanded and the name and the status are displayed as well.

By the way, you can mention issues with GH-[IssueNumber] as well!

Details of linked issues

Close issues automatically when PR is merged

Mentioning an issue in a PR, with some special keywords (for example closes #3 or fixes #3), will enable this cool feature. As soon as the PR is merged, the issue will be marked as closed.

If this is activated, you can see it in the bottom right corner of the Pull Request.

Closing issue

Marking an issue as duplicate

If you type Duplicate of and mention an issue, that one will be marked as duplicate and it is shown right below your comment.

Duplicate

If you want to see all of these in action plus some additional ones, you can watch them in this 3 minutes video!

If you want to support me, go watch it and leave a like ❤️


Do you know of some other cool features? Let me know in the comments!

About the author
Leonardo

Hello! My name is Leonardo and as you might have noticed, I like to talk about Web Development and Open Source!

I use GitHub every day and my favourite editor is Visual Studio Code... this might influence a little bit my conent! :D

If you like what I do, you should have a look at my YouTube Channel!

You might also like
Back to Blog