package com.reason.ide.insight;

import com.intellij.codeInsight.completion.CompletionType;
import com.intellij.openapi.project.DumbAware;
import com.reason.ide.insight.provider.KeywordCompletionProvider;
import org.jetbrains.annotations.NotNull;

abstract class KeywordCompletionContributor extends com.intellij.codeInsight.completion.CompletionContributor implements DumbAware {

    KeywordCompletionContributor(@NotNull CompletionPatterns patterns) {
        extend(CompletionType.BASIC, patterns.declaration(), new KeywordCompletionProvider("declaration", "module", "open", "include", "type", "let", "external"));
        extend(CompletionType.BASIC, patterns.keyword(), new KeywordCompletionProvider("keyword", "module", "open", "include", "type", "let", "external", "match"));
    }

}

@@ -563,32 +563,38 @@
 module%22, %22open%22,
+ %22in%22,
  %22include%22, %22typ
@@ -729,24 +729,30 @@
 le%22, %22open%22,
+ %22in%22,
  %22include%22, 

Add 'in' in keywords completion provider (#61)