@@ -0,0 +1,1443 @@
+package net.chrizzly.csharp4netbeans.utils;%0D%0A%0D%0Aimport java.util.ArrayList;%0D%0Aimport java.util.List;%0D%0Aimport java.util.Scanner;%0D%0Aimport java.util.stream.IntStream;%0D%0A%0D%0A/**%0D%0A *%0D%0A * @author pedrohidalgo%0D%0A */%0D%0Apublic class MiscUtil %7B%0D%0A    public static final String LINE_SEPARATOR = System.getProperty(%22line.separator%22);%0D%0A    %0D%0A    public static List%3CString%3E getLinesFromFileContent(String fileContent) %7B%0D%0A        List%3CString%3E result = new ArrayList%3C%3E();%0D%0A        try (Scanner scanner = new Scanner(fileContent)) %7B%0D%0A            while (scanner.hasNextLine()) %7B%0D%0A                result.add(scanner.nextLine());%0D%0A            %7D%0D%0A        %7D%0D%0A%0D%0A        return result;%0D%0A    %7D%0D%0A    %0D%0A    public static int getOpenSymbolsAmount(String line) %7B%0D%0A        int result = 0;%0D%0A        char%5B%5D chars = line.toCharArray();%0D%0A        for (int i = 0; i %3C chars.length; i++) %7B%0D%0A            char ch = chars%5Bi%5D;%0D%0A            if (ch == '%7B' %7C%7C ch == '(') %7B%0D%0A                result++;%0D%0A            %7D else if (ch == '%7D' %7C%7C ch == ')') %7B%0D%0A                result--;%0D%0A            %7D%0D%0A        %7D%0D%0A        return result;%0D%0A    %7D%0D%0A    %0D%0A    public static String getAmountSeparatorChars(int amount) %7B%0D%0A        if (amount %3C= 0) %7B%0D%0A            return %22%22;%0D%0A        %7D%0D%0A        StringBuilder stringBuilder = new StringBuilder();%0D%0A        IntStream.rangeClosed(1, amount).forEach((int i) -%3E %7B%0D%0A            stringBuilder.append(%22 %22);%0D%0A        %7D);%0D%0A        return stringBuilder.toString();%0D%0A    %7D%0D%0A%7D

Copy over the reformat code from a fork of pedro.