Skip to content

Add comment/uncomment options on .properties, .cnf, .env files #6677

@parallels999

Description

@parallels999

text/x-apache-conf or text/x-properties

Description

image
These options are not available for files of type properties, where the comment symbol is # in the first character of the line.
https://github.com/spring-projects/spring-framework/blob/main/gradle.properties

properties:

# my_prop = true
my_other_prop = true

cnf:

# my_prop = true
my_other_prop = true

env:

# my_prop = true
my_other_prop = true

Use case/motivation

It would be very helpful to comment/uncomment properties blocks when they are large and you are trying to perform manual testing.

Related issues

Also .cnf, .env files doesn't have highligthing, they are same as .properties
https://github.com/lightim/CA.php/blob/master/openssl.cnf
https://github.com/laravel/laravel/blob/10.x/.env

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Contribution welcomeAn issue or feature not currently being worked on, but a contribution would be welcomed!Editorkind:featureA feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions