Giter VIP home page Giter VIP logo

Comments (8)

arvislacis avatar arvislacis commented on June 16, 2024 1

@jens1o You can compare (with diff) both files and then try to figure out the most important differences. As I looked now - there aren't so many of them.

Anyway, it seems that original file in this repository comes from the same place as I mentioned so I don't see a big problem to replace it... And also as far as I have used the replaced file for almost a week I haven't noticed this comment problem again or other issues.

from vscode-smarty.

jens1o avatar jens1o commented on June 16, 2024

Hi, how would you expect it different?
image

from vscode-smarty.

mega1meyers avatar mega1meyers commented on June 16, 2024

That's how I would like it to look.
This is what it's doing right now.
image
I think an embedded CSS comment might be throwing the syntax off?

from vscode-smarty.

jens1o avatar jens1o commented on June 16, 2024

Could you please provide the full file? Or at least a file you can reproduce with(which you created for this issue), so I can fix it?

from vscode-smarty.

arvislacis avatar arvislacis commented on June 16, 2024

screenshot_1

^ Here is one possible example... It happens because of "<" symbol in if operator...

from vscode-smarty.

arvislacis avatar arvislacis commented on June 16, 2024

I am not sure that this fully solves all problems and/or don't introduce new but one solution is to replace syntaxes/smarty.tmLanguage with this file: https://github.com/textmate/php-smarty.tmbundle/blob/master/Syntaxes/Smarty.plist - then everything seems to work fine.

It would be nice if @jens1o could check this and update extension if needed.

from vscode-smarty.

jens1o avatar jens1o commented on June 16, 2024

@arvislacis I'm fine with a pull request, but I would prefer not to replace a file, but to actuaally fix the problem. :/

from vscode-smarty.

jens1o avatar jens1o commented on June 16, 2024

Perfect! Thanks for your investigations :)

from vscode-smarty.

Related Issues (20)

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.