This repository has been archived by the owner on Nov 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 634
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'backport_intellij_2017.1' into backport_intellij_2016_2
- Loading branch information
Showing
4 changed files
with
30 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/main/java/de/plushnikov/intellij/plugin/language/LombokConfigFileTypeFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package de.plushnikov.intellij.plugin.language; | ||
|
||
import com.intellij.openapi.fileTypes.ExactFileNameMatcher; | ||
import com.intellij.openapi.fileTypes.FileTypeConsumer; | ||
import com.intellij.openapi.fileTypes.FileTypeFactory; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
public class LombokConfigFileTypeFactory extends FileTypeFactory { | ||
@Override | ||
public void createFileTypes(@NotNull FileTypeConsumer fileTypeConsumer) { | ||
fileTypeConsumer.consume(LombokConfigFileType.INSTANCE, new ExactFileNameMatcher("lombok.config")); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters