aboutsummaryrefslogtreecommitdiffstats
path: root/sd-plugin/src/main/java/org/intellij/sdk/language/SdCommenter.java
blob: e0fc30df22b07bd5ee4d60d07cc029922fbb927e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package org.intellij.sdk.language;

import com.intellij.lang.Commenter;
import org.jetbrains.annotations.Nullable;

/**
 * This class enables turning a line into a comment with "Code -> Comment with line comment"
 */
public class SdCommenter implements Commenter {
    
    @Nullable
    @Override
    public String getLineCommentPrefix() {
        return "#";
    }
    
    @Nullable
    @Override
    public String getBlockCommentPrefix() {
        return "";
    }
    
    @Nullable
    @Override
    public String getBlockCommentSuffix() {
        return null;
    }
    
    @Nullable
    @Override
    public String getCommentedBlockCommentPrefix() {
        return null;
    }
    
    @Nullable
    @Override
    public String getCommentedBlockCommentSuffix() {
        return null;
    }
    
}