Skip to content

Commit 697f949

Browse files
committed
Update settings descriptions
1 parent 06e553c commit 697f949

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## [Unreleased]
44
### Added
55
- Detail plugin settings that let you disable parameter hints selectively
6-
- Introduce new inlay hints - type annotations for variables and functions return types [[#6](https://github.com/WhiteMemory99/Intellij-Python-Inlay-Params/pull/6)]
6+
- Introduce new inlay hints - optional type annotations for variables and functions return types [[#6](https://github.com/WhiteMemory99/Intellij-Python-Inlay-Params/pull/6)]
77

88
### Changed
99
- Drop support for build 212 and below due to changes in the plugin

src/main/kotlin/space/whitememory/pythoninlayparams/types/functions/PythonFunctionInlayTypeHintsProvider.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import javax.swing.JComponent
1010
class PythonFunctionInlayTypeHintsProvider : InlayHintsProvider<NoSettings> {
1111

1212
override val key: SettingsKey<NoSettings> = SettingsKey("python.inlay.function.types")
13-
override val name = "Function type hints"
14-
override val description = "Show the return type of functions in the editor"
13+
override val name = "Function return types"
14+
override val description = "Show the return type of functions"
1515
override val previewText = null
1616

1717
override val group = InlayGroup.TYPES_GROUP

src/main/kotlin/space/whitememory/pythoninlayparams/types/variables/PythonVariablesInlayTypeHintsProvider.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class PythonVariablesInlayTypeHintsProvider : InlayHintsProvider<PythonVariables
1919
)
2020

2121
override val key: SettingsKey<Settings> = settingsKey
22-
override val name = "Variables type hints"
23-
override val description = "Show the type of variables in the editor"
22+
override val name = "Type annotations"
23+
override val description = "Show the type annotations for variables"
2424
override val previewText = null
2525

2626
override val group: InlayGroup = InlayGroup.TYPES_GROUP
@@ -46,7 +46,7 @@ class PythonVariablesInlayTypeHintsProvider : InlayHintsProvider<PythonVariables
4646

4747
override fun getCaseDescription(case: ImmediateConfigurable.Case): String? = when (case.id) {
4848
"hints.class.attributes" -> "Show type hints for class attributes."
49-
"hints.general" -> """Enable\Disable plugin. Show type hints for all variables."""
49+
"hints.general" -> """Enable\Disable type hints for variables."""
5050
else -> null
5151
}
5252

0 commit comments

Comments
 (0)