Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jetbrains-plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
jetbrains-plugin
Merge requests
!16
Draft: Resolve "Commenter for Aspect Files"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: Resolve "Commenter for Aspect Files"
feature/commenter-for-aspect-files
into
develop
Overview
0
Commits
2
Pipelines
2
Changes
4
Open
Johannes Mey
requested to merge
feature/commenter-for-aspect-files
into
develop
2 years ago
Overview
0
Commits
2
Pipelines
2
Changes
4
Expand
Closes
#7
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
9b2ac976
2 commits,
2 years ago
4 files
+
45
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/main/java/org/jastadd/tooling/aspect/AspectCommenter.java
0 → 100644
+
39
−
0
Options
package
org.jastadd.tooling.aspect
;
import
com.intellij.lang.Commenter
;
import
org.jetbrains.annotations.Nullable
;
public
class
AspectCommenter
implements
Commenter
{
@Nullable
@Override
public
String
getLineCommentPrefix
()
{
return
"//"
;
}
@Nullable
@Override
public
String
getBlockCommentPrefix
()
{
return
"/*"
;
}
@Nullable
@Override
public
String
getBlockCommentSuffix
()
{
return
"*/"
;
}
@Nullable
@Override
public
String
getCommentedBlockCommentPrefix
()
{
return
null
;
}
@Nullable
@Override
public
String
getCommentedBlockCommentSuffix
()
{
return
null
;
}
}
Loading