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
@ -1,24 +1,27 @@
|
|||||||
// 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.
|
// 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.
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'org.jetbrains.intellij' version '0.4.16'
|
id 'org.jetbrains.intellij' version '0.4.16'
|
||||||
}
|
}
|
||||||
|
|
||||||
group 'org.intellij.sdk'
|
group 'org.intellij.sdk'
|
||||||
version '2.0.0'
|
version '2.1.0'
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||||
intellij {
|
intellij {
|
||||||
version '2019.3.3'
|
// version '2020.1'
|
||||||
updateSinceUntilBuild = false
|
|
||||||
|
// Sets <idea-version> in plugin.xml
|
||||||
|
sameSinceUntilBuild = true
|
||||||
}
|
}
|
||||||
patchPluginXml {
|
patchPluginXml {
|
||||||
version = project.version
|
// 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 -->
|
<!-- Text to display as name on Preferences/Settings | Plugin page -->
|
||||||
<name>SDK: Live Templates Sample Project</name>
|
<name>SDK: Live Templates Sample Project</name>
|
||||||
|
|
||||||
<!-- The version of this plugin -->
|
<!-- The <version> of this plugin is set by patchPluginXml.version in build.gradle -->
|
||||||
<version>2.0.0</version>
|
|
||||||
|
|
||||||
<!-- Compatible with the following versions of IntelliJ Platform - needed for plugin logo -->
|
<!-- The <idea-version> compatibility of this plugin is set by intellij.sameSinceUntilBuild in build.gradle -->
|
||||||
<idea-version since-build="191"/>
|
|
||||||
|
|
||||||
<!-- Product and plugin compatibility requirements -->
|
<!-- Product and plugin compatibility requirements -->
|
||||||
<depends>com.intellij.modules.lang</depends>
|
<depends>com.intellij.modules.lang</depends>
|
||||||
@ -25,6 +23,7 @@
|
|||||||
<change-notes>
|
<change-notes>
|
||||||
<$END$"
|
value="[$TEXT$]($LINK$)$END$"
|
||||||
description="SDK: New link reference."
|
description="SDK: New link reference"
|
||||||
toReformat="false"
|
toReformat="false"
|
||||||
toShortenFQNames="false">
|
toShortenFQNames="false">
|
||||||
<variable name="TEXT" expression="" defaultValue="" alwaysStopAt="true"/>
|
<variable name="TEXT" expression="" defaultValue="" alwaysStopAt="true"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user