### Install EditorConfig Go Core Source: https://editorconfig.org/2016/07/18/go-core-released Installs the EditorConfig core library for Go, enabling parsing and creation of EditorConfig files. It is recommended to use the gopkg.in import path for stability. ```go go get -v -u gopkg.in/editorconfig/editorconfig-core-go.v1 ``` -------------------------------- ### EditorConfig Example File Source: https://editorconfig.org/index An example .editorconfig file demonstrating how to set coding styles such as end-of-line, indentation, and charset for different file types and directories. It follows INI format with filepath globs for section matching. ```editorconfig # EditorConfig is awesome: https://editorconfig.org # top-most EditorConfig file root = true # Unix-style newlines with a newline ending every file [*] end_of_line = lf insert_final_newline = true # Matches multiple files with brace expansion notation # Set default charset [*.{js,py}] charset = utf-8 # 4 space indentation [*.py] indent_style = space indent_size = 4 # Tab indentation (no size specified) [Makefile] indent_style = tab # Indentation override for all JS under lib directory [lib/**.js] indent_style = space indent_size = 2 # Matches the exact files either package.json or .travis.yml [{package.json,.travis.yml}] indent_style = space indent_size = 2 ``` -------------------------------- ### EditorConfig Native Support Source: https://editorconfig.org/index Editors that come with built-in EditorConfig support, requiring no additional installation. ```APIDOC EditorConfig Native Support: - BBEdit - Code Crusader - CodeLite - elementary Code - EmEditor - Kangaroo - GNOME Builder - Gitea - GitHub - GitLab - GitBucket - Gogs - Helix - IntelliJ - jdTextEdit - KTextEditor - Komodo - Kakoune - MonoDevelop - Neovim - Nova - PHPStorm - PyCharm - ReSharper - Rider - RubyMine - sourcehut - SourcLair - TortoiseGit - Vim - Visual Studio Professional - WebStorm - Working Copy - Xcode - Emacs ``` -------------------------------- ### EditorConfig C Core Release Notes Source: https://editorconfig.org/2018/03/15/editorconfig-c-core-122-released Details about the release of version 0.12.2 of the EditorConfig C Core, highlighting bug fixes and the addition of pkgconfig support. ```text EditorConfig C Core 0.12.2 released 15 Mar 2018 Today we released version 0.12.2 of the [EditorConfig C Core](https://github.com/editorconfig/editorconfig-core-c/releases/tag/v0.12.2). The new version is mainly a bug fix version and adds support for pkgconfig. ``` -------------------------------- ### EditorConfig Notepad++ Plugin Release Notes Source: https://editorconfig.org/blog Announces the release of version 0.4.0 of the EditorConfig plugin for Notepad++. It provides the release date and a link to the plugin's repository on GitHub. ```APIDOC EditorConfig Notepad++ Plugin: Version: 0.4.0 Release Date: 2019-02-21 Notes: Today we released version 0.4.0 of the [Notepad++ plug-in](https://github.com/editorconfig/editorconfig-notepad-plus-plus). Link: https://editorconfig.org/2019/02/21/notepad-plugin-040-released/ ``` -------------------------------- ### EditorConfig Core C Release Notes Source: https://editorconfig.org/blog Details the release of version 0.12.2 of the EditorConfig C Core library. This includes information on the specific version and a link to the release tag on GitHub. ```APIDOC EditorConfig C Core: Version: 0.12.2 Release Date: 2018-03-15 Notes: Today we released version 0.12.2 of the [EditorConfig C Core](https://github.com/editorconfig/editorconfig-core-c/releases/tag/v0.12.2). Link: https://editorconfig.org/2018/03/15/editorconfig-c-core-122-released/ ``` -------------------------------- ### EditorConfig Documentation Links Source: https://editorconfig.org/index Provides links to documentation for various EditorConfig core libraries and related resources for developers contributing to or using EditorConfig. ```APIDOC EditorConfig Documentation: - C library documentation: http://docs.editorconfig.org - Python library documentation: http://pydocs.editorconfig.org - Java library documentation: http://javadocs.editorconfig.org - Plugin-How-To wiki page: https://github.com/editorconfig/editorconfig/wiki/Plugin-How-To ``` -------------------------------- ### EditorConfig Go Core Release Notes Source: https://editorconfig.org/blog Announces the release of the EditorConfig Go Core, indicating integration of EditorConfig with the Go programming language. ```APIDOC EditorConfig Go Core: Release Date: 2016-07-18 Notes: Editorconfig meets Go. Link: https://editorconfig.org/2016/07/18/go-core-released/ ``` -------------------------------- ### EditorConfig Notepad++ Plug-in Release Notes Source: https://editorconfig.org/2016/07/01/notepad-plugin-031-released Details the release of version 0.3.1 for the EditorConfig Notepad++ plug-in. It includes an AboutBox for version information and a link to the homepage. Support for the ANSI version of Notepad++ has been dropped. ```en Notepad++ plug-in 0.3.1 released 01 Jul 2016 Today we released version 0.3.1 of the [Notepad++ plug-in](https://github.com/editorconfig/editorconfig-notepad-plus-plus). The plug-in now adds an AboutBox to show version information and a clickable link to the homepage. Starting from this version we no longer support the ANSI version of Notepad++, whose support has been dropped since March 2012. You can download it from the [SourceForge downloads page](https://sourceforge.net/projects/editorconfig/files/EditorConfig-Notepad%2B%2B-Plugin/), or use the Notepad++ plug-in manager to get the update. ``` -------------------------------- ### EditorConfig Notepad++ Plugin Release Notes (Older) Source: https://editorconfig.org/blog Announces an older release, version 0.3.1, of the EditorConfig plugin for Notepad++. ```APIDOC EditorConfig Notepad++ Plugin: Version: 0.3.1 Release Date: 2016-07-01 Link: https://editorconfig.org/2016/07/01/notepad-plugin-031-released/ ``` -------------------------------- ### EditorConfig Headless Tool Plugins Source: https://editorconfig.org/index Build and automation tools that integrate with EditorConfig via plugins. ```APIDOC EditorConfig Headless Tool Plugins: - Apache Ant (ec4j/editorconfig-ant-tasks) - Gradle (ec4j/editorconfig-gradle-plugin) - Maven (ec4j/editorconfig-maven-plugin) ``` -------------------------------- ### Notepad++ Plugin Changelog Source: https://editorconfig.org/2019/02/21/notepad-plugin-040-released Details the changes in version 0.4.0 of the EditorConfig plugin for Notepad++. It includes bug fixes, new features like x64 build support, and improvements to existing functionality. ```APIDOC Notepad++ EditorConfig Plugin v0.4.0 Changelog: - Offer x64 build of the plugin - Issue: #9 - Convert `end_of_line` before saving - Pull Request: #26 - Add command to show current config settings - Pull Request: #23 - Keep folding state when saving the file - Pull Request: #21 - Fix property combination logic - Issue: #10 - Set syntax highlighting of the `.editorconfig` file to ini - Pull Request: #17 ``` -------------------------------- ### EditorConfig Specifications for Plugins Source: https://editorconfig.org/index Editor plugins must adhere to the EditorConfig specifications. Core libraries assist by parsing .editorconfig files and returning relevant properties. It's recommended to ignore unknown properties for forward compatibility. ```APIDOC EditorConfig Plugin Specifications: - Follow the specifications: https://spec.editorconfig.org - Use EditorConfig core libraries for parsing .editorconfig files. - Ignore unrecognized properties and property values for future compatibility. ``` -------------------------------- ### EditorConfig Core Libraries Source: https://editorconfig.org/index EditorConfig core libraries are available for various programming languages to help create editor plugins. These libraries parse .editorconfig files and provide properties to the plugin. Plugins should ignore unrecognized properties for future compatibility. ```APIDOC EditorConfig Core Libraries: - C library: https://github.com/editorconfig/editorconfig-core-c#readme - Python library: https://github.com/editorconfig/editorconfig-core-py#readme - JavaScript library: https://github.com/editorconfig/editorconfig-core-js#readme - Java libraries: EditorConfig Core Java (https://github.com/editorconfig/editorconfig-core-java#readme) and ec4j (https://github.com/ec4j/ec4j#readme) - Lua library: https://github.com/editorconfig/editorconfig-core-lua#readme - .NET library: https://github.com/editorconfig/editorconfig-core-net#readme - Ruby library: https://github.com/editorconfig/editorconfig-core-ruby - Go library: https://github.com/editorconfig/editorconfig-core-go - Rust library: https://github.com/TheDaemoness/ec4rs ``` -------------------------------- ### EditorConfig Blog and Website Source: https://editorconfig.org/2016/05/20/blog-added This entry details the technologies used for the EditorConfig website and blog, including Jekyll for static site generation and Creative Commons licensing for content. ```APIDOC Website Technology: - Jekyll: Used for creating the website and blog. Blog Post Creation: - Location: Add posts to the `_posts` subdirectory. - Documentation: Refer to Jekyll docs for post creation guidelines. - Contribution: Submit posts via pull requests to the GitHub repository. Website Licensing: - License: Creative Commons Attribution 3.0 Unported License (http://creativecommons.org/licenses/by/3.0/) Related Projects: - GitHub: https://github.com/editorconfig/ - Twitter: https://twitter.com/EditorConfig ``` -------------------------------- ### EditorConfig Supported Properties Source: https://editorconfig.org/index Lists the properties that can be configured in an .editorconfig file to enforce coding styles. These properties control indentation, line endings, character sets, and more. ```APIDOC Supported Properties: * `indent_style`: Set to `tab` or `space` for hard tabs or soft tabs. * `indent_size`: Defines indentation level width. Defaults to `tab_width` if `indent_style` is `tab`. * `tab_width`: Defines tab character width. Defaults to `indent_size`. * `end_of_line`: Controls line endings (`lf`, `cr`, `crlf`). * `charset`: Specifies character set (`latin1`, `utf-8`, `utf-8-bom`, `utf-16be`, `utf-16le`). * `trim_trailing_whitespace`: Set to `true` to remove trailing whitespace, `false` otherwise. * `insert_final_newline`: Set to `true` to ensure file ends with a newline, `false` otherwise. * `root`: Set to `true` to stop searching for `.editorconfig` files at the current file. All properties and values are case-insensitive and are lowercased upon parsing. Properties can be unset using the value `unset`. ``` -------------------------------- ### EditorConfig Editor Plugins Source: https://editorconfig.org/index Editors that require a plugin to enable EditorConfig functionality. ```APIDOC EditorConfig Editor Plugins: - AppCode (JetBrains) - Atom (sindresorhus/atom-editorconfig) - Brackets (kidwm/brackets-editorconfig) - CLion (JetBrains) - Coda (Panic Plugins) - Code::Blocks (editorconfig/editorconfig-codeblocks) - Eclipse (ncjones/editorconfig-eclipse) - Far Manager (nightroman/FarNet) - Geany (editorconfig/editorconfig-geany) - Gedit (editorconfig/editorconfig-gedit) - jEdit (editorconfig/editorconfig-jedit) - Lazarus (skalogryz/editorConfig) - Micro (10sr/editorconfig-micro) - NetBeans (welovecoding/editorconfig-netbeans) - Notepad++ (editorconfig/editorconfig-notepad-plus-plus) - Pluma (fszymanski/pluma-plugins) - Sublime Text (sindresorhus/editorconfig-sublime) - Textadept (editorconfig/editorconfig-textadept) - TextMate (Mr0grog/editorconfig-textmate) - VSCodium (EditorConfig/EditorConfig) - Visual Studio Code (EditorConfig/EditorConfig) ``` -------------------------------- ### EditorConfig Wildcard Patterns Source: https://editorconfig.org/index Defines special characters used for pattern matching in EditorConfig section names. These allow for flexible file inclusion and exclusion rules. ```APIDOC Wildcard Patterns: * `*`: Matches any string of characters, except path separators (`/`). * `**`: Matches any string of characters. * `?`: Matches any single character. * `[name]`: Matches any single character in _name_. * `[!name]`: Matches any single character not in _name_. * `{s1,s2,s3}`: Matches any of the strings given (separated by commas). (Available since EditorConfig Core 0.11.0) * `{num1..num2}`: Matches any integer numbers between _num1_ and _num2_, where num1 and num2 can be either positive or negative. Special characters can be escaped with a backslash (`\`) to prevent them from being interpreted as wildcard patterns. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.