BUG ? Can't seem to be able to set HardWrap

0

Hi Cem Koker,

Which version of PhpStorm are you using? Do you have any 3rd-party plugins enabled, like Material Theme UI? Also, does the IDE behave the same in Settings | Editor | Code Style | JavaScript > Wrappings and Braces?

0

Hi Anastasiia, 


Version 2025.2.5; MacOS. Default install. No plugins.
I did reset to default settings: which seems to solve the ‘display’ issue but reformating code still wraps around 120 … 
https://share.cleanshot.com/QDDghb1C

Why such basic functionality is broken ? 

 

0

Have you already adjusted hard wrap in Settings | Editor | Code Style | HTML

0

I don't see the point of setting it to HTML file since it's a PHP file … but anyway, I set it to 999 … Code reformats php files still hard wraps at 120 … 

This feature never really worked.

 

 

 

 

 

 

0

Could you please upload the file in question and your package.json (if any) to https://uploads.services.jetbrains.com/ and let me know the upload ID. We will try to reproduce it. Thanks!

0

Sorry for the delay.

Upload id: 2025_12_03_pf6hKnPH3zB438wT4rfbi1 (file: index.blade.php)

 

0

It always splits lines like these:
<a href="{{ $game->external_links['steam'] ?? '#' }}" class="btn btn-success w-100" target="_blank">

 

0

Thanks! Still not reproducible for me. Would it be reproducible in a new empty project? Also, is there an EditorConfig file in your project?

Just in case, which Hard wrap value is set in `Settings | Editor | Code Style`?

0

请先登录再写评论。