[properties] IDEA-248873 - Cannot programmatically add comments to properties file
authorNikita Eshkeev <nikita.eshkeev@jetbrains.com>
Wed, 21 Oct 2020 08:24:38 +0000 (11:24 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Wed, 21 Oct 2020 08:33:55 +0000 (08:33 +0000)
commit4892dae6ca1c0e15970d8d5ce2b70154c67e4edc
treed12b60a79491b6b588dab17a2274a26437f0ceb3
parentf600f9cdfb123c90e2ba3a97939d8ab840f8665f
[properties] IDEA-248873 - Cannot programmatically add comments to properties file

This patch changes the check if the left node is a comment with simple equality

Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com>
GitOrigin-RevId: 79d6250e1facfc0c25ad277b49f45d9dde7f027f
plugins/properties/properties-psi-impl/src/com/intellij/lang/properties/parsing/PropertiesParserDefinition.java