-
Notifications
You must be signed in to change notification settings - Fork 213
Closed
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodetheme: property-editing-supporttype: enhancement
Milestone
Description
Expected Behaviour
In properties files, !---
and #---
can both be used to separate documents (as long as there's no neighbouring comment with the same prefix). The editor should recognise this when parsing properties files.
E.g. the following properties file should show an error about duplicate properties def
, but not abc
:
abc=1
!---
abc=2
def=3
#---
# some comment
def=4
Current Behaviour
With the properties file, above, the editor raises errors for duplicate properties abc
, and not def
, because it does not recognise !---
as a document separator, and it does not take notice of the # some comment
line "cancelling" the #---
separator.
Context
This causes unnecessary errors to show up in the problems view, and also causes actual errors to not appear.
Metadata
Metadata
Assignees
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodetheme: property-editing-supporttype: enhancement