<commit_before>package org.jetbrains.plugins.scala.lang.formatting

import com.intellij.formatting._;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.util.TextRange;
import com.intellij.psi.PsiComment;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiErrorElement;
import com.intellij.psi.PsiWhiteSpace;
import com.intellij.psi.codeStyle.CodeStyleSettings;
import org.jetbrains.plugins.scala.lang.lexer.ScalaTokenTypes;
import org.jetbrains.plugins.scala.lang.psi.ScalaFile;
import org.jetbrains.plugins.scala.lang.formatting.processors._
import org.jetbrains.plugins.scala.lang.formatting.patterns.indent._

import java.util.List;
import java.util.ArrayList;

class ScalaBlock(private val myParentBlock : ScalaBlock,
                 private val myNode : ASTNode,
                 private var myAlignment : Alignment,
                 private var myIndent: Indent,
                 private var myWrap : Wrap,
                 private val mySettings : CodeStyleSettings)
  extends Object with ScalaTokenTypes with Block {

  private var mySubBlocks : List[Block] = null

  def getNode = myNode

  def getSettings = mySettings

  def getTextRange = myNode.getTextRange

  def getIndent = myIndent

  def getWrap = myWrap

  def getAlignment = myAlignment

  def isLeaf = isLeaf(myNode)

  def isIncomplete = isIncomplete(myNode)

  def getChildAttributes(newChildIndex: Int) : ChildAttributes = {
    val parent = getNode.getPsi
    if (parent.isInstanceOf[BlockedIndent] ) {
      return new ChildAttributes(Indent.getNormalIndent(), null)<commit_msg>Added most intelligebt keyword completion<commit_after>package org.jetbrains.plugins.scala.lang.formatting

import com.intellij.formatting._;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.util.TextRange;
import com.intellij.psi.PsiComment;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiErrorElement;
import com.intellij.psi.PsiWhiteSpace;
import com.intellij.psi.codeStyle.CodeStyleSettings;
import org.jetbrains.plugins.scala.lang.lexer.ScalaTokenTypes;
import org.jetbrains.plugins.scala.lang.psi.ScalaFile;
import org.jetbrains.plugins.scala.lang.formatting.processors._
import org.jetbrains.plugins.scala.lang.formatting.patterns.indent._

import java.util.List;
import java.util.ArrayList;

class ScalaBlock(private val myParentBlock : ScalaBlock,
                 private val myNode : ASTNode,
                 private var myAlignment : Alignment,
                 private var myIndent: Indent,
                 private var myWrap : Wrap,
                 private val mySettings : CodeStyleSettings)
  extends Object with ScalaTokenTypes with Block {

  private var mySubBlocks : List[Block] = null

  def getNode = myNode

  def getSettings = mySettings

  def getTextRange = myNode.getTextRange

  def getIndent = myIndent

  def getWrap = myWrap

  def getAlignment = myAlignment

  def isLeaf = isLeaf(myNode)

  def isIncomplete = isIncomplete(myNode)

  def getChildAttributes(newChildIndex: Int) : ChildAttributes = {
    val parent = getNode.getPsi
    if (parent.isInstanceOf[BlockedIndent]) {
      return new ChildAttributes(Indent.getNormalIndent(), null)
{'fraction_non_alphanumeric': 0.08037676609105181, 'fraction_numerical': 0.0, 'mean_word_length': 3.8865030674846626, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4441124', 'n_tokens_mistral': 990, 'n_tokens_neox': 948, 'n_words': 209}