From 0a4888ea8c54fa0d8669ea96de3bdf932223e532 Mon Sep 17 00:00:00 2001 From: liach Date: Thu, 12 Nov 2015 08:43:04 -0800 Subject: [PATCH] Add link to forge specific eclipse formatter (named FML) --- If-you-want-to-contribute-to-Forge.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/If-you-want-to-contribute-to-Forge.md b/If-you-want-to-contribute-to-Forge.md index 0fa2208..74c7ae5 100644 --- a/If-you-want-to-contribute-to-Forge.md +++ b/If-you-want-to-contribute-to-Forge.md @@ -13,7 +13,7 @@ Prerequisites: Eclipse {or IntelliJ} (3.7 or better is probably good), Git (any ### Tips - Take your time. Make sure your code does what it's supposed to do and does it well. Your PR probably won't be accepted if it doesn't cover all the uses -- Indent your code properly, and follow the conventions (take a look at other classes and read the code before editing). Space instead of tabs, open braces on a new line, etc. [ONLY IF IT IS A NEW CLASS NOT IF IT IS A PATCH TO A MINECRAFT CLASS](https://github.com/MinecraftForge/MinecraftForge/wiki/If-you-want-to-contribute-to-Forge#conventions-for-coding-patches-for-a-minecraft-class-javapatch). +- Indent your code properly, and follow the conventions (take a look at other classes and read the code before editing). Space instead of tabs, open braces on a new line, etc. [ONLY IF IT IS A NEW CLASS NOT IF IT IS A PATCH TO A MINECRAFT CLASS](https://github.com/MinecraftForge/MinecraftForge/wiki/If-you-want-to-contribute-to-Forge#conventions-for-coding-patches-for-a-minecraft-class-javapatch). [Here](https://github.com/ForgeEssentials/ForgeEssentials/blob/develop/misc/eclipseformatter.xml)'s the eclipse formatter if you want it. - To update your repo to latest code from the official repository: 1. If it's the first time, add a remote for the official repo (`git remote add upstream https://github.com/MinecraftForge/MinecraftForge`) 2. Get the updates (`git fetch upstream`), and make sure you're on master (`git checkout master`)