Skip to content

Support for adding a file to exclude from the context menu. #583

@fuzzyweapon

Description

@fuzzyweapon

Caveat: If there's a way to do this already, I haven't found it, in which case this might be a 'smell' for usability and an opportunity to improve that.

Prerequisites

  • Plugin is in the latest version
  • Issue was not reported yet
  • Stack trace (if provided) contains mobi.hsz.idea.gitignore package name
    N/A

Summary

Feature request for being able to add files to a repo's exclude via right-clicking/context menu. As a specific example, I see this file in Version Control or Project. It'd be nice to be able to select one or multiple files, right click, and add them to exclude.

Value/Justification

Mostly because even though the double-view (being able to see your excludes while working on your gitignore) is really awesome, it doesn't allow you to edit it there in that window. Here is how I usually use .ignore to help with excludes. Right-click, add to gitignore, open gitignore, grab added lines, open up exclude, plop them in exclude (I'm lazy okay? 😉).

It just seems with all the amazing functionality .ignore already provides, allowing people to easily add to exclude would already be around. While git does have a mechanism for initializing a repo with a group of excludes (templates), that works if you know what you want excluded at the outset, but I'm picking up new plugins in the middle of projects that shouldn't share their metadata and other activities that benefit from being able to quickly handle excludes on the fly.

Versions

Plugin:

v3.1.2.191

IDE:

IntelliJ IDEA 2019.1.2 (Ultimate Edition)
Build #IU-191.7141.44, built on May 7, 2019
JRE: 1.8.0_202-release-1483-b4 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.5

OS:

System Version:	macOS 10.14.5 (18F132) - mojave
  Kernel Version:	Darwin 18.6.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions