wmyywm / eclipse-code-formatter-intellij-plugin

Automatically exported from code.google.com/p/eclipse-code-formatter-intellij-plugin
0 stars 0 forks source link

IDEA shows that update is available all the time #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Version prior 1.8 has been installed
2. Open setting->plugins
3. Observe that red exclamation sign next to plugin name saying that new 
version is available
4. Try update plugin and restart IDEA (v 11.1.1). 

What is the expected output? What do you see instead?
Expected: no exclamation sign. plugin up-to-date
Actual: IDEA still shows exclamation sign

What version of the product are you using? On what operating system?
OS: Linux Ubuntu 10.0.4
IDEA: 11.1.1
Sun JAVA SDK 1.7

Please provide any additional information below.

Setting dialog screenshot is attached

PS: i suspect either installed plugin JAR contains incorrect version number 
(less then specified in repository) or the is a bug in IDEA itself

Original issue reported on code.google.com by Mike.Mal...@gmail.com on 6 Apr 2012 at 9:10

Attachments:

GoogleCodeExporter commented 9 years ago
strange indeed. maybe uninstall would help.

Original comment by vojta.kr...@gmail.com on 6 Apr 2012 at 9:41

GoogleCodeExporter commented 9 years ago
are you sure that you have installed 1.8.3.1?

Original comment by vojta.kr...@gmail.com on 6 Apr 2012 at 9:42

GoogleCodeExporter commented 9 years ago
the change log shows 

Currently supports formatting of Java and JavaScript files. Also emulates 
Eclipse's imports optimizing for java files. It is possible to add support for 
more file types, feel free to contribute.
Change Notes
1.8 (2012-04-04) - fixed bug: error when calling a live template from a file 
which has syntax errors - fixed bug: duplication of profiles - fixed bug: quick 
swich of code formatter now applies to all opened projects which uses same 
profile - new donation button :-)

I do see Donate button in plugin settings (screenshot attached). Unfortunately 
the version number is not specified here.

Looking into 
$HOME/.IdeaIC11/config/plugins/EclipseFormatter/lib/EclipseFormatter.jar/META-IN
F/plugin.xml i can see following

<idea-plugin version="2" 
url="http://plugins.intellij.net/plugin/?idea&id=6546"><name>Eclipse Code 
Formatter</name><id>EclipseCodeFormatter</id><version>1.8.3.1</version><!--<idea
-version since-build="114.65" until-build=""/>--><idea-version 
since-build="110.137" until-build=""/><!--<idea-version since-build="90.000" 
until-build="109.999"/>

I have checked that there is no over instances of EclipseFormatter.jar in the 
system.  So I think the correct version is installed. 

PS: I'll try to re install from scratch

Original comment by Mike.Mal...@gmail.com on 6 Apr 2012 at 10:17

GoogleCodeExporter commented 9 years ago
now with attachment

Original comment by Mike.Mal...@gmail.com on 6 Apr 2012 at 10:19

Attachments:

GoogleCodeExporter commented 9 years ago
uninstall/install sequence helped. May be this is a bug in idea. I've been 
using your plugin before it was published in the repository and than I've 
updated it through repository. May be there is a conflict somewhere here. I'll 
way for the next version in the repository and double check 

Original comment by Mike.Mal...@gmail.com on 6 Apr 2012 at 10:28

GoogleCodeExporter commented 9 years ago
good. i bet it will never happen again, but we will see...

Original comment by vojta.kr...@gmail.com on 6 Apr 2012 at 10:41

GoogleCodeExporter commented 9 years ago

Original comment by vojta.kr...@gmail.com on 6 Apr 2012 at 10:41