You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2020/03/07 13:18:33 UTC

[maven-site] branch elharo-patch-2 created (now 01b51db)

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a change to branch elharo-patch-2
in repository https://gitbox.apache.org/repos/asf/maven-site.git.


      at 01b51db  update IDE instructions

This branch includes the following new commits:

     new 01b51db  update IDE instructions

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-site] 01/01: update IDE instructions

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch elharo-patch-2
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit 01b51db11afae836742ab78106a2f73174daf61d
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Sat Mar 7 08:18:27 2020 -0500

    update IDE instructions
    
    @michael-o
---
 content/apt/developers/conventions/code.apt | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/content/apt/developers/conventions/code.apt b/content/apt/developers/conventions/code.apt
index 1976330..edcd50e 100644
--- a/content/apt/developers/conventions/code.apt
+++ b/content/apt/developers/conventions/code.apt
@@ -143,15 +143,13 @@ public class MyMojo
  The following sections show how to set up the code style for Maven in IDEA and Eclipse.
  It is strongly preferred that patches use this style before they are applied.
 
-*** IntelliJ IDEA 4.5+
+*** IntelliJ IDEA
 
- Download <<<{{{../../developers/maven-idea-codestyle.xml}maven-idea-codestyle.xml}}>>> and copy it to
- <<<~/.IntelliJIDEA/config/codestyles>>> then restart IDEA. On Windows, try
- <<<C:\Documents and Settings\<username>\.IntelliJIDEA\config\codestyles>>>
+ Download <<<{{{../../developers/maven-idea-codestyle.xml}maven-idea-codestyle.xml}}>>>
+ and import it into IDEA using File > Settings > Editor > Code Style > Gear icon >
+ Import Scheme > IntelliJ IDEA Code Style XML
 
- After this, restart IDEA and open the settings to select the new code style.
-
-*** Eclipse 3.2+
+*** Eclipse
 
  Download <<<{{{../../developers/maven-eclipse-codestyle.xml}maven-eclipse-codestyle.xml}}>>>.
 
@@ -176,7 +174,7 @@ public class MyMojo
  * <<Documentation>>: Document public interfaces well, i.e. all non-trivial public and
  protected functions should include Javadoc that indicates what they do.
 
- * <<Testing>>: All non-trivial public classes should corresponding unit or
+ * <<Testing>>: All non-trivial public classes should have corresponding unit or
  integration tests.
 
  []