Recognise !---
as a document separator in properties files
#1129
Labels
for: eclipse
something that is specific for Eclipse
for: vscode
something that is specific for VSCode
theme: property-editing-support
type: enhancement
Milestone
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 notabc
:Current Behaviour
With the properties file, above, the editor raises errors for duplicate properties
abc
, and notdef
, 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.
The text was updated successfully, but these errors were encountered: