duyluonglc / vscode-edge

This package adds syntax highligting for Edge templating engine
MIT License
43 stars 16 forks source link

No syntax highlighting #30

Open cawa-93 opened 2 years ago

cawa-93 commented 2 years ago

Component name not highlighted

зображення

```html @!input({ label: 'Destination URL', type: 'url', name: 'original', value: values.original, error: flashMessages.get('errors.original'), placeholder: 'https://', className: 'mb-4', description: 'Long link you want to shorten', maxlength: 255, }) ```

In object key-value pairs not highlighted зображення

```html @!component('cabinet/components/form-change-shortlink', { layouts, editLinkId: editLink?.id, userTemplates, pixels, values: { ...request.qs(), ...flashMessages.all(), layout: { ...(request.qs()?.layout || {}), ...(flashMessages.all()?.layout || {}), } } }) ```

In attributes highlighting mismatched зображення зображення

In attributes parentheses are not highlighted зображення

```html {{ route('cabinet.links.change.activeState.handler', {}, {qs: {id: editLink.id, state: !editLink.isLayoutActive} }) }} ```
thetutlage commented 10 months ago

Checkout the official extension https://marketplace.visualstudio.com/items?itemName=AdonisJS.vscode-edge