• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

JetBrains/idea-gitignore: .ignore support plugin for IntelliJ IDEA

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

JetBrains/idea-gitignore

开源软件地址:

https://github.com/JetBrains/idea-gitignore

开源编程语言:

Kotlin 99.1%

开源软件介绍:

.ignore 4.2.0

official JetBrains project Build

Version Downloads Downloads last month

Introduction

.ignore is a plugin for:

  • .bzrignore (Bazaar)
  • .chefignore (Chef)
  • .cfignore (CloudFoundry)
  • .cvsignore (Cvs)
  • .boringignore (Darcs)
  • .deployignore (DeployHQ)
  • .dockerignore (Docker)
  • .ebignore (ElasticBeanstalk)
  • .eleventyignore (Eleventy)
  • .eslintignore (ESLint)
  • .flooignore (Floobits)
  • ignore-glob (Fossil)
  • .gitignore (Git)
  • .gcloudignore (GoogleCloud)
  • .helmignore (Kubernetes Helm)
  • .jpmignore (Jetpack)
  • .jshintignore (JSHint)
  • .hgignore (Mercurial)
  • .mtn-ignore (Monotone)
  • .nodemonignore (Nodemon)
  • .npmignore (Npm)
  • .nuxtignore (NuxtJS)
  • .p4ignore (Perforce)
  • .prettierignore (Prettier)
  • .ignore (Sourcegraph)
  • .stylelintignore (StyleLint)
  • .stylintignore (Stylint)
  • .swagger-codegen-ignore (SwaggerCodegen)
  • .tfignore (TF)
  • .tokeignore (Tokei)
  • .upignore (Up)
  • .vercelignore (Vercel)
  • .yarnignore (Yarn)

files in your project. It supports the following IDEs:

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

Features

  • Files syntax highlight
  • 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 a file in the currently selected directory
  • Generate Gitignore rules basing on GitHub's templates collection
  • Add a selected file/directory to Gitignore rules from the popup menu
  • Suggesting .gitignore file creation for a new project
  • Entries inspection (duplicated, covered, unused, incorrect syntax, relative entries) with quick-fix actions
  • Comments and brackets support
  • Navigation to entries in Project view
  • Renaming entries from a dot-ignore file
  • Close opened ignored files action
  • Custom user templates with import/export features

Supported IDEs

Since v4.0.0, .ignore plugin updates will be delivered only to the latest stable IDE version.

No worries! It means .ignore for all IDE version from before - 139-193 - will be frozen at v3.x.x.

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.

Early Access Preview

If you are working with IDEs in EAP version, like IntelliJ 2021.1 EAP, there is eap channel introduced to provide the .ignore plugin updates supporting such versions.

To enable EAP updates of the .ignore plugin, add the https://plugins.jetbrains.com/plugins/eap/7495 URL in the IDE settings:

Preferences > Plugins > Manage Plugin Repositories...

EAP Channel

Usage

  1. Generate a 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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap