Code Monkey home page Code Monkey logo

Comments (6)

ejmr avatar ejmr commented on August 16, 2024

Thanks a lot. I'll put this on my list of things to do.

from php-mode.

ejmr avatar ejmr commented on August 16, 2024

I'm making some progress on this. Initially the highlighting support will probably be simply for the annotations that appear in Symfony, although I'm looking for a more general solution. I would like to provide special highlighting to anything starting with '@' but that would conflict with the use of '@' outside of comments.

from php-mode.

dmj avatar dmj commented on August 16, 2024

https://gist.github.com/3889487

from php-mode.

ejmr avatar ejmr commented on August 16, 2024

Thank you dmj for the code. Is this code you wrote? I just want to make sure I attribute it to the right person if I end up applying it to php-mode.

from php-mode.

dmj avatar dmj commented on August 16, 2024

Yes, that's my production. Attribution would be: David Maus [email protected] -- Originally I wanted to publish this as a standalone package `php-annotations' with extended support for different annotation types (phpdoc, phpunit etc.) but decided that it is not worth the effort to write such extended support. Having the annotations hightlighted is good enough for me.

from php-mode.

ejmr avatar ejmr commented on August 16, 2024

Thank you for the contribution dmj. I added your code into php-mode and updated the master branch with it. If you add more detailed support for annotations please let me know. I'd certainly welcome support for those.

from php-mode.

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.