CSS class auto suggestion in eclipse - css

So far I have used netbeans, now I am planning to switch in eclipse , everything is fine but like in netbeans it doesn't provide me css class proposal. In netbeans if I use or write any css class , that class will be automatically appeared in css file as proposal even , in html/php file it shows class proposal from previously used class or class from framework like bootstrap , like the images below
for css file
for php file
But if I work in eclipse no css class or id proposal are showing . Like images below .
for php file in eclipse
for css file in eclipse
I am using eclipse mars and WTP WebResources plugin is installed

Reinstall the Eclipse Web Toolkit Platform packages. You can do that either using the Eclipse Marketplace tool or Install New Software under the Help menu.
WTP Tools in Eclipse marketplace
Or you can install the Genuitec Webclipse packages which provides a more robust web development environment for front end developers.
https://www.genuitec.com/products/webclipse/

Related

Can't create css,html... files in eclipse

I'm working on a spring project and i want to add some css to my views
but css files are created (in the webapp folder) as Java source files:
so there is no auto-completion, it is unrecognized as a css file.
Here is how the css file appears:
for anyone who has the same issue you can go to help -> eclipse marketplace search for html and install the tool u need, restart eclipse and it will work.
This tool from Marketplace worked for me. Refer below images.
Marketplace - Tool,
HTML - Project Explorer

eclipse does not find bootstrap css in jsp

i am developing dynamic web project with bootstrap templates every thing is working fine even view is rendering perfect.
in home.jsp file in which i have link css(bootstrap files & my customized files) file
<link rel="stylesheet" href="<c:url value="/resources/bootstrap/css/bootstrap.min.css"/>">
but in my code when i press ctrl+space it does not show me suggestion for css classes in
<div class="..">
i am using eclipse neon please help me thank
Depending on which Eclipse package you installed you may already have the CSS and HTML editors. If you don't then you can install them using Help > Install New Software. Choose the software site for your version of Eclipse in the drop down list and look at the Web, XML, Jave EE and OSGi Enterprise Development section. The Eclipse Web Developer Tools section contains the editors you want but the other sections may also be of interest.
And if this plugin for eclipse will work for you
Researching this a bit and reading over your comments it seems that you are using Eclipse with the Aptana extension. If you absolutely do not need to use the Eclipse environment you could now download the Aptana Studio 3 which is based on Eclipse. It looks just like eclipse but is Aptana. Now instead of entering this and looking for Aptana plugins you are going to go into Aptana and look for eclipse plugins. I've installed this myself and have installed several plugins that handle all sorts of things such as javascript code completion, source code formatting etc.
If you go to this site http://www.aptana.com/ you can download the software there. To get all of the plugins, you can do use this site to guide you through some terrific source code completion utilities as well as others. http://jebaird.com/2012/11/02/useful-plugins-for-aptana-studio-3.html

How to create a css file in eclipse with e(fx)clipse plug in

I have been developing a JavaFX application and when going to skin and style my application I can find how to create a css file. I have e(fx)clipse downloaded and eclipse and e(fx)clipse are both the newest versions. I have searched google and cant find anything. To create a JavaFX project file you simply go to File > New > other > and navigate to JavaFX Project. With this project it creates a css file in the package it creates. But there is no option to create a stand alone css file. Does anyone know what I'm doing wrong?
Basically the css you will use in javaFX in an ordinary .css file so:
1)Right click on src folder
2)New->File->(Give it a name).css->Finish
But:
That is the way to create a css file in Eclipse.For some reason eclipse shows some warnings into css even if e(fx)clipse is installed.

Working with SASS in a Mono WebForms Project

I am in the process of creating a website using Mono. It will be a standard webforms app (not MVC) but I'd like to use SASS for the CSS (specifically scss). However, I can't seem to get SASS to work with a mono webforms application. I tried using SassAndCoffee from NuGet and followed the standard setup instructions which said I should just reference my scss files as css files (e.g. application.scss would be referenced as application.css in a link attribute in the head. see http://blog.paulbetts.org/index.php/category/programming/mono-net/). That didn't work (or at least I'm assuming it didn't since my page rendered with no CSS and this scss has been tested on a rails platform so I know it works).
Next I tried using SquishIt which has an NSass wrapper. I followed the instructions here: http://www.cassandraking.net/wordpressapp/integrating-sass-into-net-using-nuget-and-squishit-sass/. This throw a 500 error because asp.net was unable to find NSass.Wrapper.proxy.dll. A quick google search led me to discover that because I was targeting "Any CPU", it couldn't choose between "NSass.Wrapper.x86" and NSass.Wrapper.x64". Sadly, however, MonoDevelop doesn't seem to want to give me the option to target x86 or x64 (the only option I have is to target "Any CPU").
I've kind of run out of options. Since I'm not using MVC, am I able to using SASS with a standard WebForms project using the Mono platform? Has anyone done this and can provide me some pointers?
In case anyone else runs into this, I never really found a viable solution in terms of a plugin. Honestly, Xamarin studio doesn't even seem to have a built in SASS editor as it isn't able to colour code anything in a SASS file. I ended up just using the sass command in terminal to convert a sass file to css. At a terminal prompt in the folder where your sass is kept type:
$ sass mysassfilename.sass:somecssfilename.css
To edit the sass file, I downloaded Microsoft's Visual Studio Code which has a version for the mac. It works rather well.

Plugin is not recognized in QML Desktop Appication Deployment

I have wrote a Qt Quick Desktop application in c++ qnd Qt Creator(QML) on Windows7. Now I have to deploy it.
I'm using Qt Quick Desktop Components plugin in my application, I've installed it according to these instructions, and I'm using it with:"import Qt.labs.components", as written there.
I tried adding to the .pro file:
QML_IMPORT_PATH = C:\QtSDK\Desktop\Qt\4.7.4\mingw\imports\Qt\labs\components
but I saw it's working well without it, and I removed it.
I've read a guide how to deploy such an application here, and followed it; I have now a deployment folder, with: the .exe file, the needed dll's, and a folder hierarchy like:Qt/labs/components.
in components I put the styleplugin.dll(for desktop components), and a qmldir file, with the content: plugin styleplugin, excactly like in the doc.
but when I'm runnig my application.exe from the deployment folder in another computer, I'm getting a white, empty window, means: It didn't find the .dll file.
Should you explain me please what's wrong?
I know two reasons, when app can not load plugin dll:
Some of dependecies of the plugin dll are missing or can not be found and that is why it can not be loaded. Qt Creator or Visual Studio environment can be different than the system one. For example, your IDE can modify PATH environment variable. Check plugin's dependencies availability with Microsoft Dependency Walker tool in the same environment where you launch your app.
App can not find plugin in standard directories. To check this you should specify plugin import directory explicitly:
QDeclarativeView *rootView = new QDeclarativeView()
rootView->engine()->addImportPath(QLatin1String("path/to/your/imports"));

Resources