Another code wrapping & formatting question

In the  <template> section of several Vue 3 components, I can't seem to find the item to change in order to stop PHPStorm from breaking up anchor tags and even `v-if` directives, as shown below. I've tried turning off all kinds of wrapping and line breaks in Code Style for vue template, HTML, etc. The line length is 120, so that shouldn't be causing the line breaks. Then I edit the code. But when I reformat, the line breaks come back. 

 

<template
  v-if="
    courseName ===
    'Interdisciplinary Professional Programs (InterPro)'
  "
>
  {{ page.props.county.county_name }} County businesses and
  organizations with employees taking
  <a href="https://interpro.wisc.edu/"
    >Interdisciplinary Professional Programs</a
  >
  (formerly Engineering Professional Development) classes from the
  UW College of Engineering in {{ props.currentYears }}, listed by
  name and city.
</template>
0
5 comments

Could you please provide your settings so that we can reproduce the issue? You can export them via File > Manage IDE Settings > Export settings, then upload the archive to https://uploads.services.jetbrains.com and let me know the upload ID.

0

Oksana Chumak Did I miss a response somewhere along the line? I never heard back from anyone….

0

Hello Peter,

My last response was on January 18th, I asked you to export your settings, upload them, and let me know the upload ID. Have you seen it?

0

Hi Oksana, I thought that I did as you asked. I definitely recall uploading the settings, but I can't recall how I sent the ID. (черт возь…). Oh well, let's forget it. I don't know whether I'm ever going to be able to master all of the formatting options. At times it seems as though the Editor just has a mind of its own and ignores the settings. 

0

> At times it seems as though the Editor just has a mind of its own and ignores the settings. 

If you still would like us to look into it, you can re-upload the settings and share the upload ID :)

0

Please sign in to leave a comment.