Skip to content

Commit

Permalink
Merge pull request #6 from mdddj/1.3.4
Browse files Browse the repository at this point in the history
修复版本号
  • Loading branch information
mdddj authored Apr 24, 2024
2 parents a00c4cc + 7b6ca60 commit b3cfb23
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 33 deletions.
26 changes: 3 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,13 @@
# IntelliJ Platform Plugin Template Changelog
# Changelog

## [Unreleased]
### Added

### Changed

### Deprecated

### Removed

### Fixed

### Security

## [1.1.2]
**Full Changelog**: https://github.com/mdddj/SalvoRsTool/compare/1.1.1.7...1.1.2

## [1.3.3] - 2024-04-24
## 1.3.4 - 2024-04-24

- 添加antd table column 快速生成
- 添加interface快速生成

## [1.3.0] - 2024-04-23
## 1.3.0 - 2024-04-23

- Add antd from form generation function
- 添加生成antd pro from表单功能

## [1.1.2] - 2024-04-19
- upload test

## [1.1.1] - 2024-04-19
- bug fix
26 changes: 18 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.jetbrains.changelog.Changelog

plugins {
id("org.jetbrains.kotlin.jvm") version "1.9.22"
Expand All @@ -6,7 +7,7 @@ plugins {
}

group = "shop.itbug"
version = "1.3.3"
version = "1.3.4"

repositories {
mavenCentral()
Expand All @@ -29,9 +30,23 @@ tasks {
kotlinOptions.jvmTarget = "17"
}



val myChangeLog = provider {
changelog.renderItem(
changelog
.getUnreleased()
.withHeader(false)
.withEmptySections(false),
Changelog.OutputType.HTML
)
}


patchPluginXml {
sinceBuild.set("232")
untilBuild.set("242.*")
changeNotes.set(myChangeLog)
}

signPlugin {
Expand All @@ -50,16 +65,11 @@ tasks {
jvmArgs = listOf("-XX:+AllowEnhancedClassRedefinition")
}

test {
useJUnitPlatform()
}
}

dependencies {
testImplementation(kotlin("test"))
}

changelog {
version = project.version as String
unreleasedTerm.set("Unreleased")
path = file("CHANGELOG.md").canonicalPath
groups.empty()
}
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ class MyFieldPsiElementManager(private val psiElement: RsNamedFieldDecl) {
}
val docPsi = PsiTreeUtil.getChildOfType(psiElement, RsDocCommentImpl::class.java)
//判断///

if (docPsi != null && docPsi.lastLeaf.elementType is RsDocTokenType) {
if (docPsi != null) {
val last = PsiTreeUtil.lastChild(docPsi)
if (last.elementType is RsDocTokenType) {
return last.text
Expand Down

0 comments on commit b3cfb23

Please sign in to comment.