ahmadawais / shades-of-purple-vscode

🦄 Shades of Purple offers a hand-picked selection of bold and vibrant shades of purple that will transform your code into a visually stunning masterpiece. With its carefully crafted color palette, this theme brings a sense of style, elegance, and whimsy to your favorite code editor, making your coding sessions a delightful journey of creativity.
https://marketplace.visualstudio.com/items?itemName=ahmadawais.shades-of-purple
Other
733 stars 62 forks source link

Laravel support #10

Closed pwsandoval closed 6 years ago

pwsandoval commented 6 years ago

ahmadawais commented 6 years ago

Explain the issue ☝😮 Also give me the code file in text format to make it better.

pwsandoval commented 6 years ago

The highlight for a blade file is not correct it does not have the right color, lines 11 and 13 are not colored the same color as the @forelse of line 9.

Other example:

ahmadawais commented 6 years ago

Pretty sure this is a VSCode issue but can you send me this code as I asked for before and I can test it on my end.

ahmadawais commented 6 years ago

@pwsandoval Kindly respond.

pwsandoval commented 6 years ago

Now I do not have the theme installed, so I can not see if it has been corrected with the last update, however, I am sending a screenshot and an example code.

@empty($record)
    <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Nostrum consequatur blanditiis aut, illo excepturi tempora.</p>
@endempty

@section('content')
    <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Nostrum consequatur blanditiis aut, illo excepturi tempora.</p>
@endsection

@if (is_array($message))
    <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Nostrum consequatur blanditiis aut, illo excepturi tempora.</p>
@else
    <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Nostrum consequatur blanditiis aut, illo excepturi tempora.</p>
@endif

Screenshoit

ahmadawais commented 6 years ago

@pwsandoval I'd really appreciate if you try 🦄 Shades of Purple out again.

I spent hours today to make my theme support Blade syntax. Also the recent v3.0 release has this support. Make sure theme is up to date.

https://marketplace.visualstudio.com/items/ahmadawais.shades-of-purple/changelog

RELEASE: 3.0.0

NEW

📦 Laravel Blade (blade) language support demo 5928f1d
📦 Laravel Blade (blade) Construct Colors 0d99e93
📦 Laravel Blade (blade) punctuation colors dee45bb
📦 Laravel Blade (blade) language keywords color f808b26

IMPROVEMENT

👌 Modern JS String 86874ca

FIX

🐛 Stop it lint 45d4d3a

DOCS

📖 Laravel Blade Loops b162f05
📖 More blade examples 2db1717
📖 Laravel Blade Switch Case 6a3675f
📖 Laravel Blade Service Injection Synctax 02b3d31
📖 Dummy text 5156432
📖 Basic Laravel Blace 74db2b1
📖 Laravel Blade Basic d95796a
📖 log f2fc048

I'll be looking forward to your feedback but closing this issue as it has been fixed. Peace! ✌️

ahmadawais commented 6 years ago

This is what the blade syntax looks like after enabling the syntax

  1. Install "Laravel Blade Snippets" extension for syntax support
  2. Select Laravel Blade (blade) language for this file

image Peace! ✌️

pwsandoval commented 6 years ago

Now it looks good! (Your font is Operator?)

ahmadawais commented 6 years ago

@pwsandoval Awesome! 💯Hope so you'd consider coming back. Always happy to make the theme better for developers.

Yes, Operator Mono. Read here about what I use https://AhmadAwais.com/uses

Peace! ✌️