Package io.github.zhengzhengyiyi.addon
Class AutoBracketCompletionEntrypoint
java.lang.Object
io.github.zhengzhengyiyi.addon.AutoBracketCompletionEntrypoint
- All Implemented Interfaces:
ApiEntrypoint
This class will handle if use type bracket or other bracket like charactors.
bracketPairs.put('(', ')');
bracketPairs.put('[', ']');
bracketPairs.put('{', '}');
bracketPairs.put('"', '"');
bracketPairs.put('\'', '\'');
bracketPairs.put('`', '`');
-
Field Summary
Fields inherited from interface io.github.zhengzhengyiyi.api.ApiEntrypoint
LOGGER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.zhengzhengyiyi.api.ApiEntrypoint
onCharTyped, onEditerClose, onEditerOpen, onMouseDown, onMouseScroll, onType, renderButton
-
Constructor Details
-
AutoBracketCompletionEntrypoint
public AutoBracketCompletionEntrypoint()
-
-
Method Details
-
init
public void init()Description copied from interface:ApiEntrypointInitializes the API entry point. This method is called by the config editor mod during its initialization phase. It is the only required method to be implemented.- Specified by:
initin interfaceApiEntrypoint
-