Giter Site home page Giter Site logo

Comments (6)

angelozerr avatar angelozerr commented on June 14, 2024

I have no this problem with my sample project.

Are you sure that you have not several time this CSS ID?

@gamerson could you share a simple project which causes your problem please?

from eclipse-wtp-webresources.

gamerson avatar gamerson commented on June 14, 2024

ok after looking at this again it is because I added a new web resource provider extension point that added all the css and scss files in the current project. But it seems that is already been added by the Preferences provider so I don't need to add my own, not even sure why I added it in the first place. Closing sorry for the noise.

from eclipse-wtp-webresources.

angelozerr avatar angelozerr commented on June 14, 2024

Closing sorry for the noise.

No problem @gamerson

I tell me if we should or not add a filter for that :

  • pros : you have not your problem
  • cons : you don't see that your new provider search too the sam ething than preferences provider.

from eclipse-wtp-webresources.

gamerson avatar gamerson commented on June 14, 2024

actually a filter would be nice for webresources collector to filter duplicate names maybe? Look at what happens because in Liferay IDE we are adding all of the bootstrap sass files (lots of duplicate names) because of how Eclipse css model parsers sass files.

http://i.imgur.com/8odPd5n.png

from eclipse-wtp-webresources.

angelozerr avatar angelozerr commented on June 14, 2024

I have done that because CSS class name can be declared in several location.

I think there is several case :

  • for completion, we should display one CSS class name and merge the whole CSS text coming from the same CSS class name.
  • for hyperlink, we should keep the behaviour as today.
  • for text hover, we should do the same thing than completion (merge teh same CSS class name).

from eclipse-wtp-webresources.

gamerson avatar gamerson commented on June 14, 2024

Agreed, the only thing for completion is when it displays the hover info on
the right the name might not actually match the correct originating file
(at least from developer's perspective) but I think that is ok consider
they would rather not see the duplicates.

On Mon, Oct 6, 2014 at 9:21 PM, Angelo [email protected] wrote:

I have done that because CSS class name can be declared in several
location.

I think there is several case :

  • for completion, we should display one CSS class name and merge the
    whole CSS text coming from the same CSS class name.
  • for hyperlink, we should keep the behaviour as today.
  • for text hover, we should do the same thing than completion (merge
    teh same CSS class name).


Reply to this email directly or view it on GitHub
#18 (comment)
.

Greg Amerson
Liferay Developer Tools
Liferay, Inc. www.liferay.com

from eclipse-wtp-webresources.

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.