Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A new fork for those interested in CLion Arduino development #4

Open
vsch opened this issue Nov 26, 2018 · 0 comments
Open

A new fork for those interested in CLion Arduino development #4

vsch opened this issue Nov 26, 2018 · 0 comments

Comments

@vsch
Copy link

vsch commented Nov 26, 2018

If you are interested in using CLion for Arduino development, I forked and rewrote the plugin for my use and released it as a new plugin. JetBrains Plugin Page, Project GitHub Repo

It adds Arduino and sketch and library to IDE's new project wizard instead of separate action, adds a serial port monitor tool window with auto disconnect on build option, parses boards.txt and programmers.txt to show options in dropdown lists instead of having to search for the ids in these files and edit CMakeLists.txt after creation.

Probably addresses issues #3, #2 and #1 since it is aimed at CLion 2018

Install and create Arduino CMake projects in one click with new project wizard types and view communications with the integrated serial monitor tool window.

  • Arduino Sketch and Arduino Library project types to new project wizard, with Options to select board type, cpu, programmer and port

    Screenshot_NewProject.png

  • Arduino Sketch new file action

  • Serial port monitor tool window with options to disconnect on build start and reconnect on build complete.

    Screenshot_ProjectSettings

    Screenshot_SerialMonitor

    ⚠️ Build events are only available in CLion 2018.3 (or later) so these options are disabled if you are running an earlier version of CLion.

  • Change current build parameters the Tools > Arduino Support > Change build settings. Preview changes to CMakeLists.txt before committing to them with the Show Difference button or use it to copy the desired changes to apply them manually.

    Screenshot_ChangeBuildSettings

    Screenshot_ChangeBuildDiff

  • Plugin settings (Preferences on Mac)

    Screenshot_AppSettings

    • Customize template files used for creating new projects

    • Use bundled boards.txt and programmers.txt or your own versions.

    The Show Difference button is only displayed when a valid file is selected to let you quickly see if there are differences from the bundled version.

    The Create From Bundled button is only displayed when a non-existent directory is given and it can be created. Pressing it will create the directory and populate it with the bundled templates. For layout and caveats of this directory please refer to the README.md file in that directory.

⚠️ Serial Port Monitor plugin cannot be used with Arduino Support

Both plugins use jSSC-2.8.0 serial library and only one plugin can load the native libraries. Please uninstall or disable Serial Port Monitor plugin before installing Arduino Support.

@vsch vsch changed the title A new plugin for those interested in CLion Arduino development A new fork for those interested in CLion Arduino development Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant