Skip to content

Commit

Permalink
Merge branch 'master' into logging
Browse files Browse the repository at this point in the history
# Conflicts:
#	CHANGELOG.md
#	build.gradle.kts
#	gradle.properties
  • Loading branch information
PHPirates committed Nov 24, 2023
2 parents 99b8450 + c1d90db commit bb3b022
Show file tree
Hide file tree
Showing 18 changed files with 972 additions and 542 deletions.
613 changes: 165 additions & 448 deletions .github/actions/insert-youtrack-link/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/actions/insert-youtrack-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license": "ISC",
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^5.1.1",
"@actions/github": "^6.0.0",
"@octokit/rest": "^20.0.2"
}
}
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
name: Qodana
# Note: updating to ubuntu-latest may slow the build and produce a "The runner has received a shutdown signal."
runs-on: ubuntu-20.04
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
with:
Expand Down
39 changes: 9 additions & 30 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,46 +6,28 @@

### Fixed

## [0.9.2-alpha.4] - 2023-11-07
## [0.9.2] - 2023-11-24

### Added

* Add some missing starred versions of table environments
* Add support for package indexing for native TeX Live installations

### Fixed
Welcome to TeXiFy IDEA 0.9.2! This release introduces a new 'extract value' functionality to easily create custom commands from a text selection, and fixes some minor bugs.

* Fix structure view nesting
* Fix some bugs in the math environment toggle intention
* Fix support for inlining commands in non-IntelliJ IDEs, by @jojo2357
* Fix a sync issue with remote libraries

## [0.9.2-alpha.3] - 2023-10-19
We thank everyone who submitted issues and provided feedback to make TeXiFy IDEA better.
Your input is valuable and well appreciated.

### Added

* Add "Extract value" refactoring to create custom LaTeX commands and replace all occurrences, by @jojo2357
* Include bibliography files from the LaTeX installation in the possible inclusion targets
* Add some missing starred versions of table environments
* Add support for package indexing for native TeX Live installations

### Fixed

* Ignore non-TeXiFy indexing related exceptions
* Fix structure view nesting
* Fix some bugs in the math environment toggle intention
* Fix support for inlining commands in non-IntelliJ IDEs, by @jojo2357
* Fix a sync issue with remote libraries

## [0.9.2-alpha.2] - 2023-10-04

### Fixed

* Fix a sync issue with remote libraries

## [0.9.2-alpha.1] - 2023-08-16

### Fixed

* Fix a sync issue with remote libraries

## [0.9.1] - 2023-08-15

This release fixes a bug related to the new file icons from the previous release.
Expand Down Expand Up @@ -273,11 +255,8 @@ Thanks to @jojo2357 and @MisterDeenis for contributing to this release!
* Fix some intention previews. ([#2796](https://github.com/Hannah-Sten/TeXiFy-IDEA/issues/2796))
* Other small bug fixes and improvements. ([#2776](https://github.com/Hannah-Sten/TeXiFy-IDEA/issues/2776), [#2774](https://github.com/Hannah-Sten/TeXiFy-IDEA/issues/2774), [#2765](https://github.com/Hannah-Sten/TeXiFy-IDEA/issues/2765)-[#2773](https://github.com/Hannah-Sten/TeXiFy-IDEA/issues/2773))

[Unreleased]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.2-alpha.4...HEAD
[0.9.2-alpha.3]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.2-alpha.2...v0.9.2-alpha.3
[0.9.2-alpha.1]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.1...v0.9.2-alpha.1
[0.9.2-alpha.2]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.2-alpha.1...v0.9.2-alpha.2
[0.9.2-alpha.4]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.2-alpha.3...v0.9.2-alpha.4
[Unreleased]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.2...HEAD
[0.9.2]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.1...v0.9.2
[0.9.1]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.7.33...v0.9.0
[0.7.33]: https://github.com/Hannah-Sten/TeXiFy-IDEA/compare/v0.7.32...v0.7.33
Expand Down
12 changes: 6 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {
kotlin("plugin.serialization") version ("1.9.20")

// Plugin which can check for Gradle dependencies, use the help/dependencyUpdates task.
id("com.github.ben-manes.versions") version "0.49.0"
id("com.github.ben-manes.versions") version "0.50.0"

// Plugin which can update Gradle dependencies, use the help/useLatestVersions task.
id("se.patrikerdes.use-latest-versions") version "0.2.18"
Expand All @@ -29,7 +29,7 @@ plugins {
id("org.jlleitschuh.gradle.ktlint") version "11.3.2"

// Vulnerability scanning
id("org.owasp.dependencycheck") version "8.4.2"
id("org.owasp.dependencycheck") version "9.0.0"

id("org.jetbrains.changelog") version "2.2.0"

Expand Down Expand Up @@ -94,9 +94,9 @@ dependencies {
implementation("com.beust:klaxon:5.6")

// Parsing xml
implementation("com.fasterxml.jackson.core:jackson-core:2.15.3")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.15.3")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.15.3")
implementation("com.fasterxml.jackson.core:jackson-core:2.16.0")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.16.0")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.16.0")

// Http requests
implementation("io.ktor:ktor-client-core:2.3.6")
Expand Down Expand Up @@ -234,7 +234,7 @@ intellij {
tasks.publishPlugin {
dependsOn("patchChangelog")
dependsOn("useLatestVersions")
dependsOn("dependencyCheckAnalyze")
// dependsOn("dependencyCheckAnalyze")

token.set(properties["intellijPublishToken"].toString())

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pluginVersion = 0.9.2-alpha.4
pluginVersion = 0.9.3-alpha.1

# Info about build ranges: https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html
# Note that an xyz branch corresponds to version 20xy.z and a since build of xyz.*
Expand Down
2 changes: 1 addition & 1 deletion resources/nl/hannahsten/texifyidea/packages/package.list

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class LatexParserDefinition : ParserDefinition {
val FILE: IStubFileElementType<*> = object : IStubFileElementType<LatexFileStub>(
"LatexStubFileElementType", Language.findInstance(LatexLanguage::class.java)
) {
override fun getStubVersion(): Int = 59
override fun getStubVersion(): Int = 60
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ package nl.hannahsten.texifyidea.refactoring

import com.intellij.lang.refactoring.RefactoringSupportProvider
import com.intellij.psi.PsiElement
import com.intellij.refactoring.RefactoringActionHandler
import nl.hannahsten.texifyidea.psi.LatexParameterText
import nl.hannahsten.texifyidea.refactoring.introducecommand.LatexExtractCommandHandler

/**
* This class is used to enable inline refactoring.
Expand All @@ -20,4 +22,6 @@ class LatexRefactoringSupportProvider : RefactoringSupportProvider() {
override fun isSafeDeleteAvailable(element: PsiElement): Boolean {
return element is LatexParameterText
}

override fun getIntroduceVariableHandler(): RefactoringActionHandler = LatexExtractCommandHandler()
}
Loading

0 comments on commit bb3b022

Please sign in to comment.