EL content assist in Eclipse Indigo 3.7? - eclipse

I'm not able to use content assist (auto complete, etc.) for el in jsp files in eclipse indigo (wtp). I have create a new workspace and a new dynamic web project but no success.
Any idea how to enable it if possible at all (without installing myeclipse or jboss Tools)?
Thanks.

Make sure this isn't linked to bug 307240: Context Assistant for Expression Language does not work if no runtime is selected
Steps to Reproduce:
Open eclipse
File > New > Dynamic Web Project
Fill in everything, but do not select a target runtime
File > New > JSP file
Type ${pageContext. and hit CTRL-SPACE (mac)
Actual result:
You do not see any suggestions: No default Proposals

Related

Eclipse jsp automatic validation

In my old Eclipse (version 3.4.2) if I wrote an error in a java fragment inside a .jsp page (example a variable that doesn't exist) I automatically and immediately saw the problem (red line under
the word).
In Eclipse neon I have to manually validate the page (right click, validate) to obtain the same result.
Is it possible to configure the new version with the old feature?
You can try to go to Window > Preferences > Java > Compiler > Errors/Warnings
and set up your things here.
This feature is also included in Eclipse Neon, don't worry ;) but if you really struggle hard, I suggest an uninstall/reinstall

How is the Eclipse sample project "Multipage Editor" supposed to run?

I installed Eclipse Luna in XP yesterday and opened the sample project "Mutlipage Editor". When I click "Run" all that happens is another copy of Eclipse opens looking like the first copy but all the workspace boxes are empty.
I guess I was expecting either an emulator to start or the ability to run it on my Android phone. Can anyone get me started please?
When you run an Eclipse plugin it has to run in an instance of Eclipse so that all the other plugins that the plugin depends on are available.
The default 'Multipage Editor' is associated with a file type (.mpe I think). So create a file with that type and open it to see the editor.
You can also write an Eclipse Rich Client Program (RCP) where you can select the available plugins and the look of the UI, but this requires additional code.

JavaScript content assist not working for JSP file in Eclipse Kepler

I am using Eclipse Kepler to develop App Engine application.The autocomplete feature is not working for JSP files and am not sure if I am missing any Property settings.
Would be glad if someone can let me know what needs to be done to enable auto-complete feature?
PS : FYI, I have the WTP tool already installed
You have to be working with a file in a JavaScript Source Folder. To do that, you can create a JavaScript project or enable an existing project from its Configure context menu (right-click->Configure->something JavaScript). Once that's done, if it wasn't opened automatically, bring up the project's JavaScript Include Path property page and create or mark an existing folder as a Source Folder. That should enable it for both JS files and web pages.
Have you tried closing the project and opening it again. That would clear the cache and get things running.
right click project > close project
right click closed project > open project

Eclipse managed bean binding on pages

Neither Ctrl+click nor Ctrl+space works for beans on pages, i.e. i can't go into bean from page just moving mouse on its name and pressing Ctrl+click, and i don't get content assist when typing some element's value using bean value. All this perfectly works in eclipse 3.5, but not in eclipse 3.7, neither in JSP editor nor in HTML editor. How can i make it work?
You might need a plugin for do so. Take a look at what plugins are you starting in Preferences -> general -> startup and shutdown and compare with 3.5.
If you find that a missing plugin is needed install it. You can do so (depending on the version) by Help -> Eclipse Marketplace.
Your plugins are Help -> Install new software -> in this screen there is a link to "What is already installed"
For me I did the following and it worked:
Right Click on project -> properties
Go to Project Facets
Click on "convert to faceted form"
Check in Java, Dynamic Web Module and Java Server Faces in my case I put it Version 1.8
For Java Server Faces, click on Further Configuration Required -> and choose the proper for your case.
Apply and close.

How to configure Ext GWT with GWT Designer?

I have problem with configuration GXT with GWT Designer. I have all new releases of Eclipse, GWT plugin and GXT and cannot configure GXT to work with GWT Designer. I setup my project so that I can compile my GXT project and run it in browser.
However I can't design in GWT Designer. I don't see any GXT widget in GWT Designer.
All forums reffer to Google Web Toolkit -> Configure for using Ext-GWT (GXT) but I don't have this option.
I have done all steps defined in setup.txt of GXT.
The only thing that is not working is GWT designer do not see GXT widgets.
Regrads,
Folks:
It simply appears that GXT 3 is not supported in the latest version of Windowbuilder. Period. All the instructions given in this thread work well for GXT 2, but GXT 3 has radical differences (different styling mechanisms, for one thing!) that Windowbuilder cannot seem to handle.
This is a bug that needs to be fixed in Windowbuilder.
I see this is an old article, but might still help people with the same problem.
If you right click on your gwt.xml file, the options are visible, if you click on your project, the options are not visible. That's the problem I was having.
I had this problem. I solved by installing:
(If you are using Eclipse Indigo)
http://dl.google.com/eclipse/inst/d2gwt/latest/3.7
Just check for the version you have. That should do the trick.
"select your GWT module file and right-click to select the Google Web Toolkit > Configure for using Ext GWT (GXT)" http://code.google.com/webtoolkit/tools/gwtdesigner/features/gwt/gxt.html
Read setup.txt in ext-gwt zip:
STEP 1 -> Create a Google Web Application Project project within Eclipse.
Copy the contents of the /resources folder in the download to a {foldername} location within your war folder.
Substitute {foldername} with the name of the folder you've created for resources within your war folder.
STEP 3 -> Add the following stylesheet to your host page.
STEP 3b -> If you are using Charts, add the following script to your host page.
STEP 4 -> Add the following entry to you projects module xml file.
STEP 5 -> Eclipse Setup (should be similar for other development environments)
These instructions assume you have a existing project and launch configuration.
Add gxt.jar to the project.
a. Right click on project name in 'Package Explorer'.
b. Select 'Properties' from content menu.
c. Select 'Java Build Path'.
d. Select 'Libraries' tab.
e. Add the gxt.jar either with 'Add JARs...' or 'Add External JARs...'.
Add GXT jar to launch configuration.
a. Choose Run / Open Run Dialog.
b. Select your appropriate launch configuration under 'Java Application'.
c. Select the 'Classpath' tab.
d. Add the gxt.jar to the classpath.
that happened to me too. I had to install WindowBuilder Pro from the update site (you can found it here) and after that the "Google Web Toolkit > Configure for using Ext GWT (GXT)" option appeared.
Support for 3rd party components like GXT and SmartGWT is only available in the full version of GWT Designer available here...
http://code.google.com/webtoolkit/tools/download-gwtdesigner.html
Install the full version and then follow the instructions here...
http://code.google.com/webtoolkit/tools/gwtdesigner/features/gwt/gxt.html
I just had the same problem. The only way I got it working is this:
I installed the full version of GWT designer as recommended by Eric Clayberg's answer (http://code.google.com/webtoolkit/tools/download-gwtdesigner.html)
However, the instructions at http://code.google.com/webtoolkit/tools/gwtdesigner/features/gwt/gxt.html didn't work, because there simply isn't any "Google Web Toolkit > Configure for using Ext GWT (GXT)" for me either.
So instead, I created a new Project, using: New Project > WindowBuilder/GWT Designer/Model/GWT Java Project:
I went through the Wizard, clicked Finish, and then it asked me about a GXT installation. The important thing is: You must select this now, I don't see any way to add this later. So navigate to a GXT installation folder. In that folder, I had to rename my "gxt-*.jar" to "gxt.jar" first, otherwise it couldn't be found (!).
Now, when opening a Java file using "Open With > GWT Designer", and selecting the Design view tab at the bottom of the editor - voila, the GXT menus appear.