idea-gitignore 0,0,0 travis-ci

.ignore support plugin for IntelliJ IDEA

.ignore v1.5 Gitter Build Status Donate Donate

Version Downloads Downloads last month

Introduction

.ignore is a plugin for:

  • .gitignore (GIT),
  • .hgignore (Mercurial),
  • .npmignore (NPM),
  • .dockerignore (Docker)
  • .chefignore (Chef)
  • .cvsignore (CVS)
  • .bzrignore (Bazaar)
  • .boringignore (Darcs)
  • .mtn-ignore (Monotone)
  • ignore-glob (Fossil)
  • .jshintignore (JSHint)
  • .tfignore (Team Foundation)
  • .p4ignore (Perforce)
  • .flooignore (Floobits)
  • .eslintignore (ESLint)
  • .cfignore (Cloud Foundry)
  • .jpmignore (Jetpack)
  • .stylelintignore (StyleLint)

files in your project. It supports following JetBrains IDEs:

  • Android Studio
  • AppCode
  • CLion
  • IntelliJ IDEA
  • PhpStorm
  • PyCharm
  • RubyMine
  • WebStorm
  • 0xDBE

Compiled with Java 1.6

Features

  • Files syntax highlight
  • Coloring ignored files in the Project View
  • Gitignore templates filtering and selecting in rules generator by name and content
  • User custom templates
  • Show ignored files by specified Gitignore file (right click on .gitignore file)
  • Create file in currently selected directory
  • Generate Gitignore rules basing on GitHub's templates collection
  • Add selected file/directory to Gitignore rules from popup menu
  • Suggesting .gitignore file creation for new project
  • Entries inspection (duplicated, covered, unused, incorrect syntax, relative entries) with fix actions
  • Comments and brackets support
  • Navigation to entries in Project view
  • Renaming entries from ignore file
  • Close opened ignored files action
  • Custom user templates with import/export features

Installation

  • Using IDE built-in plugin system:
    • Preferences > Plugins > Browse repositories... > Search for ".ignore" > Install Plugin
  • Manually:
    • Download the latest release and install it manually using Preferences > Plugins > Install plugin from disk...

Restart IDE.

Usage

  1. Generate new file and templates usage

    To generate new ignore file, just click on File > New or use Alt + Insert shortcut and select .ignore file element.

    Generate new file

  2. Support for typing new rules, linking rules with matched files

    Support for typing new rules

  3. Code inspections

    Code inspections covers few cases:

    • duplicated entries (checks if entry is defined more than once)
    • covered entries - entry is covered by more general one
    • unused entries
    • incorrect syntax (regexp rules)
    • relative entries

    Code inspections

Changelog

v1.5 (2016-06-13)

Full Changelog

Implemented enhancements:

  • Create user templates with existing ignore entries
  • Favorite templates feature #236
  • Generate without comments and empty lines #229

Fixed bugs:

  • NoSuchMethodError on ContainerUtil.notNullize #232
  • Refactoring of the external executable process #233

Full Changelog History

Contribution

Check CONTRIBUTING.md file.

Compiling the source code

Since the project has been migrated to the Gradle and Gradle IntelliJ plugin, the build process is much simpler. The only thing to build the plugin is to run:

gradle build

All required dependencies like Grammar-Kit, JFlex are downloaded in the background and triggered properly during the build process. You can also test the plugin easily with running:

gradle runIdea

All of the gradle tasks can be connected to the IntelliJ debugger, so the development process is very easy.

Developed By

@hsz Jakub Chrzanowski

Contributors

Tools

I'm using Yourkit to locate and fix performance issues of BashSupport. YourKit, LLC kindly provided a free open-source license of the YourKit Java Profiler.

YourKit Java Profiler Logo

License

Copyright (c) 2016 hsz Jakub Chrzanowski. See the LICENSE file for license rights and limitations (MIT).

Related Repositories

ios-good-practices

ios-good-practices

Good ideas for iOS development, by Futurice developers. ...

dev-setup

dev-setup

Mac OS X development environment setup: Easy-to-understand instructions with au ...

androidstudio-plugins

androidstudio-plugins

Android studio 插件 ...

ios-good-practices

ios-good-practices

Good ideas for iOS development, by Futurice developers. ...

idea-multimarkdown

idea-multimarkdown

Markdown language support for IntelliJ IDEA. ...


Top Contributors

hsz zolotov bedla danpfe Haehnchen hho VanDalkvist mathben

Releases

-   v1.5 zip tar
-   v1.4.1 zip tar
-   v1.3.3 zip tar
-   v1.2 zip tar
-   v1.1.4 zip tar
-   v1.1.3 zip tar
-   v1.1.2 zip tar
-   v1.1.2-RC zip tar
-   v1.1.1 zip tar
-   v1.1 zip tar
-   v1.0.2 zip tar
-   v1.0.1 zip tar
-   v1.0 zip tar
-   v0.9 zip tar
-   v0.8.1 zip tar
-   v0.8 zip tar
-   v0.7 zip tar
-   v0.6.1 zip tar
-   v0.6 zip tar
-   v0.5.4 zip tar
-   v0.5.3 zip tar
-   v0.5.2 zip tar
-   v0.5.1 zip tar
-   v0.5 zip tar
-   v0.4 zip tar
-   v0.3.3 zip tar
-   v0.3.1 zip tar
-   v0.3 zip tar
-   v0.2.2 zip tar