Code Monkey home page Code Monkey logo

Comments (14)

jamiewilson avatar jamiewilson commented on June 16, 2024

I agree. I'll see if I can fix that in the next couple of days. Thanks for the feedback.

from predawn.

jamiewilson avatar jamiewilson commented on June 16, 2024

Hey @samnabi I don't write PHP, so let me know if this is helpful or wierd.

screen shot 2014-03-07 at 4 28 46 pm

from predawn.

samnabi avatar samnabi commented on June 16, 2024

The only change I'd make would be to keep the $ the same colour as the variable name. Other than that, looks great!

from predawn.

jamiewilson avatar jamiewilson commented on June 16, 2024

I updated that variable punctuation to match the name. Thanks for your help.

from predawn.

samnabi avatar samnabi commented on June 16, 2024

Beautiful. Thanks a lot!

from predawn.

pstinnett avatar pstinnett commented on June 16, 2024

@jamiewilson I think you may want to check out the color styles for text within single quotes in PHP. I'm seeing some inconsistencies (see attached screenshot, gray vs light blue color)

screen shot 2014-03-13 at 1 18 04 pm

from predawn.

jamiewilson avatar jamiewilson commented on June 16, 2024

Uh oh. @pstinnett which would you prefer. the gray or the light blue?

from predawn.

pstinnett avatar pstinnett commented on June 16, 2024

@jamiewilson Light blue for sure. The gray is great for comments but probably shouldn't match.

Sidenote - is there a tmTheme overview anywhere you'd recommend? Would love to help contribute for some of this stuff (especially since you mentioned you don't use PHP regularly!)

from predawn.

jamiewilson avatar jamiewilson commented on June 16, 2024

I wish. There is very little documentation out there. I've learned strictly by trial and error. If you put the caret in a piece of code and press Opt + Cmd + P it show you the scope names in the status bar. But it can't be copied and pasted and only stays visible for a few seconds. Ah! annoying.

But please help in any way you can! Package control is updated through the Release tags, so you can submit pull requests directly to the master branch. Thanks!

from predawn.

jamiewilson avatar jamiewilson commented on June 16, 2024

Also, I removed that single quote color. It is now light blue. but I'll hold off on a new release if you have other changes you'd like to make.

from predawn.

pstinnett avatar pstinnett commented on June 16, 2024

@jamiewilson Thanks for the quick work! I'll start messing around too but in the meantime thought I'd post this:

I pulled that fix but I'm still seeing some issues / inconsistencies. It's definitely fixed in the example I posted up but just glancing through some other files I see some issues.

Specifically when the single quote is preceded by a forward-slash (see difference in lines 108 and 109 in attachment.)

screen shot 2014-03-13 at 1 33 54 pm

from predawn.

jamiewilson avatar jamiewilson commented on June 16, 2024

Okay, I'll check that out. Could you send me several of your php files? Also, there is this tmTheme editor, but I don't find it very easy to use.

http://tmtheme-editor.herokuapp.com/

from predawn.

pstinnett avatar pstinnett commented on June 16, 2024

Sure thing - here's a link to the same file I was referencing.

https://raw.github.com/focuslabllc/ee-master-config/master/config/config.master.php

from predawn.

jamiewilson avatar jamiewilson commented on June 16, 2024

@pstinnett cool. also, I just added a color key in the xml file. Should a make it a little easier to apply changes.

from predawn.

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.