File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
src/main/kotlin/space/whitememory/pythoninlayparams/types/hints Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
33## [ Unreleased]
4+ ### Fixed
5+ - ` TypedDict ` subclasses being displayed as a regular dict in type hints
46
57## [ 0.3.0] - 2022-09-25
6- ### Added
7- - Type hints now support ` async ` functions [[ #15 ] ( https://github.com/WhiteMemory99/Intellij-Python-Inlay-Params/pull/15 )]
8- - Made type hints clickable, ` Ctrl+LMB ` to open the object reference [[ #17 ] ( https://github.com/WhiteMemory99/Intellij-Python-Inlay-Params/pull/17 )]
8+ ### Added
9+ - Type hints now support ` async ` functions [[ #15 ] ( https://github.com/WhiteMemory99/Intellij-Python-Inlay-Params/pull/15 )]
10+ - Made type hints clickable, ` Ctrl+LMB ` to open the object reference [[ #17 ] ( https://github.com/WhiteMemory99/Intellij-Python-Inlay-Params/pull/17 )]
911
10- ### Changed
11- - Parameter hints rewritten - now more reliable, with complete syntax coverage, including chained calls support.
12+ ### Changed
13+ - Parameter hints rewritten - now more reliable, with complete syntax coverage, including chained calls support.
1214
13- ### Fixed
14- - Redundant parameter hints for names that start with "` __ ` " or 1 character long
15+ ### Fixed
16+ - Redundant parameter hints for names that start with "` __ ` " or 1 character long
1517- Display of unnecessary type hints [[ #16 ] ( https://github.com/WhiteMemory99/Intellij-Python-Inlay-Params/pull/16 )]
1618
1719## [ 0.2.1] - 2022-09-23
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ enum class HintGenerator {
7272 type : PyType ? ,
7373 typeEvalContext : TypeEvalContext
7474 ): List <InlayInfoDetails >? {
75+ if (type is PyTypedDictType && ! type.isInferred()) return null
7576 if (
7677 type is PyCollectionType
7778 && type.name != null
You can’t perform that action at this time.
0 commit comments