Coder Social home page Coder Social logo

Comments (6)

muametgrooby avatar muametgrooby commented on July 28, 2024 1

Thank you, its perfect!

from php-parameter-hint.

robertgr991 avatar robertgr991 commented on July 28, 2024

Hello,

Right know it's not possible to set the background opacity and padding, but it can be done. I will try to add this options these days.
In the meantime, you can try and lower the left and right margin of the hints, maybe it can help.
It's possible to change it from the settings:

change_margin

from php-parameter-hint.

robertgr991 avatar robertgr991 commented on July 28, 2024

@muametgrooby I just published a new version with configuration settings for the vertical and horizontal padding. Also, for the opacity, you can actually use the #RRGGBBAA notation for the text and background color, something like this:

decoration_opacity

Let me know how this works and close the issue if everything is fine. Thx.

from php-parameter-hint.

muametgrooby avatar muametgrooby commented on July 28, 2024

@muametgrooby I just published a new version with configuration settings for the vertical and horizontal padding. Also, for the opacity, you can actually use the #RRGGBBAA notation for the text and background color, something like this:

decoration_opacity

Let me know how this works and close the issue if everything is fine. Thx.

Hello, apparently even if horizontal padding is at 0, theres still padding/spacing at the right and the left side, tried negative values didnt work.

image

There seems to be a white space right after the colon, how do i get rid of that? If its possible. Great extension btw i love it!

from php-parameter-hint.

robertgr991 avatar robertgr991 commented on July 28, 2024

Yes, you are right, there is a space both before and after the hint, with the new padding settings I may remove these white space characters so it is fully customizable, but right now it's not possible, I have to publish another version. Maybe tomorrow.

You can try to decrease the space between the parentheses and the parameter as I've shown in my first comment, but it's not exactly what you want.

from php-parameter-hint.

robertgr991 avatar robertgr991 commented on July 28, 2024

@muametgrooby

I removed the white spaces in the last version, but I increased the default horizontal padding so the decorations look like before, now you can set the padding to 0 and there won't be any spaces left.

from php-parameter-hint.

Related Issues (8)

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.