Skip to content
Permalink
Browse files

Added github page for Codestyle Convention (#180)

* Adapted versioning in build.gradle and README

* Added documentation part concerning codestyle conventions.
  • Loading branch information...
mwever authored and fmohr committed Jul 9, 2019
1 parent 7461a4e commit ac555a07798e1fb8f36cb3a9d7d230c1299e3eb0
@@ -45,8 +45,8 @@ allprojects {
project.version = '0.1.5'

ext {
ossrhUsername = hasProperty('ossrhUsername') ? ossrhUsername : System.getenv("ossrhUsername")
ossrhPassword = hasProperty('ossrhPassword') ? ossrhPassword : System.getenv("ossrhPassword")
ossrhUsername = project.hasProperty('ossrhUsername') ? ossrhUsername : System.getenv("ossrhUsername")
ossrhPassword = project.hasProperty('ossrhPassword') ? ossrhPassword : System.getenv("ossrhPassword")
}


@@ -8,6 +8,7 @@

<h2>AILibs Projects</h2>
<ul style="margin: -10px;">
<li><h3><a href="/codestyle">Codestyle</a></h3></li>
<li>
<h3>JAICore</h3>
<ul style="margin-top: -10px;">
@@ -19,11 +20,11 @@ <h3>JAICore</h3>
<li><h3 style="margin: 8px 0px;">jaicore-math</h3></li>
<li><h3 style="margin: 8px 0px;">jaicore-ml</h3></li>
<li><h3 style="margin: 8px 0px;">jaicore-planning</h3></li>
<li><h3 style="margin: 8px 0px;"><a href="projects/jaicore-search">jaicore-search</a></h3></li>
<li><h3 style="margin: 8px 0px;"><a href="/projects/jaicore-search">jaicore-search</a></h3></li>
</ul>
</li>
<li><h3>HASCO</h3></li>
<li><h3><a href="projects/mlplan">ML-Plan</a></h3></li>
<li><h3><a href="/projects/mlplan">ML-Plan</a></h3></li>


{% if site.github.is_project_page %}
@@ -1 +1,43 @@
Test
---
layout: main
title: Coding Guidelines
---

# Set up your eclipse

To avoid unnecessary file changes and to ensure a consistent formatting of the entire code base, we agreed on a unified code formatting and styling.
The following configuration files can be imported in eclipse:

<div style="font-weight: bold;">Attachments: Eclipse editor configuration files</div>
<div style="border-top: 1px solid #ccc; padding: 10px; background: #f9f9f9">
<div style="float: left; padding: 5px;"><a href="/codestyle/formatter.xml" target="_blank" style="display: block; text-align: center; width: 72px;"><img src="/img/xml-file-icon.png" height="32" alt="Download Eclipse Formatter"><br>Eclipse Formatter</a></div>
<div style="float: left; padding: 5px;"><a href="/codestyle/cleanUpTasks.xml" target="_blank" style="display: block; text-align: center; width: 72px;"><img src="/img/xml-file-icon.png" height="32" alt="Download Eclipse CleanUp Tasks"><br>Eclipse CleanUpTasks</a></div>
<div style="clear: left;"></div>
</div>
<br>
<ul>
<li>After importing the profiles, the overview of the CleanUp tasks should look this way.<br>
(by clicking on the screenshot you get to the originally-sized version)</li>
</ul>
<br>
<center><a href="/img/CleanUp.png"><img src="/img/CleanUp.png" width="800"></a></center>
<br>
<ul>
<li>To automatically format the source code and to use the advantages of auto-completions the save actions should be configured as follows:</li>
</ul>
<br>
<center><a href="/img/SaveActions.png"><img src="/img/SaveActions.png" width="800"></a></center>
<br>
<ul>
<li>To get there, the following screenshots may help toggling the right configurations:<br>(by clicking on the screenshot you get to the originally-sized version)</li>
</ul>
<br>
<div>
<a href="/img/SaveActions-CodeOrganizing.png"><img src="/img/SaveActions-CodeOrganizing.png" alt="Save Actions - Code Organizing" width="490"></a>
<a href="/img/SaveActions-CodeOrganizing.png"><img src="/img/SaveActions-CodeStyle.png" alt="Save Actions - Code Style" width="490"></a>
<a href="/img/SaveActions-CodeOrganizing.png"><img src="/img/SaveActions-MemberAccess.png" alt="Save Actions - Member Access" width="490"></a>
<a href="/img/SaveActions-CodeOrganizing.png"><img src="/img/SaveActions-MissingCode.png" alt="Save Actions - Missing Code" width="490"></a>
<a href="/img/SaveActions-CodeOrganizing.png"><img src="/img/SaveActions-UnnecessaryCode.png" alt="Save Actions - Unnecessary Code" width="490"></a>
</div>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit ac555a0

Please sign in to comment.
You can’t perform that action at this time.