abrookins / WrapToColumn

An IntelliJ plugin that wraps text
Apache License 2.0
62 stars 12 forks source link

Bug: PHP line following series of line comments becomes commented out #38

Closed bronius closed 3 years ago

bronius commented 3 years ago

Given:

            // Limiting to the current user so we do not subquery chatbot fields on _all_ users'
            // chatbot+ fields.
            $sub_query->condition('entity_id', $this->currentUser->id());

with cursor in the first line (or anywhere in the commented lines), invoke the Wrap Paragraph to Column function.

Expected:

            // Limiting to the current user so we do not subquery chatbot fields
            // on _all_ users' chatbot+ fields.
            $sub_query->condition('entity_id', $this->currentUser->id());

Instead:

            // Limiting to the current user so we do not subquery chatbot fields
            // on _all_ users' chatbot+ fields.
            // $sub_query->condition('entity_id', $this->currentUser->id());
leoluk commented 3 years ago

Duplicate of #29

abrookins commented 3 years ago

Should be fixed in 1.7.0, now published to the Plugins Marketplace.