mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 01:37:51 +08:00
36 lines
613 B
Java
36 lines
613 B
Java
package com.simpleplugin;
|
|
|
|
import com.intellij.lang.Commenter;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
public class SimpleCommenter 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;
|
|
}
|
|
} |