Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 of 3 tasks
fuzzyweapon opened this issue May 23, 2019 · 1 comment
Open
2 of 3 tasks

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

fuzzyweapon opened this issue May 23, 2019 · 1 comment

Comments

@fuzzyweapon
Copy link

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
@wonderslug
Copy link

I would like to add a +1 to this. The ability to use .ignore for the .git/info/exclude would be very helpful for those local development only files we all end up having and putting them in the .gitignore is not really needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants