const__pageData=JSON.parse('{"title":"Setting up Eclipse for QMK Development","description":"","frontmatter":{},"headers":[],"relativePath":"other_eclipse.md","filePath":"other_eclipse.md"}');
const_sfc_main={name:"other_eclipse.md"};
const_hoisted_1=/* @__PURE__ */createStaticVNode('<h1id="setting-up-eclipse-for-qmk-development"tabindex="-1">SettingupEclipseforQMKDevelopment<aclass="header-anchor"href="#setting-up-eclipse-for-qmk-development"aria-label="Permalink to "Setting up Eclipse for QMK Development""></a></h1><p><ahref="https://en.wikipedia.org/wiki/Eclipse_(software)"target="_blank"rel="noreferrer">Eclipse</a>isanopen-source<ahref="https://en.wikipedia.org/wiki/Integrated_development_environment"target="_blank"rel="noreferrer">IntegratedDevelopmentEnvironment</a>(IDE)widelyusedforJavadevelopment,butwithanextensiblepluginsystemthatallowstocustomizeitforotherlanguagesandusages.</p><p>UsinganIDEsuchasEclipseprovidesmanyadvantagesoveraplaintexteditor,suchas:</p><ul><li>intelligentcodecompletion</li><li>convenientnavigationinthecode</li><li>refactoringtools</li><li>buildautomation(noneedforthecommand-line)</li><li>aGUIforGIT</li><li>staticcodeanalysis</li><li>manyothertoolssuchasdebugging,codeformatting,showingcallhierarchiesetc.</li></ul><p>Thepurposeofthispageistodocumenthowtoset-upEclipsefordevelopingAVRsoftware,andworkingontheQMKcodebase.</p><p>Notethatthisset-uphasbeentestedonUbuntu16.04onlyforthemoment.</p><h1id="prerequisites"tabindex="-1">Prerequisites<aclass="header-anchor"href="#prerequisites"aria-label="Permalinkto"Prerequisites""></a></h1><h2id="build-environment"tabindex="-1">BuildEnvironment<aclass="header-anchor"href="#build-environment"aria-label="Permalinkto"BuildEnvironment""></a></h2><p>Beforestarting,youmusthavefollowedthe<ahref="./newbs_getting_started">GettingStarted</a>sectionoftheTutorial.Inparticular,youmusthavebeenabletobuildthefirmwarewith<ahref="./newbs_building_firmware#build-your-firmware">the<code>qmkcompile</code>command</a>.</p><h2id="java"tabindex="-1">Java<aclass="header-anchor"href="#java"aria-label="Permalinkto"Java""></a></h2><p>EclipseisaJavaapplication,soyouwillneedtoinstallJava8ormorerecenttobeabletorunit.YoumaychoosebetweentheJREortheJDK,thelatterbeingusefulifyouintendtodoJavadevelopment.</p><h1id="install-eclipse-and-its-plugins"tabindex="-1">InstallEclipseandItsPlugins<aclass="header-anchor"href="#install-eclipse-and-its-plugins"aria-label="Permalinkto"InstallEclipseandItsPlugins""></a></h1><p>Eclipsecomesin<ahref="https://www.eclipse.org/downloads/eclipse-packages/"target="_blank"rel="noreferrer">severalflavours</a>dependingonthetargetusagethatyouwillhave.ThereisnopackagecomprisingtheAVRstack,sowewillneedtostartfromEclipseCDT(C/C++DevelopmentTooling)andinstallthenecessaryplugins.</p><h2id="download-and-install-eclipse-cdt"tabindex="-1">DownloadandInstallEclipseCDT<aclass="header-anchor"href="#download-and-install-eclipse-cdt"aria-label="Permalinkto"DownloadandInstallEclipseCDT""></a></h2><p>IfyoualreadyhaveEclipseCDTonyoursystem,youcanskipthisstep.Howeveritisadvisedtokeepitup-to-dateforbettersupport.</p><p>IfyouhaveanotherEclipsepackageinstalled,itisnormallypossibleto<ahref="https://eclipse.org/cdt/downloads.php"target="_blank"rel="noreferrer">installtheCDTpluginoverit</a>.Howeveritisprobablybettertoreinstallitfromscratchtokeepitlightandavoidtheclutteroftoolsthatyoudon'tneedfortheprojectsyouwillbeworkingon.</p><p>Installationisverysimple:followthe<ahref="https://eclipse.org/downloads/eclipse-packages/?show_instructions=TRUE"target="_blank"rel="noreferrer">5StepstoInstallEclipse</a>,andchoose<strong>EclipseIDEforC/C++Developers</strong>atStep3.</p><p>Alternatively,youcanalsodirectly<ahref="https://www.eclipse.org/downloads/eclipse-packages/"target="_blank"rel="noreferrer">downloadEclipseIDEforC/C++Developers</a>(<ahref