Thanks in advance for your bug report!
What happened?
When the "language-php" package is enabled and I'm in a PHP script, if I create a "(" character but don't close it, this screws up the formatting for everything after it for the rest of the script, whether it's 10 lines or 7000 lines and regardless of whether or not I later close the parenthesis.
This seems like it's an issue that's been around and mentioned before in the Atom issues, but since it hasn't been addressed in years and is now an issue in Pulsar, I figured I should mention it.
I propose that we add some kind of logic to the language-php package that says, if we can't find a closing parenthesis character ")" by the end of the line, we reset the formatting to normal.
Could also add some kind of toggle to turn off the string formatting in case it annoys anyone.
Pulsar version
1.110.0
Which OS does this happen on?
🪟 Windows
OS details
Windows 10 Pro
Which CPU architecture are you running this on?
x86_64/AMD64
What steps are needed to reproduce this?
- Enable language-php package with default settings,
- open a php file,
- insert a string variable with the start of parenthesis "(" character in the string,
- create more lines of code after this string and notice the later lines are all appearing to be part of the string.
Additional Information:
Old issue: atom/language-php#442

Thanks in advance for your bug report!
What happened?
When the "language-php" package is enabled and I'm in a PHP script, if I create a "(" character but don't close it, this screws up the formatting for everything after it for the rest of the script, whether it's 10 lines or 7000 lines and regardless of whether or not I later close the parenthesis.
This seems like it's an issue that's been around and mentioned before in the Atom issues, but since it hasn't been addressed in years and is now an issue in Pulsar, I figured I should mention it.
I propose that we add some kind of logic to the language-php package that says, if we can't find a closing parenthesis character ")" by the end of the line, we reset the formatting to normal.
Could also add some kind of toggle to turn off the string formatting in case it annoys anyone.
Pulsar version
1.110.0
Which OS does this happen on?
🪟 Windows
OS details
Windows 10 Pro
Which CPU architecture are you running this on?
x86_64/AMD64
What steps are needed to reproduce this?
Additional Information:
Old issue: atom/language-php#442
