Documentation: Fix links moved to crafting-changes
Change-Id: I31052aacd4a173e135d50017412eed5290964041
This commit is contained in:
@@ -62,7 +62,7 @@ Java 8 is still the default:
|
|||||||
To format source code, Gerrit uses the
|
To format source code, Gerrit uses the
|
||||||
link:https://github.com/google/google-java-format[`google-java-format`]
|
link:https://github.com/google/google-java-format[`google-java-format`]
|
||||||
tool (version 1.7), which automatically formats code to follow the
|
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.
|
instruction how to set up command line tool that uses this formatter.
|
||||||
The Eclipse plugin is provided that allows to format with the same
|
The Eclipse plugin is provided that allows to format with the same
|
||||||
formatter from within the Eclipse IDE. See
|
formatter from within the Eclipse IDE. See
|
||||||
|
@@ -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
|
*Code -> Reformat Code*, keyboard shortcuts, or the commit dialog will use the
|
||||||
custom style defined by the `google-java-format` plugin.
|
custom style defined by the `google-java-format` plugin.
|
||||||
|
|
||||||
Please refer to the documentation on the <<dev-contributing#style,code style>>
|
Please refer to the documentation on the <<dev-crafting-changes#style,code style>>
|
||||||
for which version of `google-java-format` is used with Gerrit.
|
for which version of `google-java-format` is used with Gerrit.
|
||||||
|
|
||||||
==== Code style settings
|
==== 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.
|
plugin in IntelliJ IDEA.
|
||||||
|
|
||||||
To simplify the creation of commit messages which are compliant with the
|
To simplify the creation of commit messages which are compliant with the
|
||||||
<<dev-contributing#commit-message,Commit Message>> format, do the following:
|
<<dev-crafting-changes#commit-message,Commit Message>> format, do the following:
|
||||||
|
|
||||||
. Go to *File -> Settings -> Version Control -> Commit Dialog*.
|
. Go to *File -> Settings -> Version Control -> Commit Dialog*.
|
||||||
. In the *Commit message inspections*, activate the three inspections:
|
. 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*.
|
right margin*.
|
||||||
|
|
||||||
In addition, you should follow the instructions of
|
In addition, you should follow the instructions of
|
||||||
<<dev-contributing#git_commit_settings,this section>> (if you haven't
|
<<dev-crafting-changes#git-commit-settings,this section>> (if you haven't
|
||||||
done so already):
|
done so already):
|
||||||
|
|
||||||
* Install the Git commit message hook for the `Change-Id` line.
|
* Install the Git commit message hook for the `Change-Id` line.
|
||||||
|
Reference in New Issue
Block a user