{"id":13455499,"url":"https://github.com/Sloeber/arduino-eclipse-plugin","last_synced_at":"2025-03-24T08:32:55.936Z","repository":{"id":1796310,"uuid":"2720287","full_name":"Sloeber/arduino-eclipse-plugin","owner":"Sloeber","description":"A plugin to make programming the arduino in eclipse easy","archived":false,"fork":false,"pushed_at":"2024-05-22T20:01:56.000Z","size":23974,"stargazers_count":413,"open_issues_count":35,"forks_count":131,"subscribers_count":55,"default_branch":"master","last_synced_at":"2024-05-22T21:27:35.630Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://eclipse.baeyens.it/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"vinicius73/palestra-apis","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sloeber.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-11-06T14:00:20.000Z","updated_at":"2024-05-30T01:05:06.666Z","dependencies_parsed_at":"2023-12-22T05:21:57.856Z","dependency_job_id":"556b4197-bbca-4312-abb2-bb21d822e74b","html_url":"https://github.com/Sloeber/arduino-eclipse-plugin","commit_stats":{"total_commits":2224,"total_committers":52,"mean_commits":42.76923076923077,"dds":"0.40557553956834536","last_synced_commit":"0076c522e385a37af0f245e2354d158bb6389a91"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sloeber%2Farduino-eclipse-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sloeber%2Farduino-eclipse-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sloeber%2Farduino-eclipse-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sloeber%2Farduino-eclipse-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sloeber","download_url":"https://codeload.github.com/Sloeber/arduino-eclipse-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221846016,"owners_count":16890722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T08:01:06.294Z","updated_at":"2025-03-24T08:32:55.930Z","avatar_url":"https://github.com/Sloeber.png","language":"Java","readme":"# Sloeber, the Arduino IDE for Eclipse                   \u003cimg style=\"float: right\" src=\"https://avatars2.githubusercontent.com/u/25158881?v=3\u0026s=200\" height=\"50\"/\u003e\r\n\r\nThe Eclipse IDE (Integrated Developement Environment) is a full featured programming editor with many fantastic features to help you code more quickly and easily. The Arduino IDE is great for what it does – but it doesn't do much to help writing, navigating and understanding your (and other people's) code.\r\n\r\nThe Sloeber IDE bridges that gap and helps move you to a more powerful development environment whilst keeping the Arduino hardware and libraries that you love (and make life simple).\r\n\r\n    Software Logic to program Open Electronic Boards in an Eclipse Runtime (SLOEBER)\r\n\r\nIt works on MS Windows, Mac OSX and Linux.\r\n\r\n# Downloads\r\nIf you are not a developer and don't want to build from sources, then there are precompiled product packages and update sites available. You can find them here on github as releases. See the details at http://baeyens.it/.\r\n\r\n# Build from source\r\nBelow are instructions on how to download and compile the source code from the command line and from eclipse.\r\nYou only need to do one.\r\n\r\n\r\n## Prerequisites\r\nPlease install [git](http://git-scm.com/downloads) and [maven](http://maven.apache.org/download.cgi).\r\n\r\nJava 17 is required.\r\n\r\nA 64-bit OS is required.\r\n\r\n\r\n## Build from the command line from source for your os and the default eclipse instance\r\n```bash\r\ngit clone https://github.com/Sloeber/arduino-eclipse-plugin sloeber\r\ncd sloeber\r\nmvn clean verify -DskipTests=true\r\n```\r\n\r\n## Running the Sloeber you just build\r\n\r\nWindows\r\n\r\n * win32x64.cmd (if you are on 64 bits windows)\r\n\r\nMac OSX and Linux\r\n\r\n * ./build_then_launch_plugin.sh\r\n\r\n\r\n## Build Options\r\n\r\nYou can control the maven build with the following profiles:\r\n\r\n* latest (default, builds against the latest versions)\r\n* SDK (builds a Sloeber you can program Sloeber in. With Java.)\r\n* win64\r\n* linux64\r\n* mac64\r\n* macm1\r\n\r\n### Examples\r\n\r\n* Build the latest version for the platform you are running on:\r\n\r\n    `mvn clean verify -PNOSDK -DskipTests=true`\r\n\r\n* Build Eclipse + Sloeber for 64-bit Windows:\r\n    `mvn clean verify -Pwin64,latest,NOSDK -DskipTests=true`\r\n\t\t\r\n* Build Eclipse + Sloeber for 64-bit Linux:\r\n    `mvn clean verify -Plinux64,latest,NOSDK -DskipTests=true`\r\n\t\t\r\n* Build the Sloeber SDK for 64-bit Windows (for Sloeber programmers):\r\n    `mvn clean verify -PSDK,win64,latest -DskipTests=true`\r\n    \r\n# Importing your build into another Eclipse\r\nIf you want to import the latest code based plugin to another Eclipse setup you have then it is possible to setup a local repository to install the plugin you have just built. Just add a local repository with location ```arduino-eclipse-plugin/io.sloeber.product/target/repository```\r\n\r\n![alt text](images_plugin_dev_setup/add_local_repository.png \"Adding a local repository\")\r\n\r\n# Developing (Improving) the Plugin\r\n * Fork the repository on GitHub (https://help.github.com/articles/fork-a-repo) for your changes. Note that your git link should look like this: https://github.com/YOUR_FORK/arduino-eclipse-plugin.git –– we will use it later.\r\n * Checkout locally\r\n * Run ```mvn clean verify -PSDK,latest -DskipTests=true``` to build\r\n\r\nAfter the build, find the Sloeber SDK product in the io.sloeber.product.sdk target directory. Unzip it somewhere in your home directory (mind you we cannot handle very long path names on windows)\r\n\r\n    Note that Sloeber itself is NOT included in the Sloeber SDK. \r\n\r\n## Install the maven PDE integration in your eclipse install.\r\nIn the menu select help-\u003einstall new software\r\nin the field work with enter: http://download.eclipse.org/releases/latest\r\nin the field below enter m2e\r\nselect m2e - pde integration\r\nselect next and finish the install\r\n\r\n\r\n\r\n## Install the projects into the SDK via the EGit interface.\r\n\r\n\r\n\u003e File → Import → Git → Projects from Git → Existing local repository\r\n\r\n* Now add the repository you just cloned \r\n* Press \"Next\".\r\n* Next\r\n* Select a wizard: Import Existing Projects\r\n* Next\r\n* Import Projects\r\n* Select all the projects\r\n* Finish\r\n\r\nAfter all it should look like this:\r\n\r\n![alt text](images_plugin_dev_setup/Imported_projects.png \"Projects imported\")\r\n\r\n## set the target platform\r\nin the menu select windows-\u003epreferences\r\nselect plugindevelopment-\u003etarget platform\r\nselect Sloeber as target platform\r\n\r\n## Set the Warning Level\r\n\r\nWe want to keep the chance of missing a problem in the code to a minimum and to keep clean and tidy code. Development is\r\naiming to keep compiler warnings to a minimum (items that show up in the Problems tab under Warnings) with specific settings.\r\nPlease change your settings from default as follows:\r\n\r\nGo to\r\n\r\n\u003e Window → Preferences → Java → Compiler → Errors/Warnings\r\n\r\nand change the following from their defaults.\r\n\r\nMy current settings are as follows:\r\n\r\n![alt text](images_plugin_dev_setup/Screenshot-Preferences1.png \"screen capture\")\r\n![alt text](images_plugin_dev_setup/Screenshot-Preferences 2.png \"screen capture\")\r\n![alt text](images_plugin_dev_setup/Screenshot-Preferences 3.png \"screen capture\")\r\n![alt text](images_plugin_dev_setup/Screenshot-Preferences 4.png \"screen capture\")\r\n![alt text](images_plugin_dev_setup/Screenshot-Preferences 5.png \"screen capture\")\r\n\r\n * Name shadowing and conflicts: Set all to Warning.\r\n * Unnecessary code: Set all to Warning.\r\n * Null analysis: Set all active (not greyed out) to Warning.\r\n * Potential programming problems: Set all to Warning.\r\n\r\n### Running Sloeber with local changes (Testing your stuff)\r\nRunning is very simple - just right click io.sloeber.core and select:\r\n\r\n\u003e Run as → Eclipse Application\r\n\r\nOR, if you'd like to debug,\r\n\r\n\u003e Debug as → Eclipse Application\r\n\r\nEclipse will launch a new workbench disabling the installed version if any, and updating it with the plugin version loaded in the current workspace.\r\n\r\n![](images_plugin_dev_setup/running_check_versions.png \"screen capture\")\r\n\r\nNow, just set up fresh again with your project settings, Preferences/Arduino, to point to IDE and private libs.\r\n\r\n\u003e New Project → Arduino → New Arduino Sketch\r\n\r\nAll should work. You can set breakpoints in the launching Eclipse if you ran as debug. Happy developing!\r\n\r\n[\u003cimg border=\"0\" style=\"border-width: 0px\" src=\"http://with-eclipse.github.io/with-eclipse-1.jpg\"\u003e](http://with-eclipse.github.io/)\r\n\r\n# FAQ\r\n## There are lots of issues in the release that seem fixed.\r\nWe close issues when they have been validated as part of the nightly. Therefore the open list no longer contains items fixed in the nightly. Known issue fixed in the last nightly can be found with this query:\r\nis:issue is:closed -label:\"status: fixed in nightly\"\r\n","funding_links":[],"categories":["Applications","应用"],"sub_categories":["Development","开发"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSloeber%2Farduino-eclipse-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSloeber%2Farduino-eclipse-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSloeber%2Farduino-eclipse-plugin/lists"}