EAP info:
IntelliJ IDEA 2017.2.2 EAP
Build #IU-172.3757.5, built on August 1, 2017
Error message:
Plugin Error
Problems found loading plugins:
The following plugins are incompatible with the current IDE build: .ignore
I have the same problem.
Gogland (1.0 Preview) 1.0 EAP Build #GO-172.3757.2, built on August 1, 2017
Version: 2.0.4
same issue here, eagerly asking for an update
Wondering if it's just due to this; https://github.com/hsz/idea-gitignore/blob/9c534e64ceb145b14bc1e0d214d2a7c3ad0ee891/resources/META-INF/plugin.xml#L113
Starting with 2016.2 the build number may also have multiple components: IU-162.94, IU-162.94.11, IU-162.94.11.256.42. This gives more flexibility for third-party plugins and IDE developers. Plugins may specify compatibility versions more precisely; IDE vendors may have build numbers that are based on a specific IntelliJ Platform version and also specify additional internal version (e.g. 256.42 in XX-162.94.11.256.42) to allow plugin developers for their IDE to specify compatibility.
http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html
Also seeing this issue with this configuration:
IntelliJ IDEA 2017.2.2 EAP
Build #IU-172.3757.5, built on August 1, 2017
JRE: 1.8.0_152-release-915-b10 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
Same problem
same here, missing .ignore :(
Just stating the obvious (I personally don't have experience with developing IntelliJ, but if someone here _has_); this plugin is open source - the author most likely maintains it in his spare time. contributions are welcome so if this plugin is essential for your day-to-day work, and you have some time to spare; open a pull request 馃憤
Updating the version constraint to since-build="162" (or removing it altogether) will fix the situation.
On META-INF/plugin.xml file
https://github.com/hsz/idea-gitignore/blob/9c534e64ceb145b14bc1e0d214d2a7c3ad0ee891/resources/META-INF/plugin.xml#L113
But I need to monitor that everything is in working order.
Dunno what would be the correct way to handle this..maybe that <idea-version since-build="162"/> would be fine?
edit: Okay, so I had manually changed the plugin version, so actually that was the reason it worked for me..happened so automatically, I didn't remember to mention it.. 馃槷
PhpStorm 2017.2.2 EAP (172.3757.34) same problem
updating/deleting
Ok, it appears that v2.0.4 has been blacklisted in the latest IntelliJ code build:
mobi.hsz.idea.gitignore 1.2 1.3 1.3.3 1.4.1 1.5 1.6 1.7.5 1.7.6 2.0.4
Commit ref:
https://github.com/JetBrains/intellij-community/commit/c8c4800aa061d711c5055aed33fc3bcc6030f8ae
Looks like it will be automatically fixed with the next bumped version number.
CC:
@drealecs @dcarbone @filiphr @BorzdeG @Caravus @jwfearn @justinlynn @msadakov @Kendos-Kenlen @liayn @gl3b4ik @Scott-G @potto007 @Kurre @SUPERCILEX @treasure33 @MerlinPong @thaJeztah @jwfearn @qJkee @solcates @F21 @favadi @damagedcode @DexterHD @cbednarski @Scratch-net @msadakov @npiganeau @klauern @zhezh09 @Badbits @michael1011 @damagedcode
Thats great. Does someone know why they would do that?
I know that the issue with the indexing was pretty bad, but it was fixed in 2.x as far as I remember.
@nicity Can you explain us, what's the policy of blacklisting the plugin versions?
We get too many user reports about users having performance problems with .gitignore plugin.
Even latest plugin version has such performance problems.
Our current plan is to disable all available plugin versions until there is one without performance problems.
Good news is that we can help to make proper implementation.
E.g. nothing should be done during processing virtual file events, IgnoreFileIndex.getKeys() should not be called from mobi.hsz.idea.gitignore.IgnoreManager.isFileIgnored(VirtualFile), etc
@nicity thank you for the response!
Can you share with me the details about all problems that you have noticed (thread dumps, stack traces, good practices)?
In what way can you help me with the proper implementation?
Let's start with https://github.com/hsz/idea-gitignore/issues/415
Just adding that IntelliJ 2017.2.2 was released today and the plugin continues to be blocked:
6:32 PM Plugin Error
Problems found loading plugins:
The following plugins are incompatible with the current IDE build: .ignore
@zman0900 so am i
Just installed Version 2.0.4 manually in Webstorm 2017.2.2 (build #WS-172.3757.55) and got the same error:
16.08.17
15:40 Plugin Error
Problems found loading plugins:
The following plugins are incompatible with the current IDE build: .ignore
@hsz, is it possible to release a patch version only for this issue and so you can continue your development for the minor release more quietly?
This is more than critical, it's blocking.
Thanks and great plugin by the way!
@davideas I cannot release any new version if I'll not fix #415 - @nicity (JetBrains member) pointed out performance issues that appears for many of their users.
I'm going to work on it tomorrow.
You should probably update the title now that 2017.2.2 is released to avoid more duplicates. (s/latest IntelliJ EAP/IntelliJ 2017.2.2 or similar)
(Normal issue search only searches open issues so won't catch either of the two dupes which mention 2017.2.2 by name.)
Workaround for users who are willing to put up with the inefficiencies and slow nature of the plugin in its current form:
_These steps do not work on OS X due to application integrity protection (checksums will fail)_
lib subdirectory of the IDEA installation root, open the resources.jar file using your favourite compressed files browser (engrampa works well, if you're using MATE GNU/Linux)brokenPlugins.txt file by prepending a comment // to the line containing the ignore plugin classname and version listing. As of 2017.2.3 EAP, it's the only line containing 'ignore' in the file.If your IDEA installation is updated, it's probable that this modification will be undone.
Please note that this does not fix the underlying issues which caused Jetbrains to blacklist this plugin in the first place. The workaround simply overrides the Jetbrains plugin blacklist.
DO NOT report speed issues to Jetbrains after force enabling this plugin.
It would be best if Jetbrains would put in place some user interaction informing users of why the plugin has been disabled and present the user with a choice, tainting any reports from them if they choose to ignore the warning. Firefox's "Due to performance testing, we have disabled some of your addons" messaging is a great example. However, we work with what we're given - and in some cases a workaround is needed; so, here it is.
Workaround doesn't work on Mac because app can't start if it's files checksums are incorrect. Any ideas?
@robert-cody My apologies, I don't run on OS X so I'm not able to try out any possible fixes. Perhaps there's some sort of local mode in which you can override checksums? I'm really not familiar with OS X integrity protection. I've edited the workaround comment appropriately.
During the weekend I have fixed a couple of issues (including the one related to the performance). In a few days I'm going to release new version of the plugin.
Is anyone interested in trying RC?
@hsz :+1: happy to do so. will you be publishing to the RC channel on Jetbrains repo? If you are, I've enabled it (at https://plugins.jetbrains.com/plugins/rc/7495) so once you upload it, it should just get pulled in a run via the usual update mechanism.
If you don't have a custom release channel for updates, I highly recommend one. The docs are at http://www.jetbrains.org/intellij/sdk/docs/plugin_repository/custom_channels.html, if you'll forgive the presumption.
Cross-platform (including macOS) force-enabling plugin:
**ANY NEXT STEP CAN BREAK ANYTHING IN THE WORLD, DO IT ON YOUR OWN RISK**
@hsz count me too please, ready to check-out RC on custom plugin channel or just as file from disk.
@hsz I can also try it out. However, I think that it would be good if someone from Jetbrains steps in and checks the changes and even tries out the RC.
I have to stress out that the .ignore plugin is the most downloaded non Jetbrains plugin out there (2nd after Scala). I really appreciate the guys from Jetbrains and analyzing the issues and opening issues to resolve them. This is why I think that it would be great if they can check it out too.
@justinlynn Thanks for this suggestion!
I have created eap release channel that will contain all release candidates that will appear in the feature.
Right now I have published v2.1.0-RC.1 version.
EAP channel URL: https://plugins.jetbrains.com/plugins/eap/7495
Instruction about adding this channel to your IDE you can find also in readme in EAP section
For manual installation, you can find the package in Releases list
I will be very grateful for joining EAP channel and some tests of the latest RC.
As @filiphr has suggested - is it possible for you @nicity to verify if this version resolves all of the issues that you have noticed?
@hsz Thank you!
I've installed 2.1.0-RC.1 and will test it over the next days.
Getting the error in latest stable version:
Plugin Error
Problems found loading plugins:
The following plugins are incompatible with the current IDE build: .ignore
WebStorm 2017.2.2
Build #WS-172.3757.55, built on August 15, 2017
Licensed to Alex Ilyaev
Subscription is active until July 12, 2018
JRE: 1.8.0_152-release-915-b10 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
Just installed 2.1.0-RC.1 and got this warning:

While these tracked ignored files was only 1 item - my project root and it's not listed in .gitignore.
Version _2.1.0-RC.1_ works on Windows; I'll post an update in case of issues.
IntelliJ IDEA (Community Edition) 2017.2.3 EAP
Build #IC-172.3968.1, built on August 15, 2017
JRE: 1.8.0_131-b11 amd64
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
@robert-cody This warning about tracked files is already reported and will be fixed with #400
works on Mac OS:
IntelliJ IDEA 2017.2.3 EAP
Build #IU-172.3968.1, built on August 15, 2017
JRE: 1.8.0_152-release-915-b10 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
EAP works for me
"hide ignored files" not work
Seems fine here. Thanks for your efforts.
PhpStorm 2017.2.2 EAP
Build #PS-172.3757.60, built on August 16, 2017
JRE: 1.8.0_152-release-915-b10 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
hmm, on 2017.2.3 EAP (latest) the RC.1 version does not properly re-hide files at the top-level in the Project explorer when show/hide ignored files is toggled from the right-click context menu (no exception is thrown). Also, there is no "{n} hidden" notation at top-level even when files are hidden on IDE start. However, if you edit the top-level .gitignore file and save it -- it works as expected (except if one adds a top-level directory, in which was all subpaths are hidden but not the top-level entry).
Additionally, new version does not pick up global ignore file set with core.excludesfile git configuration setting.
Otherwise it appears to work quite well.
@hsz would you prefer I file separate bugs for the two issues outlined above re the RC?
2017/8/22
2017.2.2 stable release
mac osSierra 10.12.6
oracle java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
IDEA error
涓婂崍8:28 Plugin Error
Problems found loading plugins:
The following plugins are incompatible with the current IDE build: .ignore
@fengcen @justinlynn Thanks.
Can you please check if those bugs were fixed for you with v2.1.0-RC.2 ?
@hsz Sometimes not work. Steps to reproduce:
Install Rust plugin, restart, or uninstall Rust plugin, restart.
I try it on windows.
New version v2.1.0 has been released just right now.
@hsz apologies. I've installed the v2.1.0 plugin. Most of the issues have been addressed; however, on 2017.2.3 RC3, I now note that it appears that the entries that the plugin has trouble with are all globbed entries (for example "*.pdf"). Once the glob is removed things work as expected. Once I can get a minimal test case I'll file a new issue. Much faster! Great work!
@justinlynn Thanks!
Did you notice any of #450 or #414 ? They're not reproducible for me, unfortunately.
@hsz negative, no exceptions thrown by the plugin as of yet on 2017.2.3 RC3 on Linux -- will comment on ticket if I can see that. Any chance of getting exception reporting (similar to Jetbrains core exception reporting) working -- might make things easier? I don't know what might be involved in that though.
I am installing from the zip in mac osx (intellij IDEA 2017.2.2) and I get this error:
Fail to load plugin descriptor from file idea-gitignore-2.1.0.zip
Since the plugin searcher does not appear yet
@york-xtrem I was able to install it using the plugin manager by following these directions: https://github.com/hsz/idea-gitignore#early-access-preview-repository-channel
@york-xterm I had to remove this version from JB repo because of above errors. I'm on it right now.
@F21 and @hsz apologize for ignorance! It is already installed, I have tried it in several projects and it works to me as expected ;)
Using 2.1.1 on
IntelliJ IDEA 2017.2.3
Build #IU-172.3968.16, built on August 21, 2017
JRE: 1.8.0_152-release-915-b11 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
Confirm no issues.
Most helpful comment
We get too many user reports about users having performance problems with .gitignore plugin.
Even latest plugin version has such performance problems.
Our current plan is to disable all available plugin versions until there is one without performance problems.
Good news is that we can help to make proper implementation.
E.g. nothing should be done during processing virtual file events, IgnoreFileIndex.getKeys() should not be called from mobi.hsz.idea.gitignore.IgnoreManager.isFileIgnored(VirtualFile), etc