Code Monkey home page Code Monkey logo

vs-latte's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vs-latte's Issues

Syntax highlights issues

I have a VS Code Theme and i found some issues with the syntax highlights support

1. No syntax highlights for Latte code inside strings

The syntax highlights doesn't detect that there is Latte code inside strings.

image

As you can see in the images above, a string has the following textmate scopes:

string.quoted.double.html
meta.attribute.id.html
meta.tag.structure.li.start.html
source.latte

However, if there is Latte code inside that string, it is supposed to be detected and give different text scopes to allow us to apply different colors to that part, but there is no difference. The textmate scopes are the same as if there is no Latte code there:

image


2. Object property no recognized

There is no textmate scope for properties

image


VS Code v1.66.0
Nette Latte + Neon v0.18.0

Issue when using arrays

if you do something like $("#element select").val({$array["key"]}) the code highlighting goes nuts. I didn't find a workaround unfortunately but maybe it's something that can be easily fixed

With array index access
image

Without it
image

There is no formatter for 'latte' files installed.

Hi,

If I try to format the document, VS code trigger this error : "There is no formatter for 'latte' files installed."
So, I've to choose HTML, format, then go back to latte.
Do you know a better process ?

Thank for the help !

Emmet expansion doesn't work

Current behavior:

  • p + Tab results in p
  • .someClass + Tab results in .someClass

Expected behavior:

  • p + Tab results in <p></p>
  • .someClass + Tab results in <div class="someClass"></div>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.