Comments (6)
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.
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.
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.
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.
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.
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)
- Support dynamic path (ex : JSP expression) HOT 2
- Too much proposals with css autocompletion HOT 2
- nick HOT 2
- Skip validation when embedded PHP script is used HOT 2
- Regular Exception since update to Luna 4.4.1 JEE packaging HOT 1
- Closed project is causing too many stacktraces HOT 2
- Release 0.8.0 in January HOT 2
- Mark folders as web root folders HOT 12
- Undefined JavaScript/Css file HOT 2
- Data URI schemes should not be marked as errors HOT 5
- Avoid validating class values with PHP code inside HOT 5
- Unable to disable validation HOT 3
- Completion, Hyperlink, Validation, Hover support for a/@href, iframe/@src HOT 1
- Rename resource => refactoring
- ./ and / links
- Exclude some folders from validation HOT 1
- CSS class validator does not respect web root folders HOT 5
- Support resolving of directives and CSS classes in AngularJS templates HOT 4
- Support for GitHub pages templates, Jekyll
- Give up WTP Webresources HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eclipse-wtp-webresources.