Comments (3)
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.75. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
from vscode-blade-formatter.
@Dozorengel
Thanks for feedback! I'm glad to see how this extension used.
It seems there is two or more syntax causes this behaviour.
- shorthand php open tag (
<?= ?>
). - line splited blade escape tag
{!!
$face_desc_mb_hide !!}
- mixed HTML unclosed open tag and blade directives.
To workaround this
- replace shorthand php tag to fully qualified php tag
<?= ?>
-><?php ?>
- close html tag within directive
@if (isset($face_class) && $face_class === 'face-narrow')
<div class="col-md-7 face__wrapper"></div> # close tags within directive
@else
<div class="col-md-6 face__wrapper"></div>
@endif
- remove line return in escaped blade tag
{!! $face_desc_mb_hide !!}
But I think it should be support this syntax also. I'll try fix this behaviour.
from vscode-blade-formatter.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
from vscode-blade-formatter.
Related Issues (20)
- [Formatting Bug]: @elsecan blade directive is ignored HOT 1
- [Formatting Bug]: not adjusting my text in text format HOT 1
- [Formatting Bug]: Added spaces around hypen even when string in quotes HOT 1
- [Formatting Bug]: HOT 2
- [Formatting Bug]: HOT 2
- [Formatting Bug]: Showing red color
- [Bug]: After the installation, blade files lose syntax highlight! HOT 5
- [Formatting Bug]: HOT 3
- [Formatting Bug]: Components params are broken after formatting - since v0.23 HOT 2
- [Formatting Bug]: Formatter broken php code inside @php @endphp blade tags HOT 1
- [Formatting Bug]: spaces contained in string are broken up when wrapping text. HOT 2
- [Formatting Bug]: The extension ignores, some properties of the main configuration file HOT 2
- [Feature]: Edge Template Support HOT 1
- [Formatting Bug]: Custom directive incorrectly indented HOT 1
- [Bug]: HTML syntax highlighting and html suggestions in .blade.php is gone when I install this extension HOT 4
- [Bug]: Problem with syntax HOT 1
- [Bug]: Extension doesn't work when installed onto a cPanel account HOT 1
- [Formatting Bug]: PHP new with variable name from associative array
- [Formatting Bug]: Multiplying `values` attribute!
- [Feature]: Exclude path by default
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-blade-formatter.