You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will allow us to investigate first and not overflow the Arduino-Makefile issue tracker.
Text editors
Because we are so awesome, we also provide your with 2 famous text editors configurations!
Sublime Text - SublimeClang
⚠️Note: I haven't used SublimeText for developping in C/C++ for years, so the following might not work as expected.
To code in C/C++, we highly recommend using SublimeClang, even if the plugin is not maintained anymore (this fork seems to be up-to-date). As far as we can tell, it works beautifully well and will save you a lot of time! :)
Clang plugin for Sublime Text 2 providing auto complete suggestions for C/C++/ObjC/ObjC++. It'll also optionally parse the code as it's typed and show errors and warnings.
The bare-arduino.sublime-project contains all you need to be up and running. Feel free to customize it to your needs with different flags for example.
Vim - YouCompleteMe
Vim is our default text editor and we use the incredible vim plugin YouCompleteMe for syntax checking and code completion.
YouCompleteMe is a fast, as-you-type, fuzzy-search code completion engine for Vim. It has several completion engines: an identifier-based engine that works with every programming language, a semantic, Clang-based engine that provides native semantic code completion for C/C++/Objective-C/Objective-C++ (from now on referred to as "the C-family languages"), a Jedi-based completion engine for Python, an OmniSharp-based completion engine for C# and an omnifunc-based completer that uses data from Vim's omnicomplete system to provide semantic completions for many other languages (Ruby, PHP etc.).
The .ycm_extra_conf.py file contains everything you need. It should work right out of the box on macOS and need very little modification on Linux!
Bonus - .editorconfig
To make sure everything is always formatted as you like, you can customize the .editorconfig file to suit your needs.
Help is always more than welcome. If you want to take part in this project, please, make sure you read our Contributing guidelines.
Copyright and License
The MIT License (MIT)
Copyright (c) 2014 Ladislas de Toldi - ladislas at leka dot io
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.