com.intellij.codeInsight.template.postfix.templates.PostfixTemplatesUtils Java Examples
The following examples show how to use
com.intellij.codeInsight.template.postfix.templates.PostfixTemplatesUtils.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PostfixTemplatesSettings.java From consulo with Apache License 2.0 | 4 votes |
public boolean isTemplateEnabled(@Nonnull PostfixTemplate template, @Nonnull PostfixTemplateProvider provider) { String langForProvider = PostfixTemplatesUtils.getLangForProvider(provider); return isTemplateEnabled(template, langForProvider); }
Example #2
Source File: PostfixTemplatesSettings.java From consulo with Apache License 2.0 | 4 votes |
public void disableTemplate(@Nonnull PostfixTemplate template, @Nonnull PostfixTemplateProvider provider) { String langForProvider = PostfixTemplatesUtils.getLangForProvider(provider); disableTemplate(template, langForProvider); }
Example #3
Source File: PostfixTemplatesSettings.java From consulo with Apache License 2.0 | 4 votes |
public void enableTemplate(@Nonnull PostfixTemplate template, @Nonnull PostfixTemplateProvider provider) { String langForProvider = PostfixTemplatesUtils.getLangForProvider(provider); enableTemplate(template, langForProvider); }