aboutsummaryrefslogtreecommitdiffstats
path: root/integration/intellij/src/main/java/ai/vespa/intellij/schema/SdCommenter.java
blob: 965a10766f2f2aa2775023ec5094427aa98fc4b8 (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
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.intellij.schema;

import com.intellij.lang.Commenter;

/**
 * This class is used for the extension (in plugin.xml), to enable turning a line into a comment with 
 * "Code -> Comment with line comment".
 *
 * @author Shahar Ariel
 */
public class SdCommenter implements Commenter {
    
    @Override
    public String getLineCommentPrefix() {
        return "#";
    }
    
    @Override
    public String getBlockCommentPrefix() {
        return "";
    }
    
    @Override
    public String getBlockCommentSuffix() {
        return null;
    }
    
    @Override
    public String getCommentedBlockCommentPrefix() {
        return null;
    }
    
    @Override
    public String getCommentedBlockCommentSuffix() {
        return null;
    }
    
}