mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
PropertiesParserDefinition.spaceExistenceTypeBetweenTokens didn't use to check if the left node is a comment and always returned SpaceRequirements.MAY, which resulted in merging newly added comment with the property the comment is for. This patch adds a check if the left node is a comment and if so the method returns SpaceRequirements.MUST_LINE_BREAK which forces IDEA insert a newline between newly created comment and the property the comment is for Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com> GitOrigin-RevId: 703548e456b129f01486c8f5a5775923002a336c
47 B
47 B