aboutsummaryrefslogtreecommitdiff
path: root/idea_plugin/src/main/resources/META-INF/plugin.xml
blob: c426a1ff1a689bbd63490c7de8051559c8215352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!--
  Copyright 2020 Google Inc.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

<idea-plugin url="https://github.com/google/google-java-format/tree/master/idea_plugin"
  require-restart="true">
  <id>google-java-format</id>
  <name>google-java-format</name>
  <vendor url="https://github.com/google/google-java-format">
    Google
  </vendor>

  <depends>com.intellij.modules.java</depends>
  <depends>com.intellij.modules.lang</depends>
  <depends>com.intellij.modules.platform</depends>

  <description><![CDATA[
    Formats source code using the google-java-format tool.<p>

    This plugin requires additional IDE configuration. For more information,
    <a href="https://github.com/google/google-java-format/blob/master/README.md#intellij-jre-config">read
    the documentation.</a>
  ]]></description>
  <change-notes><![CDATA[
    <dl>
      <dt>1.20.0.0</dt>
      <dd>Updated to use google-java-format 1.20.0.</dd>
      <dt>1.19.2.0</dt>
      <dd>Updated to use google-java-format 1.19.2.</dd>
      <dt>1.17.0.0</dt>
      <dd>Updated to use google-java-format 1.17.0.</dd>
      <dd>Fixed "Document is locked" errors (Thanks, <code>@facboy</code>!)</dd>
      <dt>1.16.0.2</dt>
      <dd>Disable AD_HOC_FORMATTING, which should stop the formatter from running so often when it wasn't specifically requested.
      <dt>1.16.0.1</dt>
      <dd>When the plugin isn't configured correctly, show the error on every
      format command. Previously it was only being shown at startup and going
      unnoticed.
      <dt>1.16.0.0</dt>
      <dd>Updated to use google-java-format 1.16.0.</dd>
      <dd>Use the new IDE formatting APIs for a simplified plugin.</dd>
      <dd>Optimize Imports now uses google-java-format.</dd>
      <dt>1.15.0.0</dt>
      <dd>Updated to use google-java-format 1.15.0.</dd>
      <dt>1.14.0.0</dt>
      <dd>Updated to use google-java-format 1.14.</dd>
      <dt>1.13.0.0</dt>
      <dd>Updated to use google-java-format 1.13.</dd>
      <dt>1.12.0.0</dt>
      <dd>Updated to use google-java-format 1.12.</dd>
      <dt>1.11.0.0</dt>
      <dd>Updated to use google-java-format 1.11.</dd>
      <dt>1.10.0.0</dt>
      <dd>Updated to use google-java-format 1.10.</dd>
      <dt>1.9.0.0</dt>
      <dd>Updated to use google-java-format 1.9.</dd>
      <dt>1.8.0.1</dt>
      <dd>Fixed support for 2020.2 IDEs.</dd>
      <dt>1.8.0.0</dt>
      <dd>Updated to use google-java-format 1.8.</dd>
      <dt>1.7.0.5</dt>
      <dd>Added a version for 2020.1+ IDEs.</dd>
      <dt>1.7.0.4</dt>
      <dd>Marked the plugin as being incompatible with 2020.1+ IDEs.</dd>
      <dt>1.7.0.3</dt>
      <dd>Fixed the plugin on 2019.3 IDEs.</dd>
      <dt>1.7.0.2</dt>
      <dd>Added support for all IDEs after 2017.3.</dd>
      <dt>1.7.0.1</dt>
      <dd>Added support for 2019.1 IDEs.</dd>
      <dt>1.7.0.0</dt>
      <dd>Upgraded to google-java-format 1.7.</dd>
    </dl>
  ]]></change-notes>

  <extensions defaultExtensionNs="com.intellij">
    <formattingService
      implementation="com.google.googlejavaformat.intellij.GoogleJavaFormatFormattingService"/>
    <postStartupActivity implementation="com.google.googlejavaformat.intellij.InitialConfigurationStartupActivity"/>
    <projectConfigurable
      instance="com.google.googlejavaformat.intellij.GoogleJavaFormatConfigurable"
      id="google-java-format.settings"
      displayName="google-java-format Settings"/>
    <projectService
      serviceImplementation="com.google.googlejavaformat.intellij.GoogleJavaFormatSettings"/>
    <projectService serviceImplementation="com.google.googlejavaformat.intellij.JreConfigurationChecker"/>
    <notificationGroup displayType="STICKY_BALLOON" id="Enable google-java-format"
      isLogByDefault="false"/>
    <notificationGroup displayType="STICKY_BALLOON" id="Configure JRE for google-java-format"
      isLogByDefault="true"/>
    <notificationGroup displayType="BALLOON" id="google-java-format parsing error"
      isLogByDefault="false"/>
  </extensions>

</idea-plugin>