From d71da9b2daa16312840b60c63a08af0612c52510 Mon Sep 17 00:00:00 2001 From: Marco Miller Date: Fri, 22 Nov 2019 15:00:46 -0500 Subject: [PATCH] Documentation: Fix links moved to crafting-changes Change-Id: I31052aacd4a173e135d50017412eed5290964041 --- Documentation/dev-eclipse.txt | 2 +- Documentation/dev-intellij.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/dev-eclipse.txt b/Documentation/dev-eclipse.txt index a94dd7b4de..dfe6aa5588 100644 --- a/Documentation/dev-eclipse.txt +++ b/Documentation/dev-eclipse.txt @@ -62,7 +62,7 @@ Java 8 is still the default: To format source code, Gerrit uses the link:https://github.com/google/google-java-format[`google-java-format`] tool (version 1.7), which automatically formats code to follow the -style guide. See link:dev-contributing.html#style[Code Style] for the +style guide. See link:dev-crafting-changes.html#style[Code Style] for the instruction how to set up command line tool that uses this formatter. The Eclipse plugin is provided that allows to format with the same formatter from within the Eclipse IDE. See diff --git a/Documentation/dev-intellij.txt b/Documentation/dev-intellij.txt index 50770798cc..81790dbbab 100644 --- a/Documentation/dev-intellij.txt +++ b/Documentation/dev-intellij.txt @@ -104,7 +104,7 @@ CodeStyleManager with a custom one. Thus, uses of *Reformat Code* either via *Code -> Reformat Code*, keyboard shortcuts, or the commit dialog will use the custom style defined by the `google-java-format` plugin. -Please refer to the documentation on the <> +Please refer to the documentation on the <> for which version of `google-java-format` is used with Gerrit. ==== Code style settings @@ -159,7 +159,7 @@ This section is only relevant in case you want to use the Git integration plugin in IntelliJ IDEA. To simplify the creation of commit messages which are compliant with the -<> format, do the following: +<> format, do the following: . Go to *File -> Settings -> Version Control -> Commit Dialog*. . In the *Commit message inspections*, activate the three inspections: @@ -171,7 +171,7 @@ To simplify the creation of commit messages which are compliant with the right margin*. In addition, you should follow the instructions of -<> (if you haven't +<> (if you haven't done so already): * Install the Git commit message hook for the `Change-Id` line.