Skip to content

application.properties issues  #97

@akashgupta2703

Description

@akashgupta2703

Hi,

I have recently migrated from sts 3.9.5 to sts 4.0. After importing projects to new workspace, I am facing few issues related to application.properties file.

  1. If I open the file using 'Generic Editor - Spring properties', the toggle comment (or CTRl+/) option is not working and I have to put # in front of every property to comment it out. This is working fine if I open the property file using 'Properties File Editor'.

  2. Quick-fix for unknown properties is showing as 'No suggestions available' for both Generic Editor and Properties File Editor. If I remember correctly, I was able to fix unknown properties by adding meta-data using quick-fix option. Moreover, there is no option to configure this in preference now so that it does not show warning. When using previous versions of STS, there was a option in preferences (Spring -> boot -> properties Editor) where it can be set to ignore. There doesn't seem to be any such option in STS4. I tried installing STS 3 add-on and tried setting this preference, even then it didn't work.

Can you please help this? I tried searching all the open and closed issues but couldn't find any question related to this; hence opening a new issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions