CINXE.COM

Getting started with Code With Me | IntelliJ IDEA Documentation

<!DOCTYPE html SYSTEM "about:legacy-compat"> <html lang="en-US" data-preset="contrast" data-primary-color="#307FFF"><head><link rel="canonical" href="https://www.jetbrains.com/help/idea/code-with-me.html" data-react-helmet="true"/><meta charset="UTF-8"></meta><meta name="built-on" content="2024-11-19T14:54:51.107217517"><meta name="build-number" content="865"><title>Getting started with Code With Me | IntelliJ&nbsp;IDEA Documentation</title><script type="application/json" id="virtual-toc-data">[{"id":"cwm_license","level":0,"title":"Code With Me license","anchor":"#cwm_license"},{"id":"work_host","level":0,"title":"Get started as a host","anchor":"#work_host"},{"id":"permissions","level":0,"title":"Permissions","anchor":"#permissions"},{"id":"audio_support","level":0,"title":"Audio and video calls","anchor":"#audio_support"},{"id":"start-guest","level":0,"title":"Get started as a guest","anchor":"#start-guest"},{"id":"share_and_work","level":0,"title":"Work in a shared session","anchor":"#share_and_work"},{"id":"cwm_settings","level":0,"title":"Change the session name or URL of the session server","anchor":"#cwm_settings"}]</script><script type="application/json" id="topic-shortcuts">{"ShowSettings":{"Windows":{"keystrokes":[{"keys":["mod-Control","mod-Alt","char-S"]}],"platform":"PC"},"GNOME":{"keystrokes":[{"keys":["mod-Control","mod-Alt","char-S"]}],"platform":"PC"},"KDE":{"keystrokes":[{"keys":["mod-Control","mod-Alt","char-S"]}],"platform":"PC"},"XWin":{"keystrokes":[{"keys":["mod-Control","mod-Alt","char-S"]}],"platform":"PC"},"Emacs":{"keystrokes":[{"keys":["mod-Control","mod-Alt","char-S"]}],"platform":"PC"},"NetBeans":{"keystrokes":[{"keys":["mod-Control","mod-Alt","char-S"]}],"platform":"PC"},"Eclipse":{"keystrokes":[{"keys":["mod-Control","mod-Alt","char-S"]}],"platform":"PC"},"Sublime Text":{"keystrokes":[{"keys":["mod-Control","mod-Alt","char-S"]}],"platform":"PC"},"Visual Studio":{"keystrokes":[{"keys":["mod-Control","mod-Alt","char-S"]}],"platform":"PC"},"macOS":{"keystrokes":[{"keys":["mod-Command","char-,"]}],"platform":"MAC"},"macOS System Shortcuts":{"keystrokes":[{"keys":["mod-Command","char-,"]}],"platform":"MAC"},"IntelliJ IDEA Classic (macOS)":{"keystrokes":[{"keys":["mod-Command","char-,"]}],"platform":"MAC"},"Eclipse (macOS)":{"keystrokes":[{"keys":["mod-Command","char-,"]}],"platform":"MAC"},"Sublime Text (macOS)":{"keystrokes":[{"keys":["mod-Command","char-,"]}],"platform":"MAC"},"Visual Studio (macOS)":{"keystrokes":[{"keys":["mod-Command","char-,"]}],"platform":"MAC"}}}</script><link href="https://resources.jetbrains.com/storage/help-app/v6/app.css" rel="stylesheet"><link rel="manifest" href="https://www.jetbrains.com/site.webmanifest"><meta name="msapplication-TileColor" content="#000000"><link rel="apple-touch-icon" sizes="180x180" href="https://jetbrains.com/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="https://jetbrains.com/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="https://jetbrains.com/favicon-16x16.png"><meta name="msapplication-TileImage" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-144x144.png"><meta name="msapplication-square70x70logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-70x70.png"><meta name="msapplication-square150x150logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-150x150.png"><meta name="msapplication-wide310x150logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-310x150.png"><meta name="msapplication-square310x310logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-310x310.png"><meta name="image" content="https://resources.jetbrains.com/storage/products/intellij-idea/img/meta/preview.png"><!-- Open Graph --><meta property="og:title" content="Getting started with Code With Me | IntelliJ&nbsp;IDEA"><meta property="og:description" content=""><meta property="og:image" content="https://resources.jetbrains.com/storage/products/intellij-idea/img/meta/preview.png"><meta property="og:site_name" content="IntelliJ&nbsp;IDEA Help"><meta property="og:type" content="website"><meta property="og:locale" content="en_US"><meta property="og:url" content="https://www.jetbrains.com/help/idea/code-with-me.html"><!-- End Open Graph --><!-- Twitter Card --><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content="@IntelliJIDEA"><meta name="twitter:title" content="Getting started with Code With Me | IntelliJ&nbsp;IDEA"><meta name="twitter:description" content=""><meta name="twitter:creator" content="@IntelliJIDEA"><meta name="twitter:image:src" content="https://resources.jetbrains.com/storage/products/intellij-idea/img/meta/preview.png"><!-- End Twitter Card --><!-- Schema.org WebPage --><script type="application/ld+json">{ "@context": "http://schema.org", "@type": "WebPage", "@id": "https://www.jetbrains.com/help/idea/code-with-me.html#webpage", "url": "https://www.jetbrains.com/help/idea/code-with-me.html", "name": "Getting started with Code With Me | IntelliJ IDEA", "description": "", "image": "https://resources.jetbrains.com/storage/products/intellij-idea/img/meta/preview.png", "inLanguage":"en-US" }</script><!-- End Schema.org --><!-- Schema.org WebSite --><script type="application/ld+json">{ "@type": "WebSite", "@id": "https://www.jetbrains.com/help/idea/#website", "url": "https://www.jetbrains.com/help/idea/", "name": "IntelliJ IDEA Help" }</script><!-- End Schema.org --><script> (function (w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&amp;l=' + l : ''; j.async = true; j.src = '//www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-5P98'); </script> <script src="https://resources.jetbrains.com/storage/help-app/v6/analytics.js"></script> </head><body data-id="Code_with_me" data-main-title="Getting started with Code With Me" data-article-props="{&quot;seeAlsoStyle&quot;:&quot;links&quot;}" data-template="article" data-breadcrumbs="Integrated tools"><div class="wrapper"><main class="panel _main"><header class="panel__header"><div class="container"><h3>IntelliJ&nbsp;IDEA 2024.3 Help</h3><div class="panel-trigger"></div></div></header><section class="panel__content"><div class="container"><article class="article" data-shortcut-switcher="inactive"><h1 data-toc="Code_with_me" id="Code_with_me.topic">Getting started with Code With Me</h1><div class="micro-format" data-content="{&quot;microFormat&quot;:[&quot;<p id=\&quot;-9lvef8_4\&quot;>Required for a <span class=\&quot;control\&quot; id=\&quot;-9lvef8_5\&quot;>Host</span>: the latest IntelliJ IDEA version, the <span class=\&quot;control\&quot; id=\&quot;-9lvef8_6\&quot;>Code With Me</span> enabled plugin. </p>&quot;,&quot;<p id=\&quot;-9lvef8_7\&quot;>In IntelliJ&amp;nbsp;IDEA 2021.1 and later, the Code With Me plugin is enabled by default and doesn't require manual installation. In earlier versions, starting from IntelliJ&amp;nbsp;IDEA 2020.2.1, the Code With Me plugin <a href=\&quot;https://plugins.jetbrains.com/plugin/14896-code-with-me/versions\&quot; id=\&quot;-9lvef8_8\&quot; data-external=\&quot;true\&quot; rel=\&quot;noopener noreferrer\&quot;>downloaded</a> and <a href=\&quot;https://www.jetbrains.com/help/idea/managing-plugins.html\&quot; id=\&quot;-9lvef8_9\&quot; data-external=\&quot;true\&quot; rel=\&quot;noopener noreferrer\&quot;>enabled</a>.</p>&quot;,&quot;<p id=\&quot;-9lvef8_10\&quot;>Required for a <span class=\&quot;control\&quot; id=\&quot;-9lvef8_11\&quot;>Guest</span>: an invitation link created by a host.</p>&quot;,&quot;<p id=\&quot;-9lvef8_12\&quot;>For the isolated on-premises server setup, refer to the <a href=\&quot;https://www.jetbrains.com/help/cwm/code-with-me-quick-setup.html/\&quot; id=\&quot;-9lvef8_13\&quot; data-external=\&quot;true\&quot; rel=\&quot;noopener noreferrer\&quot;>Code With Me Enterprise</a> help.</p>&quot;]}"></div><p id="-9lvef8_14"> With IntelliJ IDEA, you can use the <span class="control" id="-9lvef8_15">Code With Me</span> plugin that enables you to share your locally running project with anyone.</p><p id="-9lvef8_16">You can use <span class="control" id="-9lvef8_17">Code With Me</span> for real-time collaboration, editing code, sharing a server, and running a debugging session. Check the following video for a quick look at the session:</p><div class="video-player" id="-9lvef8_18"><object class="article__bordered-element" width="560" height="315" data-theme="light" type="application/x-shockwave-flash" data="https://www.youtube.com/v/3D4ypTcQXfc?color2=FBE9EC&amp;rel=0&amp;hd=1&amp;autoplay=0&amp;version=3&amp;modestbranding=1&amp;fs=1"></object></div><p id="-9lvef8_19">A <span class="control" id="-9lvef8_20">Code With Me</span> shared session involves the interaction between a <span class="control" id="-9lvef8_21">host</span> and one or more <span class="control" id="-9lvef8_22">guests</span>.</p><p id="-9lvef8_23">You can start a session with one of the following basic scenarios:</p><ul class="list _bullet" id="-9lvef8_24"><li class="list__item" id="-9lvef8_25"><p>You can do pair-programming, in this case you share your IDE with a single participant and either use the <a href="#full_sync" id="-9lvef8_26">Full sync</a> mode, or <a href="#follow" id="-9lvef8_27">follow</a> each other and collaborate on different parts of code. Unlike classic pair-programming where developers share a single screen and a keyboard, you can work independently and achieve the goal faster.</p></li><li class="list__item" id="-9lvef8_28"><p>You can have a teacher-students scenario where you have many participants who follow you. Let's say you need to explain a problem and show your team members different parts of your project. You can achieve that with the <a href="#force_follow" id="-9lvef8_29">Force Others to Follow You</a> mode.</p></li><li class="list__item" id="-9lvef8_30"><p>You can do simultaneous multi editing of your code with other participants. In this case, participants can quickly change the code and even work on other files of the project at the same time. However, there is a limitation on how many participants can actively type together. The limit is 5, and if it's reached, IntelliJ IDEA will display a popup suggesting to wait. Additionally, it might slow down the performance.</p></li></ul><p id="-9lvef8_31">We prepared a short video tutorial on how to start working with Code With Me:</p><div class="video-player" id="-9lvef8_32"><object class="article__bordered-element" width="600" height="338" data-theme="light" type="application/x-shockwave-flash" data="https://www.youtube.com/v/Lq0fCMCK-Yw?color2=FBE9EC&amp;rel=0&amp;hd=1&amp;autoplay=0&amp;version=3&amp;modestbranding=1&amp;fs=1"></object></div><section class="chapter"><h2 id="cwm_license" data-toc="cwm_license">Code With Me license</h2><p id="-9lvef8_33">Code With Me offers different types of subscriptions that you can choose at the <a href="https://www.jetbrains.com/code-with-me/buy/?fromIDE#personal?billing=yearly" id="-9lvef8_34" data-external="true" rel="noopener noreferrer">JetBrains</a> website.</p><p id="-9lvef8_35">If you have an active IntelliJ&nbsp;IDEA subscription or other IDE subscription (except for DataGrip and Rider), you don't need a separate Code With Me license as it's already included in the IDE's license.</p><p id="-9lvef8_36">If you have the IntelliJ&nbsp;IDEA Community edition, you have also the Community version of Code With Me license included in it.</p><p id="-9lvef8_37">Community and Ultimate editions of Code With Me license differ with the number of guests that is allowed and time limits of the Code With Me session.</p><aside class="prompt" data-type="note" data-title="" id="-9lvef8_38"><p id="-9lvef8_39">In case you have a Community edition but want to add more guests to your session or make it longer, or your IntelliJ&nbsp;IDEA license is outdated, then you can purchase a separate Premium Code With Me license.</p></aside><p id="-9lvef8_40">There are several scenarios in which you might need to activate the <span class="control" id="-9lvef8_41">Code With Me</span> license manually:</p><ul class="list _bullet" id="-9lvef8_42"><li class="list__item" id="-9lvef8_43"><p>You have an active IDE or an offline activation code and your license should be automatically applied to the Code With Me plugin. However, you if continue facing problems with the activation, activate the license <a href="#license_personal" id="-9lvef8_44">explicitly</a>.</p></li><li class="list__item" id="-9lvef8_45"><p>You have a commercial Code With Me license, and your company uses the JetBrains floating license server (FLS). In this case, you can <a href="#license_without_lobby" id="-9lvef8_46">activate the license</a> the same way you would activate the IntelliJ&nbsp;IDEA license.</p></li><li class="list__item" id="-9lvef8_47"><p>Your company has commercial Code With Me licenses placed on internal lobby server. In this case, you activate the license <a href="#license_with_lobby" id="-9lvef8_48">manually</a> additionally specifying the lobby server address.</p></li></ul><section class="procedure-steps"><h3 id="license_personal" data-toc="license_personal">Activate a personal license</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_49"><p>Get a license from the <a href="https://www.jetbrains.com/code-with-me/buy/?fromIDE#personal?billing=yearly" id="-9lvef8_50" data-external="true" rel="noopener noreferrer">JetBrains</a> website.</p></li><li class="list__item" id="-9lvef8_51"><p>In the main menu, go to <span class="menupath" id="-9lvef8_52">Help | Register</span>.</p></li><li class="list__item" id="-9lvef8_53"><p>In the <span class="control" id="-9lvef8_54">Licenses</span> dialog, select <span class="control" id="-9lvef8_56">Code With Me</span>.</p></li><li class="list__item" id="-9lvef8_57"><p>From the options on the right, select <span class="control" id="-9lvef8_58">Activate New License</span>.</p></li><li class="list__item" id="-9lvef8_60"><p id="-9lvef8_61">Depending on what IDE you have, select <span class="control" id="-9lvef8_62">JetBrains Account</span>.</p><aside class="prompt" data-type="note" data-title="" id="-9lvef8_64"><p id="-9lvef8_65">If you have an active IntelliJ&nbsp;IDEA license, you can use <span class="control" id="-9lvef8_66">Activation code</span> for activation.</p></aside></li><li class="list__item" id="-9lvef8_68"><p id="-9lvef8_69">Enter the necessary information and click <span class="control" id="-9lvef8_70">Activate</span>.</p><figure id="-9lvef8_72"><img alt="The License Activation dialog" src="https://resources.jetbrains.com/help/img/idea/2024.3/cwm_license_jb_account.png" class="article__bordered-element" title="The License Activation dialog" width="706" height="422"></figure></li></ol></section><section class="procedure-steps"><h3 id="license_without_lobby" data-toc="license_without_lobby">Activate a commercial license with Floating License Server</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_73"><p>Get a license server URL from a responsible person in your company. </p></li><li class="list__item" id="-9lvef8_74"><p>In the main menu, go to <span class="menupath" id="-9lvef8_75">Help | Register</span>.</p></li><li class="list__item" id="-9lvef8_76"><p>In the <span class="control" id="-9lvef8_77">Licenses</span> dialog, select <span class="control" id="-9lvef8_79">Code With Me</span>.</p></li><li class="list__item" id="-9lvef8_80"><p>From the options on the right, select <span class="control" id="-9lvef8_81">Activate New License</span>. </p><figure id="-9lvef8_83"><img alt="The Licenses dialog" src="https://resources.jetbrains.com/help/img/idea/2024.3/licenses_dialog_activate_new.png" class="article__bordered-element" title="The Licenses dialog" width="706" height="421"></figure></li><li class="list__item" id="-9lvef8_84"><p>From the options on the right, select <a href="https://www.jetbrains.com/help/license_server/getting_started.html" id="-9lvef8_85" data-external="true" rel="noopener noreferrer">License server</a>. </p></li><li class="list__item" id="-9lvef8_86"><p id="-9lvef8_87">Add the server address and click <span class="control" id="-9lvef8_88">Activate</span>. </p><figure id="-9lvef8_90"><img alt="The License server" src="https://resources.jetbrains.com/help/img/idea/2024.3/license_server_settings.png" class="article__bordered-element" title="The License server" width="706" height="420"></figure><aside class="prompt" data-type="note" data-title="" id="-9lvef8_91"><p id="-9lvef8_92">If you have a corporate license server with an IntelliJ&nbsp;IDEA license and you are experiencing timeout problems during the Code With Me session, your license server might be outdated (no plugins support). Contact your system administrator in order to update the license server or contact the JetBrains support (<span class="control" id="-9lvef8_93">support-int@jetbrains.com</span>).</p></aside></li></ol></section><section class="procedure-steps"><h3 id="license_with_lobby" data-toc="license_with_lobby">Manage a commercial license with a lobby server</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_94"><p>Get a lobby server URL from a responsible person in your company.</p></li><li class="list__item" id="-9lvef8_95"><p>Press <kbd id="-9lvef8_96" data-key="ShowSettings">Ctrl+Alt+S</kbd> to open settings and then select <span class="menupath" id="-9lvef8_97">Tools | Code With Me</span>.</p></li><li class="list__item" id="-9lvef8_98"><p id="-9lvef8_99">In the <span class="control" id="-9lvef8_100">Lobby server URL</span> field specify the address of the lobby server you got from your system administrator and click <span class="control" id="-9lvef8_102">OK</span> to save the changes.</p><figure id="-9lvef8_103"><img alt="Code With Me settings" src="https://resources.jetbrains.com/help/img/idea/2024.3/code_with_me_settings_lobby_server.png" class="article__bordered-element" title="Code With Me settings" width="706" height="437"></figure></li></ol></section></section><section class="chapter"><h2 id="work_host" data-toc="work_host">Get started as a host</h2><p id="-9lvef8_104">You can create a link to invite other participants to collaborate on your code using your computer as the host. You can also start a debugging session, share its state and actions.</p><section class="procedure-steps"><h3 id="invite" data-toc="invite">Create a session</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_105"><p> Make sure that the <span class="control" id="-9lvef8_106">Code With Me</span> plugin is <a href="https://www.jetbrains.com/help/idea/managing-plugins.html" id="-9lvef8_107" data-external="true" rel="noopener noreferrer">enabled</a>. </p></li><li class="list__item" id="-9lvef8_108"><p id="-9lvef8_109">On the main toolbar, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess_dark.svg" id="-9lvef8_110" title="the Code With Me icon" alt="the Code With Me icon" width="16" height="16">.</p><p id="-9lvef8_111">Alternatively, from the main menu, select <span class="menupath" id="-9lvef8_112">Tools | Code With Me</span>.</p><p id="-9lvef8_113">IntelliJ&nbsp;IDEA opens the <span class="control" id="-9lvef8_114">Code With Me</span> dialog.</p><figure id="-9lvef8_115"><img alt="Start Session" src="https://resources.jetbrains.com/help/img/idea/2024.3/cwm_enable_access.png" class="article__bordered-element" title="Start Session" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/cwm_enable_access_dark.png" width="296" height="192"></figure></li><li class="list__item" id="-9lvef8_116"><p id="-9lvef8_117">In the <span class="control" id="-9lvef8_118">Code With Me</span> dialog, click <span class="control" id="-9lvef8_119">Start Code With Me Session</span>.</p><p id="-9lvef8_121">IntelliJ&nbsp;IDEA creates a link for the session.</p><p id="-9lvef8_122">Ensure you have the intended access permissions for the guests. The <span class="control" id="-9lvef8_123">Read-only</span> permission is the default, but you can change it by selecting other options from the <a href="#permissions" id="-9lvef8_124">drop-down list</a>.</p><p id="-9lvef8_125">Click <span class="control" id="-9lvef8_126">Copy Session Link</span>.</p></li><li class="list__item" id="-9lvef8_128"><p id="-9lvef8_129">Send the link to guests. When a guest clicks the link, IntelliJ IDEA displays a popup suggesting either to accept or decline the guest. Verify that the codes for you and your guest match.</p><figure id="-9lvef8_130"><img alt="Accept Guest" src="https://resources.jetbrains.com/help/img/idea/2024.3/cwm_accept_invitation.png" class="article__bordered-element" title="Accept Guest" width="460" height="149"></figure></li><li class="list__item" id="-9lvef8_131"><p id="-9lvef8_132">Click <span class="control" id="-9lvef8_133">Accept</span>. The guest joins your session and you can start collaborating. You will see an additional caret at your editor and an icon on the main toolbar indicating the active guest. </p></li></ol></section><section class="procedure-steps"><h3 id="terminate" data-toc="terminate">Terminate an active session</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_135"><p>On the main toolbar, click the <span class="control" id="-9lvef8_136">Code With Me</span> icon (<img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess_dark.svg" id="-9lvef8_138" title="the Code With Me icon" alt="the Code With Me icon" width="16" height="16">).</p></li><li class="list__item" id="-9lvef8_139"><p id="-9lvef8_140">From the list that opens, select <span class="control" id="-9lvef8_141">End Session</span>.</p><figure id="-9lvef8_143"><img alt="End Session" src="https://resources.jetbrains.com/help/img/idea/2024.3/turn_off_access_and_disconnect.png" class="article__bordered-element" title="End Session" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/turn_off_access_and_disconnect_dark.png" width="296" height="218"></figure><p id="-9lvef8_144">IntelliJ IDEA terminates the session and disables all the guests. The link also gets disabled, and you need to create a new one to start another session.</p><aside class="prompt" data-type="note" data-title="" id="-9lvef8_145"><p id="-9lvef8_146">If you exit IntelliJ IDEA without terminating the session, the shared link will be disabled.</p></aside></li></ol></section><section class="procedure-steps"><h3 id="host_settings" data-toc="host_settings">Access the host settings</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_147"><p>On the main toolbar, click <span class="control" id="-9lvef8_148">Code With Me</span> icon (<img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess_dark.svg" id="-9lvef8_150" title="the Code With Me icon" alt="the Code With Me icon" width="16" height="16">).</p></li><li class="list__item" id="-9lvef8_151"><p id="-9lvef8_152">Click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.general.settings.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.general.settings_dark.svg" id="-9lvef8_153" title="the Settings icon" alt="the Settings icon" width="16" height="16"> and from the list that opens, select <span class="control" id="-9lvef8_154">Settings</span>.</p></li></ol></section></section><section class="chapter"><h2 id="permissions" data-toc="permissions">Permissions</h2><p id="-9lvef8_155">As a host, you can configure what new guests may or may not access on your machine. For example, you can specify whether guests can edit files, use the terminal, and execute code. The permissions can be configured for the whole session or for specific guests in the session.</p><p id="-9lvef8_156">At any time during the session, guests can <a href="#request_permissions" id="-9lvef8_157">request additional permissions</a> from the host.</p><section class="procedure-steps"><h3 id="add_permissions" data-toc="add_permissions">Add permissions</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_158"><p id="-9lvef8_159">On the main toolbar, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess_dark.svg" id="-9lvef8_160" title="the Code With Me icon" alt="the Code With Me icon" width="16" height="16"> and click the permissions drop-down.</p><figure id="-9lvef8_161"><img alt="Open Permissions dialog" src="https://resources.jetbrains.com/help/img/idea/2024.3/permissions_open.png" class="article__bordered-element" title="Open Permissions dialog" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/permissions_open_dark.png" width="296" height="298"></figure><p id="-9lvef8_162">When you <a href="#invite" id="-9lvef8_163">create a session</a>, the default option <span class="control" id="-9lvef8_164">Read-only</span> is selected.</p></li><li class="list__item" id="permissions_dialog"><p id="-9lvef8_165">In the <span class="control" id="-9lvef8_166">Permissions</span> list, you can select the following options:</p><ul class="list _bullet" id="-9lvef8_167"><li class="list__item" id="-9lvef8_168"><p><span class="control" id="-9lvef8_169">Read-only</span>: This permission is default and allows guests to have view-only access to files, terminal, and run actions. However, guests can still copy and paste code from the editor. </p></li><li class="list__item" id="-9lvef8_171"><p id="-9lvef8_172"><span class="control" id="-9lvef8_173">Edit files</span>: select this permission if you want your guests to only edit files but not to access the terminal or execute code.</p><figure id="-9lvef8_175"><img alt="Edit files permissions" src="https://resources.jetbrains.com/help/img/idea/2024.3/edit_files.png" class="article__bordered-element" title="Edit files permissions" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/edit_files_dark.png" width="296" height="298"></figure><p id="-9lvef8_176">You can exclude some files from accessing.</p><p id="-9lvef8_177">Click <span class="control" id="-9lvef8_178">Manage hidden files</span> under the <span class="control" id="-9lvef8_180">Access to Files</span> field and in the <span class="control" id="-9lvef8_182">Hidden Files</span> dialog, add files that you want to exclude from access and click <span class="control" id="-9lvef8_183">OK</span>.</p></li><li class="list__item" id="-9lvef8_184"><p><span class="control" id="-9lvef8_185">Full access</span>: select this permission to give your guests full access to all files, terminal, and run actions on your machine. </p><figure id="-9lvef8_187"><img alt="Full access permissions" src="https://resources.jetbrains.com/help/img/idea/2024.3/full_access.png" class="article__bordered-element" title="Full access permissions" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/full_access_dark.png" width="296" height="292"></figure><aside class="prompt" data-type="note" data-title="" id="-9lvef8_188"><p id="-9lvef8_189">Even though full access is granted, some of the actions are not implemented for guests.</p></aside></li><li class="list__item" id="-9lvef8_190"><p id="-9lvef8_191"><span class="control" id="-9lvef8_192">Custom</span>: select this permission to customize access for guests to files, terminal, and run actions.</p><p id="-9lvef8_194">When you open the <span class="control" id="-9lvef8_195">Custom Permissions</span> dialog, the options associated with the permissions will repeat choices from the previously selected permissions. You can change them accordingly and click <span class="control" id="-9lvef8_196">Save</span>.</p><figure id="-9lvef8_197"><img alt="Custom permissions" src="https://resources.jetbrains.com/help/img/idea/2024.3/custom_permissions.png" class="article__bordered-element" title="Custom permissions" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/custom_permissions_dark.png" width="706" height="508"></figure></li></ul></li><li class="list__item" id="-9lvef8_198"><p>After you configured permissions, click <span class="control" id="-9lvef8_199">Start Session</span> if you are in the process of creating a session.</p></li></ol></section></section><section class="chapter"><h2 id="audio_support" data-toc="audio_support">Audio and video calls</h2><p id="-9lvef8_201">When you collaborate with your peers, you can chat, use audio, video calls in the session, enable screen sharing, and forward your port.</p><p id="-9lvef8_202">When a session starts, <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmEnableCall.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmEnableCall_dark.svg" id="-9lvef8_203" title="the Join Call icon" alt="the Join Call icon" width="16" height="16"> becomes available on the main toolbar, and you can use it to initiate a voice call.</p><p id="-9lvef8_204">During the session, you can manage the voice calls, camera, and screen sharing.</p><section class="procedure-steps"><h3 id="manage_call_toolbar" data-toc="manage_call_toolbar">Manage calls from the main toolbar</h3><ul class="list _bullet"><li class="list__item" id="-9lvef8_205"><p id="-9lvef8_206">Click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.general.chevronDownLarge.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.general.chevronDownLarge_dark.svg" id="-9lvef8_207" title="the More icon" alt="the More icon" width="16" height="16"> on the main toolbar to open a list of available options and select the one you need.</p><figure id="-9lvef8_208"><img alt="Call Options" src="https://resources.jetbrains.com/help/img/idea/2024.3/cwm_list_of_call_options.png" title="Call Options" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/cwm_list_of_call_options_dark.png" width="296" height="208"></figure><p id="-9lvef8_209">You can mute or unmute the microphone, enable or disable screen sharing, camera, and open the <span class="control" id="-9lvef8_210">Call</span> tool window.</p><aside class="prompt" data-type="note" data-title="" id="-9lvef8_211"><p id="-9lvef8_212">When a host leaves (<img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmDisableCall.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmDisableCall_dark.svg" id="-9lvef8_213" title="the Leave call icon" alt="the Leave call icon" width="16" height="16">) the call, other participants can still stay in the call and continue their conversation.</p></aside></li></ul></section><p id="-9lvef8_214">You can also control the call and camera in the <span class="control" id="-9lvef8_215">Call</span> tool window.</p><section class="procedure-steps"><h3 id="voice_call" data-toc="voice_call">Manage voice calls from the Code With Me tool window</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_216"><p id="-9lvef8_217">On the right toolbar, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess_dark.svg" id="-9lvef8_218" title="Code With Me" alt="Code With Me" width="16" height="16"> to open the <span class="control" id="-9lvef8_219">Code With Me</span> tool window.</p><p id="-9lvef8_220">If the tool window is hidden, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.general.chevronDownLarge.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.general.chevronDownLarge_dark.svg" id="-9lvef8_221" title="the More icon" alt="the More icon" width="16" height="16"> on the main toolbar and select <span class="control" id="-9lvef8_222">Show Call in Window</span>.</p><figure id="-9lvef8_223"><img alt="the Code With Me Call" src="https://resources.jetbrains.com/help/img/idea/2024.3/cwm_tool_window_chat.png" class="article__bordered-element" title="the Code With Me Call" width="460" height="285"></figure></li><li class="list__item" id="-9lvef8_224"><p id="-9lvef8_225">Use the control panel on the bottom of the window to perform the necessary actions.</p><figure id="-9lvef8_226"><img alt="the Call options" src="https://resources.jetbrains.com/help/img/idea/2024.3/camera_mic.png" class="article__bordered-element" title="the Call options" width="296" height="53"></figure></li></ol></section><section class="procedure-steps"><h3 id="call_settings" data-toc="call_settings">Manage call actions with Customize Toolbar</h3><p id="-9lvef8_227">You can access call actions that can be added to the main toolbar. You can also change icons for toolbar actions and remove actions from the toolbar.</p><ol class="list _decimal"><li class="list__item" id="-9lvef8_228"><p>Right-click the main toolbar and select <span class="control" id="-9lvef8_229">Customize Toolbar</span>. </p></li><li class="list__item" id="-9lvef8_230"><p>From the available options, select <span class="menupath" id="-9lvef8_231">Main Toolbar | Right | Code With Me</span>.</p></li><li class="list__item" id="-9lvef8_232"><p>Open the <span class="control" id="-9lvef8_233">Code With Me Call Actions</span> node and select the action to which you want to make changes. Click <span class="control" id="-9lvef8_234">OK</span> to save the changes. For more information on customizing toolbar, refer to <a href="customize-actions-menus-and-toolbars.html#configure-toolbar-actions" id="-9lvef8_235">Configure main toolbar actions</a>. </p></li></ol></section><section class="procedure-steps"><h3 id="share_screen" data-toc="share_screen">Share your screen with guests</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_236"><p>Make sure you are on the <a href="#audio_support" id="-9lvef8_237">call</a> with other participants.</p></li><li class="list__item" id="-9lvef8_238"><p id="-9lvef8_239">On the main toolbar, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.general.chevronDown.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.general.chevronDown_dark.svg" id="-9lvef8_240" title="the More Options icon" alt="the More Options icon" width="16" height="16"> and select <span class="control" id="-9lvef8_241">Enable Screen Sharing in Browser</span> <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app.codeWithMe.cwmScreenOn.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app.codeWithMe.cwmScreenOn_dark.svg" id="-9lvef8_242" title="the Share Screen icon" alt="the Share Screen icon" width="16" height="16"> and specify the sharing source – either a specific window or the entire screen.</p><figure id="-9lvef8_243"><img alt="Screen sharing in Browser" src="https://resources.jetbrains.com/help/img/idea/2024.3/screen_sharing.png" title="Screen sharing in Browser" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/screen_sharing_dark.png" width="296" height="196"></figure><p id="-9lvef8_244">Your screen gets shared with other participants in the session. If you want to stop the screen sharing, click the same icon again.</p></li></ol></section><p id="-9lvef8_245">If you work on a web or database project, you can give access to a port on your local machine to guests during a session.</p><p id="-9lvef8_246">The port forwarding is implemented using the <a href="https://github.com/JetBrains/rd" id="-9lvef8_247" data-external="true" rel="noopener noreferrer">RD protocol</a>. The connection between a host and guests is <a href="code-with-me-security-overview.html#data" id="-9lvef8_248">end-to-end encrypted with TLS 1.3</a>.</p><p id="-9lvef8_249">There are three communication modes between clients and the host. The mode is automatically set in the following order of priority: <span class="control" id="-9lvef8_250">Direct &gt; Peer-to-Peer &gt; Relay</span>. If one fails, the next one is selected.</p><aside class="prompt" data-type="note" data-title="" id="-9lvef8_251"><p id="-9lvef8_252">Make sure you trust the guests with whom you share your port since guests might have access to system resources during port sharing.</p><p id="-9lvef8_253">If you want to disable port forwarding, refer to the <a href="security-model.html#disable_forward" id="-9lvef8_254">Disable port forwarding</a> section.</p></aside><section class="procedure-steps"><h3 id="port_forwarding" data-toc="port_forwarding">Forward a port</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_255"><p id="-9lvef8_256">From the main menu, select <span class="menupath" id="-9lvef8_257">View | Tool Windows | Code With Me</span> to open the <span class="control" id="-9lvef8_258">Code With Me</span> tool window.</p></li><li class="list__item" id="-9lvef8_259"><p>In the <span class="control" id="-9lvef8_260">Code With Me</span> tool window, select the <span class="control" id="-9lvef8_261">Port Forwarding</span> tab.</p></li><li class="list__item" id="-9lvef8_262"><p>Click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app.expui.general.add.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app.expui.general.add_dark.svg" id="-9lvef8_263" title="the Add icon" alt="the Add icon" width="16" height="16"> to add a port.</p></li><li class="list__item" id="-9lvef8_264"><p id="-9lvef8_265">Specify your port and the protocol to use.</p><p id="-9lvef8_266">On the guest side, the port is added to the <span class="control" id="-9lvef8_267">Port Forwarding</span> tab in the <span class="control" id="-9lvef8_268">Code With Me</span> tool window and guests can access it.</p></li></ol></section></section><section class="chapter"><h2 id="start-guest" data-toc="start-guest">Get started as a guest</h2><p id="-9lvef8_269">As a guest, you can follow a host during the created session and edit the code on which the host is working. You can also follow other session participants and get access to other parts of the project. Moreover, you can run and debug code on the host's machine, and work in the <a href="terminal-emulator.html" id="-9lvef8_270" data-tooltip=" Git commands, set file permissions, and perform other…">Terminal</a> tool window if you have <a href="#request_permissions" id="-9lvef8_271">permissions</a> to do so. </p><section class="procedure-steps"><h3 id="accept" data-toc="accept">Accept an invitation</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_272"><p id="-9lvef8_273">Click the received link.</p></li><li class="list__item" id="-9lvef8_274"><p id="-9lvef8_275">The IntelliJ IDEA lightweight client application will be downloaded at the run time.</p><p id="-9lvef8_276">You don't need to have IntelliJ IDEA installed for the lightweight version to work.</p></li><li class="list__item" id="-9lvef8_277"><p id="-9lvef8_278">Once it is installed, IntelliJ IDEA displays a notification suggesting that you wait until the host accepts your request to join the session. When you are accepted, you are able to join the session. When the host’s project gets opened, you will see the active file in the editor.</p><p id="-9lvef8_279">At this point, you can customize the guest IDE to make your working process more convenient. You can change <a href="user-interface-themes.html" id="-9lvef8_280" data-tooltip="The interface theme defines the appearance of windows, dialogs, buttons, and all visual elements of the user interface.">themes</a>, <a href="ide-viewing-modes.html" id="-9lvef8_281">view modes</a>, and so on. The changes you make will only affect your guest IDE.</p><p id="-9lvef8_282">For the detailed information about JetBrains Client UI, refer to <a href="code-with-me-guest-ui-overview.html" id="-9lvef8_283">JetBrains Client UI overview</a>.</p></li></ol></section><section class="procedure-steps"><h3 id="leave_session" data-toc="leave_session">Leave a session</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_284"><p>On the main toolbar, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess_dark.svg" id="-9lvef8_285" title="the Code With Me icon" alt="the Code With Me icon" width="16" height="16">.</p></li><li class="list__item" id="-9lvef8_286"><p id="-9lvef8_287">In the dialog that opens, click <span class="control" id="-9lvef8_288">Leave Session</span>.</p><figure id="-9lvef8_289"><img alt="Leave Session" src="https://resources.jetbrains.com/help/img/idea/2024.3/cwm_close_project_guest.png" class="article__bordered-element" title="Leave Session" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/cwm_close_project_guest_dark.png" width="296" height="214"></figure><p id="-9lvef8_290">The session is terminated and the IDE closes. You can quickly return to the same session without any accepting process from the host using the same link.</p></li></ol></section><section class="chapter"><h3 id="cwm_locations_guest" data-toc="cwm_locations_guest">Guest Code With Me setup locations</h3><p id="-9lvef8_291">After you set up your work with Code With Me as a guest, you can check the following locations to see where the Code With Me distribution, logs, settings, and caches are located in your file system:</p><ul class="list _bullet" id="-9lvef8_292"><li class="list__item" id="-9lvef8_293"><p id="-9lvef8_294">The Code With Me logs:</p><div class="tabs" id="-9lvef8_295" data-anchors="[-9lvef8_296,-9lvef8_299,-9lvef8_302]"><div class="tabs__content" data-gtm="tab" id="-9lvef8_296" data-title="macOS"><p id="-9lvef8_297"><code class="code" id="-9lvef8_298">~/Library/Logs/JetBrains/&lt;product&gt;&lt;version&gt;/frontend</code></p></div><div class="tabs__content" data-gtm="tab" id="-9lvef8_299" data-title="Windows"><p id="-9lvef8_300"><code class="code" id="-9lvef8_301">%LOCALAPPDATA%\JetBrains\&lt;product&gt;&lt;version&gt;\log\frontend</code></p></div><div class="tabs__content" data-gtm="tab" id="-9lvef8_302" data-title="Linux"><p id="-9lvef8_303"><code class="code" id="-9lvef8_304">~/.cache/JetBrains/&lt;product&gt;&lt;version&gt;/log/frontend</code></p></div></div></li><li class="list__item" id="-9lvef8_305"><p id="-9lvef8_306">The Code With Me caches:</p><div class="tabs" id="-9lvef8_307" data-anchors="[-9lvef8_308,-9lvef8_311,-9lvef8_314]"><div class="tabs__content" data-gtm="tab" id="-9lvef8_308" data-title="macOS"><p id="-9lvef8_309"><code class="code" id="-9lvef8_310">~/Library/Caches/JetBrains/&lt;product&gt;&lt;version&gt;/frontend</code></p></div><div class="tabs__content" data-gtm="tab" id="-9lvef8_311" data-title="Windows"><p id="-9lvef8_312"><code class="code" id="-9lvef8_313">%LOCALAPPDATA%\JetBrains\&lt;product&gt;&lt;version&gt;\frontend</code></p></div><div class="tabs__content" data-gtm="tab" id="-9lvef8_314" data-title="Linux"><p id="-9lvef8_315"><code class="code" id="-9lvef8_316">~/.cache/JetBrains/&lt;product&gt;&lt;version&gt;/frontend</code></p></div></div></li><li class="list__item" id="-9lvef8_317"><p id="-9lvef8_318">The Code With Me settings:</p><div class="tabs" id="-9lvef8_319" data-anchors="[-9lvef8_320,-9lvef8_323,-9lvef8_326]"><div class="tabs__content" data-gtm="tab" id="-9lvef8_320" data-title="macOS"><p id="-9lvef8_321"><code class="code" id="-9lvef8_322">~/Library/Application\Support/JetBrains/&lt;product&gt;&lt;version&gt;</code></p></div><div class="tabs__content" data-gtm="tab" id="-9lvef8_323" data-title="Windows"><p id="-9lvef8_324"><code class="code" id="-9lvef8_325">%APPDATA%\Roaming\JetBrains\&lt;product&gt;&lt;version&gt;\</code></p></div><div class="tabs__content" data-gtm="tab" id="-9lvef8_326" data-title="Linux"><p id="-9lvef8_327"><code class="code" id="-9lvef8_328">~/.config/JetBrains/&lt;product&gt;&lt;version&gt;</code></p></div></div></li><li class="list__item" id="-9lvef8_329"><p id="-9lvef8_330">The Code With Me distributions and JetBrains runtime:</p><aside class="prompt" data-type="note" data-title="" id="-9lvef8_331"><p id="-9lvef8_332">There are several scenarios, in which the distributions and runtime are downloaded into 2 different folders: <span class="control" id="-9lvef8_333">JetBrainsClientDist</span> (downloads JetBrains Client from JetBrains Gateway or IntelliJ&nbsp;IDEA) and <span class="control" id="-9lvef8_334">CodeWithMeClientDist</span> (downloads JetBrains Client from a browser)</p></aside><div class="tabs" id="-9lvef8_335" data-anchors="[-9lvef8_336,-9lvef8_341,-9lvef8_346]"><div class="tabs__content" data-gtm="tab" id="-9lvef8_336" data-title="macOS"><p id="-9lvef8_337"><code class="code" id="-9lvef8_338">~/Library/Caches/JetBrains/JetBrainsClientDist</code></p><p id="-9lvef8_339"><code class="code" id="-9lvef8_340">~/Library/Caches/JetBrains/CodeWithMeClientDist</code></p></div><div class="tabs__content" data-gtm="tab" id="-9lvef8_341" data-title="Windows"><p id="-9lvef8_342"><code class="code" id="-9lvef8_343">%LOCALAPPDATA%\JetBrains\JetBrainsClientDist</code></p><p id="-9lvef8_344"><code class="code" id="-9lvef8_345">%LOCALAPPDATA%\JetBrains\CodeWithMeClientDist</code></p></div><div class="tabs__content" data-gtm="tab" id="-9lvef8_346" data-title="Linux"><p id="-9lvef8_347"><code class="code" id="-9lvef8_348">~/.cache/JetBrains/JetBrainsClientDist</code></p><p id="-9lvef8_349"><code class="code" id="-9lvef8_350">~/.cache/JetBrains/CodeWithMeClientDist</code></p></div></div></li></ul></section></section><section class="chapter"><h2 id="share_and_work" data-toc="share_and_work">Work in a shared session</h2><p id="-9lvef8_351">Once a shared session is created and all invited participants are accepted, the editor will contain the additional carets, the main toolbar will display the guests' icons, and the <span class="control" id="-9lvef8_352">Code With Me</span> tool window with the voice calls and the chat support becomes available.</p><figure id="-9lvef8_354"><img alt="Joined session: editor and the main toolbar" src="https://resources.jetbrains.com/help/img/idea/2024.3/cwm_joined_session.png" class="article__bordered-element" title="Joined session: editor and the main toolbar" width="706" height="438"></figure><p id="-9lvef8_355">In a shared session you can try different things such as move around the host's project independently, follow other participants, use the terminal tool window, make code edits, request additional permissions from a host and so on.</p><section class="procedure-steps"><h3 id="follow" data-toc="follow">Follow a participant</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_356"><p>On the main toolbar, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess_dark.svg" id="-9lvef8_357" title="the Code With Me icon" alt="the Code With Me icon" width="16" height="16">.</p></li><li class="list__item" id="-9lvef8_358"><p id="-9lvef8_359">From the list that opens, select the name of the participant you want to follow and select <span class="control" id="-9lvef8_360">Follow</span>.</p><p id="-9lvef8_362">Alternatively, on the main toolbar, click the participant's icon.</p><p id="-9lvef8_363">IntelliJ IDEA places your caret on top of the participant's caret and places a frame around the editor with a small label displaying the name of the participant you are following.</p><figure id="-9lvef8_364"><img alt="Following another participant" src="https://resources.jetbrains.com/help/img/idea/2024.3/following_and_followed.png" class="article__bordered-element" title="Following another participant" width="706" height="328"></figure><p id="-9lvef8_365">Click <span class="control" id="-9lvef8_366">Stop</span> next to the name to unfollow the participant. You can always click <span class="control" id="-9lvef8_368">Resume</span> to follow the same participant once again.</p><p id="-9lvef8_369">You can have more than one participant following other participants. When one of the followers decides to switch focus, it will not affect the main host. This is helpful in the teacher-students use case.</p></li></ol></section><section class="procedure-steps"><h3 id="force_follow" data-toc="force_follow">Force all others to follow you</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_370"><p>On the main toolbar, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess_dark.svg" id="-9lvef8_371" title="the Code With Me icon" alt="the Code With Me icon" width="16" height="16">.</p></li><li class="list__item" id="-9lvef8_372"><p id="-9lvef8_373">From the list that opens, select your profile, and <span class="control" id="-9lvef8_374">Make Everyone Follow You</span>.</p><figure id="-9lvef8_376"><img alt="Make Everyone Follow You" src="https://resources.jetbrains.com/help/img/idea/2024.3/force_to_follow_select.png" class="article__bordered-element" title="Make Everyone Follow You" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/force_to_follow_select_dark.png" width="460" height="308"></figure><p id="-9lvef8_377">In this case, all the guest carets are placed on top of the host, and the focus will switch if the main caret is placed in the other files of the project.</p><figure id="-9lvef8_378"><img alt="Make Everyone to Follow You: editor" src="https://resources.jetbrains.com/help/img/idea/2024.3/force_to_follow.png" class="article__bordered-element" title="Make Everyone to Follow You: editor" width="706" height="503"></figure><p id="-9lvef8_379">The profile icons indicate a followee and a follower. At any time, a participant can stop following the main caret.</p></li></ol></section><section class="procedure-steps"><h3 id="jump_to" data-toc="jump_to">Jump to another participant</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_380"><p>On the main toolbar, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess_dark.svg" id="-9lvef8_381" title="the Code With Me icon" alt="the Code With Me icon" width="16" height="16">.</p></li><li class="list__item" id="-9lvef8_382"><p id="-9lvef8_383">From the list that opens, click the participant's name and select <span class="control" id="-9lvef8_384">Jump To</span>.</p><p id="-9lvef8_385">Alternatively, on the main toolbar, right-click the participant's icon and select the same option.</p><figure id="-9lvef8_386"><img alt="Jump to Other Participant" src="https://resources.jetbrains.com/help/img/idea/2024.3/cwm_jump_to.png" class="article__bordered-element" title="Jump to Other Participant" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/cwm_jump_to_dark.png" width="460" height="345"></figure><p id="-9lvef8_387">The caret is placed on the line where the selected guest's caret is located. This might be helpful if you want to quickly locate a certain participant's caret.</p></li></ol></section><section class="procedure-steps"><h3 id="full_sync" data-toc="full_sync">Use the pair coding mode</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_388"><p>On the main toolbar, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess_dark.svg" id="-9lvef8_389" title="the Code With Me icon" alt="the Code With Me icon" width="16" height="16">.</p></li><li class="list__item" id="-9lvef8_390"><p id="-9lvef8_391">From the list that opens, choose the name of a participant and select <span class="control" id="-9lvef8_392">Pair Coding Mode</span>.</p><p id="-9lvef8_394">Alternatively, on the main toolbar, right-click the participant's icon and select the same option.</p><figure id="-9lvef8_395"><img alt="Pair Coding Mode" src="https://resources.jetbrains.com/help/img/idea/2024.3/full_sync_mode_select.png" class="article__bordered-element" title="Pair Coding Mode" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/full_sync_mode_select_dark.png" width="460" height="460"></figure><p id="-9lvef8_396">The caret is placed on top of the host's caret. IntelliJ IDEA places a frame around both the host's editor and the guest's editor indicating that the pair-coding mode is on.</p><figure id="-9lvef8_397"><img alt="Full Sync Mode" src="https://resources.jetbrains.com/help/img/idea/2024.3/full_sync.png" class="article__bordered-element" title="Full Sync Mode" width="706" height="493"></figure><p id="-9lvef8_398">The focus stays within the host caret even if the caret is placed in other parts of the project. This mode is usually used in the pair-programming scenario.</p></li></ol></section><section class="procedure-steps"><h3 id="kick_user" data-toc="kick_user">Terminate a shared session for a specific user</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_399"><p>On the main toolbar, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess_dark.svg" id="-9lvef8_400" title="the Code With Me icon" alt="the Code With Me icon" width="16" height="16">.</p></li><li class="list__item" id="-9lvef8_401"><p id="-9lvef8_402">From the list that opens, click a name of the participant for whom you want to terminate the session and select <span class="control" id="-9lvef8_403">Remove Guest</span>.</p><p id="-9lvef8_405">Alternatively, on the main toolbar right-click the participant's icon and select the same option.</p><figure id="-9lvef8_406"><img alt="Remove Guest" src="https://resources.jetbrains.com/help/img/idea/2024.3/kick_user.png" class="article__bordered-element" title="Remove Guest" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/kick_user_dark.png" width="460" height="459"></figure><p id="-9lvef8_407">IntelliJ IDEA terminates the session for the selected participant and displays a notification on the guest's side. IntelliJ IDEA closes the guest project and the IDE with the session.</p><p id="-9lvef8_408">If the guest wants to return to the shared session, they need to wait for the host's permission to join.</p></li></ol></section><section class="procedure-steps"><h3 id="collect_logs" data-toc="collect_logs">Collect logs for the current guest</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_409"><p>From the main menu, select <span class="control" id="-9lvef8_410">Help | Collect Host and Client Logs</span>.</p></li><li class="list__item" id="-9lvef8_411"><p id="-9lvef8_412">IntelliJ IDEA creates a log file on your local machine. The log file contains the current project's filenames, parts of code, and detailed information on the guest's activity such as caret movements, typed symbols, invoked actions, files opened, file paths, and so on.</p></li></ol></section><section class="procedure-steps"><h3 id="all_logs" data-toc="all_logs">Collect all logs in the session</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_413"><p>On the main toolbar, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app-client.expui.codeWithMe.cwmAccess_dark.svg" id="-9lvef8_414" title="the Code With Me icon" alt="the Code With Me icon" width="16" height="16">.</p></li><li class="list__item" id="-9lvef8_415"><p id="-9lvef8_416">In the list that opens, click <img src="https://resources.jetbrains.com/help/img/idea/2024.3/app.actions.more.svg" class="inline-icon-" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/app.actions.more_dark.svg" id="-9lvef8_417" title="the More button" alt="the More button" width="16" height="16"> and select <span class="control" id="-9lvef8_418">Submit an Issue</span>.</p><aside class="prompt" data-type="note" data-title="" id="-9lvef8_419"><p id="-9lvef8_420">If you are a guest, select <span class="control" id="-9lvef8_421">Submit a Bug Report</span> from the list.</p></aside><figure id="-9lvef8_422"><img alt="Submit an Issue" src="https://resources.jetbrains.com/help/img/idea/2024.3/submit_feedback.png" class="article__bordered-element" title="Submit an Issue" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/submit_feedback_dark.png" width="460" height="201"></figure></li><li class="list__item" id="-9lvef8_423"><p id="-9lvef8_424">In the dialog that opens, click <span class="control" id="-9lvef8_425">OK</span> to approve the data collection.</p><figure id="-9lvef8_426"><img alt="the Sensitive Data dialog" src="https://resources.jetbrains.com/help/img/idea/2024.3/sensitive_data.png" class="article__bordered-element" title="the Sensitive Data dialog" width="370" height="141"></figure><p id="-9lvef8_427">Once the log details are collected, they are automatically attached to the newly created issue in the <a href="https://youtrack.jetbrains.com/issues/CWM" id="-9lvef8_428" data-external="true" rel="noopener noreferrer">YouTrack system</a>.</p></li></ol></section><section class="chapter"><h3 id="request_permissions" data-toc="request_permissions">Request permissions</h3><p id="-9lvef8_429">By default, you, as a guest, are given the <span class="control" id="-9lvef8_430">Read-only</span> permissions. That means you can't edit files, add code, or work in the terminal during the session. IntelliJ&nbsp;IDEA displays a proper notification every time you try to something for which you don't have permissions. You can click the link in the notification to request additional permissions from the host.</p><section class="procedure-steps"><h3 id="edit_files" data-toc="edit_files">Request edit files permissions</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_431"><p id="-9lvef8_432">Start editing a file. When a notification appears, click the <span class="control" id="-9lvef8_433">Request to edit files</span> link.</p><figure id="-9lvef8_434"><img alt="Permissions notification" src="https://resources.jetbrains.com/help/img/idea/2024.3/guest_editor_request_permissions.png" class="article__bordered-element" title="Permissions notification" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/guest_editor_request_permissions_dark.png" width="460" height="177"></figure><p id="-9lvef8_435">As a result, the host receives a notification and can either grant the permissions or decline them.</p><figure id="-9lvef8_436"><img alt="Host notification" src="https://resources.jetbrains.com/help/img/idea/2024.3/host_notification_about_permissions_request.png" class="article__bordered-element" title="Host notification" data-dark-src="https://resources.jetbrains.com/help/img/idea/2024.3/host_notification_about_permissions_request_dark.png" width="460" height="88"></figure></li><li class="list__item" id="-9lvef8_437"><p>If the permissions are granted, a guest can edit files and the guest permissions are updated on the host side. The host can change permissions at any time during the session. From the host main menu, select the name of the guest and <span class="control" id="-9lvef8_438">Permissions</span> from the list of options and in the <a href="#permissions_dialog" id="-9lvef8_439">Edit Permissions</a> dialog, update permissions accordingly. </p></li></ol></section><p id="-9lvef8_440">To work with the terminal, run the application, or debug code, you need the full access permissions.</p><section class="procedure-steps"><h3 id="terminal_permissions" data-toc="terminal_permissions">Request full access permissions</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_441"><p id="-9lvef8_442">When you try to access actions that require the full access permissions, the appropriate notification will appear. For example, the terminal access permission.</p><figure id="-9lvef8_443"><img alt="Terminal permissions" src="https://resources.jetbrains.com/help/img/idea/2024.3/new_tab_terminal_request_permissions.png" class="article__bordered-element" title="Terminal permissions" width="706" height="221"></figure><p id="-9lvef8_444">Click the <span class="control" id="-9lvef8_445">Request full access</span> link.</p><p id="-9lvef8_446">As a result, the host receives a notification and can either grant the permissions or decline them.</p></li><li class="list__item" id="-9lvef8_447"><p id="-9lvef8_448">If permissions are granted, the whole terminal is opened and shared. A guest can access all open tabs and create the new ones.</p><p id="-9lvef8_449">The host can change permissions at any time during the session. Right-click the name of the guest and select <span class="control" id="-9lvef8_450">Permissions</span> from the list of options. In the <a href="#permissions_dialog" id="-9lvef8_451">Permissions for &lt;guest_name&gt;</a> window, update permissions accordingly.</p><aside class="prompt" data-type="note" data-title="" id="-9lvef8_452"><p id="-9lvef8_453">Any permissions other than <span class="control" id="-9lvef8_454">Full access</span> will disable the terminal for a guest.</p></aside></li></ol></section></section></section><section class="chapter"><h2 id="cwm_settings" data-toc="cwm_settings">Change the session name or URL of the session server</h2><p id="-9lvef8_455">You can change the default name of the created session using the <span class="control" id="-9lvef8_456">Code With Me</span> settings.</p><p id="-9lvef8_458">You can also change the URL of the lobby server used for a session. It might be useful to switch to your own company's server for security purposes.</p><section class="procedure-steps"><h3 id="cwm_access" data-toc="cwm_access">Access the Code With Me settings</h3><ol class="list _decimal"><li class="list__item" id="-9lvef8_459"><p>From the main menu, select <span class="control" id="-9lvef8_460">Settings | Tools | Code With Me</span></p></li><li class="list__item" id="-9lvef8_461"><p id="-9lvef8_462">In the <span class="control" id="-9lvef8_463">User name</span> field, enter the new name for your session. The session name will be changed on the restart. Clicking <span class="control" id="-9lvef8_465">Use System Name</span> will reset the session name to the default one.</p><p id="-9lvef8_467">You can change the default server URL, in the <span class="control" id="-9lvef8_468">Lobby server URL</span> field.</p><p id="-9lvef8_470">For more information, refer to the <a href="https://www.jetbrains.com/help/cwm/code-with-me-quick-setup.html" id="-9lvef8_471" data-external="true" rel="noopener noreferrer">Code With Me</a> help.</p></li><li class="list__item" id="-9lvef8_472"><p>Click <span class="control" id="-9lvef8_473">OK</span> to save the changes.</p></li></ol></section></section><div class="last-modified">Last modified: 31 October 2024</div><div data-feedback-placeholder="true"></div><div class="navigation-links _bottom"><a href="podman.html" class="navigation-links__prev">Podman</a><a href="faq-about-code-with-me.html" class="navigation-links__next">FAQ about Code With Me</a></div></article><div id="disqus_thread"></div></div></section></main></div><script src="https://resources.jetbrains.com/storage/help-app/v6/app.js"></script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10