Coder Social home page Coder Social logo

davidmr001 / idea-gitignore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jetbrains/idea-gitignore

0.0 1.0 0.0 5.05 MB

.ignore support plugin for IntelliJ IDEA

Home Page: http://plugins.jetbrains.com/plugin/7495

License: MIT License

HTML 0.07% Java 99.60% Lex 0.33%

idea-gitignore's Introduction

.ignore v1.7.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)
  • .stylintignore (Stylint)

files in your project. It supports following JetBrains IDEs:

  • Android Studio
  • AppCode
  • CLion
  • IntelliJ IDEA
  • PhpStorm
  • PyCharm
  • RubyMine
  • WebStorm
  • DataGrip

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.7.5 (2017-02-14)

Full Changelog

Implemented enhancements:

  • Hide ignored files and directories in the project tree view
  • Indicate that parent contains extra elements if children are hidden
  • Dialog box that allows to untrack ignored files (performs git rm --cached command)
  • Untrack files dialog invoked automatically + from Project view context menu
  • Stylint (.stylintignore) support #279
  • Project Tree View coloring refactoring (performance)

Fixed bugs:

  • Fixed colors for tracked and ignored files, additional info label is implemented #296 #295 #284
  • IllegalArgumentException on IDEA startup #302
  • File of UntrackFilesDialog.createDirectoryNodes must not be null #307 #309
  • NoSuchFieldError: GRAYED_SMALL_ATTRIBUTES #305
  • Ignored entries coloring #304 #301
  • ClassNotFoundException: mobi.hsz.idea.gitignore.FilesIndexCacheProjectComponent #297
  • Assertion failed: Registering post-startup activity that will never be run #290
  • Component name collision: UpdateComponent #289
  • Ignore Files Support pane scrollbar issue #286
  • Outer ignore file panel now has max height rule #257
  • Properly coloring of subdirectories #255
  • Setting "Enable ignoring" does not really work #298

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) 2017 hsz Jakub Chrzanowski. See the LICENSE file for license rights and limitations (MIT).

idea-gitignore's People

Contributors

bedla avatar danpfe avatar haehnchen avatar hho avatar hsz avatar king2500 avatar mathben avatar vandalkvist avatar zolotov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.