DEV Community

Eelco Verbrugge
Eelco Verbrugge

Posted on

Pair programming in PHPStorm

What is pair programming

According to wikipedia: Pair programming is an agile software development technique in which two programmers work together at one workstation.

Best said: you and your colleague program together at the same time. Wether you sit next to each other or do this online, the idea is you switch roles now and then so you both programmed a part of the code. One is coding and the other will help you while you write your code and both players think out loud.

Like drivers in a rally car:

Why would you pair program

For many reasons:

  • Problems are better solved, code quality increases
  • Your code is being reviewed on the go
  • Better ideas by talking through your ideas and solutions
  • Learning from each other when having different approaches

How to pair program in PHPStorm

Of course you can share your screen and pair program, but I prefer doing so via PHPStorm and this is how to:

  1. Start a session

Image description

  1. Access control
    Image description

  2. Accept
    Image description

  3. Send url for invitation

CongratS! You are officially pair programming now

Bonus: follow your colleague

When a sessions is running, you can easily follow each other by clicking on the name of your colleague. It should color your window and say something like "Following colleague..."

Image description

Checkout the documentation for more info and how to setup your session from the start (https://www.jetbrains.com/help/idea/code-with-me.html#start-guest)[https://www.jetbrains.com/help/idea/code-with-me.html#start-guest]

Image of Bright Data

Feed Your Models Real-Time Data – Enhance your AI with up-to-the-minute data.

Utilize our live data feeds for dynamic model training, ensuring your AI systems are always ahead.

Access Real-Time Data

Top comments (0)

Image of Bright Data

High-Quality Data for AI – Access diverse datasets ready for your ML models.

Browse our extensive library of pre-collected datasets tailored for various AI and ML projects.

Explore Datasets

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay