Skip to content
Snippets Groups Projects
Commit 531e29a5 authored by Johannes Mey's avatar Johannes Mey
Browse files

fix changelog

parent 0ff0d13c
No related branches found
No related tags found
1 merge request!18Chore/support for intellij 2023.1
Pipeline #16528 passed
# Changelog # Changelog
## [Unreleased]
### Added
### Changed
### Deprecated
### Removed
### Fixed
## [0.3.1] ## [0.3.1]
### Added ### Added
- Reference support for type names within aspect files.
- Usages are now highlighted. - Usages are now highlighted.
- Refactoring of type names now also works in aspects.
- Note that although it works in the Java embeddings within aspects, it does *not* work in "real" Java classes. - Note that although it works in the Java embeddings within aspects, it does *not* work in "real" Java classes.
- Please use this feature with caution. As with most refactoring tools, it is quite fragile and won't give correct Please use this feature with caution. As with most refactoring tools, it is quite fragile and won't give correct
results in all cases. results in all cases.
- Folding support for aspect files.
- Aspects and most blocks now can be folded. - Aspects and most blocks now can be folded.
- Structure view for aspect files.
- Attributes and inter-type declarations are shown sorted by aspect. - Attributes and inter-type declarations are shown sorted by aspect.
- There are toggle buttons to show or hide attributes, inter-type declarations and rewrites. - There are toggle buttons to show or hide attributes, inter-type declarations and rewrites.
- Note that things outside aspects, equations and some other elements are not yet included. - Note that things outside aspects, equations and some other elements are not yet included.
- Support for IntelliJ IDEA 2022.3 and 2023.1. - Support for IntelliJ IDEA 2022.3 and 2023.1.
### Changed
### Deprecated
### Removed
### Fixed ### Fixed
- A bug for type name refactoring in grammar files which prevented the actual definition from being renamed. - A bug for type name refactoring in grammar files which prevented the actual definition from being renamed.
- Wrong inspection messages related to names in wrappers of injected java code ("x", "m", "X"). - Wrong inspection messages related to names in wrappers of injected java code ("x", "m", "X").
- A bug that required a visibility modifier in refined constructors. - A bug that required a visibility modifier in refined constructors.
### Removed
- Support for all IntelliJ IDEA version prior to 2022.3.
## [0.2.0] ## [0.2.0]
### Added ### Added
- Support for IntelliJ IDEA 2021.2.3. - Support for IntelliJ IDEA 2021.2.3.
- Initial support for JastAdd aspect files.
- syntax highlighter and color settings - syntax highlighter and color settings
- two file types for jrag and jadd two file types for jrag and jadd
- embedded java for attribute equation blocks embedded java for attribute equation blocks
- Annotations for JastAdd usages in Java.
- configurable highlighters for attribute and api usages - configurable highlighters for attribute and api usages
- Dark mode icon which is a bit less colourful. - Dark mode icon which is a bit less colourful.
### Removed ### Removed
- Support for IntelliJ IDEA 2020.2.4. Minimal version now is 2021.1.1. - Support for IntelliJ IDEA 2020.2.4. Minimal version now is 2021.1.1.
[Unreleased]: https://git-st.inf.tu-dresden.de/jastadd/jetbrains-plugin//compare/v0.3.1...HEAD
[0.3.1]: https://git-st.inf.tu-dresden.de/jastadd/jetbrains-plugin//compare/v0.2.0...v0.3.1
[0.2.0]: https://git-st.inf.tu-dresden.de/jastadd/jetbrains-plugin//commits/v0.2.0
import io.gitlab.arturbosch.detekt.Detekt import io.gitlab.arturbosch.detekt.Detekt
import org.jetbrains.changelog.Changelog
import org.jetbrains.changelog.markdownToHTML import org.jetbrains.changelog.markdownToHTML
import org.jetbrains.grammarkit.tasks.GenerateLexerTask import org.jetbrains.grammarkit.tasks.GenerateLexerTask
import org.jetbrains.grammarkit.tasks.GenerateParserTask import org.jetbrains.grammarkit.tasks.GenerateParserTask
...@@ -68,6 +69,7 @@ sourceSets { ...@@ -68,6 +69,7 @@ sourceSets {
changelog { changelog {
version.set(properties("pluginVersion")) version.set(properties("pluginVersion"))
groups.set(listOf("Added", "Changed", "Deprecated", "Removed", "Fixed")) groups.set(listOf("Added", "Changed", "Deprecated", "Removed", "Fixed"))
repositoryUrl.set(properties("pluginRepositoryUrl"))
} }
// Configure detekt plugin. // Configure detekt plugin.
...@@ -149,7 +151,11 @@ tasks { ...@@ -149,7 +151,11 @@ tasks {
) )
// Get the latest available change notes from the changelog file // Get the latest available change notes from the changelog file
changeNotes.set(provider { changelog.getLatest().toHTML() }) changeNotes.set(provider { changelog.renderItem(changelog.get(properties("pluginVersion")), Changelog.OutputType.HTML) })
}
jar {
dependsOn("patchChangelog")
} }
publishPlugin { publishPlugin {
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
pluginGroup = org.jastadd pluginGroup = org.jastadd
pluginName = JastAdd pluginName = JastAdd
pluginVersion = 0.3.1 pluginVersion = 0.3.1
pluginRepositoryUrl = https://git-st.inf.tu-dresden.de/jastadd/jetbrains-plugin/
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html # See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions. # for insight into build numbers and IntelliJ Platform versions.
......
<idea-plugin> <idea-plugin>
<id>org.jastadd.JastAddGrammar</id> <id>org.jastadd.JastAddGrammar</id>
<name>JastAdd Grammar Language</name> <name>JastAdd Grammar Language</name>
<vendor email="johannes.mey@tu-dresden.de" url="jastadd.org">The JastAdd Team</vendor> <vendor email="johannes.mey@tu-dresden.de" url="jastadd.org">Johannes Mey</vendor>
<!-- please see https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html <!-- please see https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
on how to target different products --> on how to target different products -->
...@@ -32,7 +31,7 @@ ...@@ -32,7 +31,7 @@
<completion.contributor language="JastAddGrammar" <completion.contributor language="JastAddGrammar"
implementationClass="org.jastadd.tooling.grammar.GrammarCompletionContributor"/> implementationClass="org.jastadd.tooling.grammar.GrammarCompletionContributor"/>
<psi.referenceContributor implementation="org.jastadd.tooling.grammar.GrammarReferenceContributor"/> <psi.referenceContributor language="JastAddGrammar" implementation="org.jastadd.tooling.grammar.GrammarReferenceContributor"/>
<lang.refactoringSupport language="JastAddGrammar" <lang.refactoringSupport language="JastAddGrammar"
...@@ -80,7 +79,7 @@ ...@@ -80,7 +79,7 @@
<colorSettingsPage implementation="org.jastadd.tooling.java.JavaColorSettingsPage"/> <colorSettingsPage implementation="org.jastadd.tooling.java.JavaColorSettingsPage"/>
<psi.referenceContributor implementation="org.jastadd.tooling.aspect.AspectReferenceContributor"/> <psi.referenceContributor language="JastAddAspect" implementation="org.jastadd.tooling.aspect.AspectReferenceContributor"/>
<lang.elementManipulator forClass="org.jastadd.tooling.aspect.psi.JastAddAspectAstTypeName" <lang.elementManipulator forClass="org.jastadd.tooling.aspect.psi.JastAddAspectAstTypeName"
implementationClass="org.jastadd.tooling.aspect.psi.JastAddAspectAstTypeNameManipulator"/> implementationClass="org.jastadd.tooling.aspect.psi.JastAddAspectAstTypeNameManipulator"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment