mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
[live templates] Remove EP com.intellij.defaultLiveTemplatesProvider,
update docs, per IJSDK-698
This commit is contained in:
parent
8922dcd440
commit
9336f8ff87
@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
group 'org.intellij.sdk'
|
||||
version '2.0.0'
|
||||
version '2.1.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
||||
@ -16,9 +16,12 @@ repositories {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version '2019.3.3'
|
||||
updateSinceUntilBuild = false
|
||||
// version '2020.1'
|
||||
|
||||
// Sets <idea-version> in plugin.xml
|
||||
sameSinceUntilBuild = true
|
||||
}
|
||||
patchPluginXml {
|
||||
// Sets <version> in plugin.xml
|
||||
version = project.version
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
package org.intellij.sdk.liveTemplates;
|
||||
|
||||
import com.intellij.codeInsight.template.impl.DefaultLiveTemplatesProvider;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class MarkdownTemplateProvider implements DefaultLiveTemplatesProvider {
|
||||
@Override
|
||||
public String[] getDefaultLiveTemplateFiles() {
|
||||
return new String[]{"liveTemplates/Markdown"};
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public String[] getHiddenLiveTemplateFiles() {
|
||||
return null;
|
||||
}
|
||||
}
|
@ -7,11 +7,9 @@
|
||||
<!-- Text to display as name on Preferences/Settings | Plugin page -->
|
||||
<name>SDK: Live Templates Sample Project</name>
|
||||
|
||||
<!-- The version of this plugin -->
|
||||
<version>2.0.0</version>
|
||||
<!-- The <version> of this plugin is set by patchPluginXml.version in build.gradle -->
|
||||
|
||||
<!-- Compatible with the following versions of IntelliJ Platform - needed for plugin logo -->
|
||||
<idea-version since-build="191"/>
|
||||
<!-- The <idea-version> compatibility of this plugin is set by intellij.sameSinceUntilBuild in build.gradle -->
|
||||
|
||||
<!-- Product and plugin compatibility requirements -->
|
||||
<depends>com.intellij.modules.lang</depends>
|
||||
@ -25,6 +23,7 @@
|
||||
<change-notes>
|
||||
<$END$"
|
||||
description="SDK: New link reference."
|
||||
description="SDK: New link reference"
|
||||
toReformat="false"
|
||||
toShortenFQNames="false">
|
||||
<variable name="TEXT" expression="" defaultValue="" alwaysStopAt="true"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user