Eclipse outline view does not display a sort icon - eclipse

I would like to sort my javascript outline view. But since I have installed Eclipse 2019-06 version (EDITED : javascript & web dev version), I have no more A-Z icon to sort the methods. Any clue on what is wrong? (I have the Maximize, Minimize, View and Focus icons only)

It seems that I was able to fix it by :
downloading LiClipse on Eclipse marketplace
closing and reopenning all js files
JS files appeared in the project view with an icon with a handle bar sign and now they appear with a JS icon. And the sort icon is back.

Related

Eclipse presentation mode

Is there a plugin which supports for presentations in Eclipse ?
That means, assume the code is required to present for a couple of people and if the code is showed as it is, all tools, menu bars and all other icons are shown. Instead, I want to show only the tab which code is open (it can be a class,html or css file) in a full screen so that the PC can be connected to a projector and whole audience sees the opened tab only.
I have seen this in IntelijIdea, but not in eclipse. Any Suggestion please? I use Luna.
Maximize the tab and Ctrl+ (on Eclipse Neon)
The most recent version of the saneclipse plugin has a full screen mode.
You can use Ctrl+M which will maximize an active view or editor.
Also, use Alt+F11 for toggle full screen.

Getting Eclipse to open .html in text-editor by default?

Eclipse Juno keeps opening my HTML files in a embedded web-browser, rather than in an embedded syntax-highlighting editor.
I have installed:
Web Page Editor
Eclipse Web Developer Tools
PyDev for Eclipse
Specifically see the screenshot of my install applications.
I need it to work with Django templates + any other Python templates with HTML + normal HTML+JS files.
How do I find this editor, and select it as default?
Select Window -> Preferences from the main Eclipse menu.
Select General -> Editors -> File Associations from the Preferences menu.
For .htm and .html, left click on the extension in the upper view. Left click on the Add button to the right of the lower view to add one or more HTML editors. Left click on your favorite HTML editor and left click on the Default button to make it the default editor.
If the extension you want is missing, left click on the Add button to the right of the upper view to add the extension.
If you want to add an HTML editor to Eclipse:
Go to Help -> Install New Software
Choose the site http://download.eclipse.org/releases/your_eclipse_version
Type the filter text Web Page Editor
There should be one result. Check off the box and press the Finish button.
Now you should have the option to choose the HTML editor when opening files by right-clicking, Open With -> HTML Editor.
If you want to always use the HTML editor to open HTML files then go to the Eclipse preferences -> General -> Editors -> File Associations. Select the extension up top (e.g. *.htm, *.html) then select the HTML editor in the bottom pane and press the Default button.
I had a similar problem.
Once I installed the html editor (thanks to CgodLEY), still my html files wouldnt show up with that editor.
Solution? Right click on the html/htm file, go to "open with" and select "HTML editor". Fortunately that solve everything...
For those still finding their way here, yes, do add an HTML editor to Eclipse as CgodLEY suggests, if you're having this problem. However, even if you already have an HTML editor in your Eclipse installation, consider installing CodeMix for a superlative HTML editing experience - take a look at the differences here.
Now, there's a Django-aware template editor available for free:
http://eclipse.kacprzak.org/
I installed it in Eclipse Kepler / Django 1.6, it's working fine for me.
Note: if you previously opened a specific .HTML file with some other editor, you need to go back to the project view, right click on the .HTML file, select 'open with...' and explicitly select Django editor.
To answer the opening of your question: Note that Eclipse will use the built-in web-browser to view html files if you are opening them outside of a project, as in "File->Open File ...", when that file isn't part of a project.
I just created a dummy project, and now the html files are correctly opened with the editor selected in my preferences. Success!
Nothing worked and I had begun getting an unrelated error on startup with a troubleshooting step requiring reinstall.
This time I downloaded Eclipse for Mobile Developers, and since then I have added my other packages and it's all working fine =).
None of the editors work the way I want them to though, however I have ended up with Django-Editor (which is slightly better than Aptana's one).

After Updating FDT, The Splash Screen & Icon Have Disappeared

When I updated FDT 5.0 -> 5.5, I lost the FDT icon and splash screen. Now it's just a generic Eclipse icon. This happens for every FDT update and not just this one.
What happened?
The Branding Was Replaced By Another Eclipse Plugin (or Eclipse itself)
Because FDT is Eclipse based, other Eclipse plugins may overwrite some parts of your FDT standalone. Examples include workspace settings and GUI parts of FDT (e.g. the icon and splash screen).
Changing It Back
To change the icon, replace the icon as you would with any application. To change the spalsh screen, replace the splash.bmp file inside the FDT install directory (OSX users may need to right click on it and go "Shoe Package Contents").
Artwork

GWT compile button in Eclipse

A simple question :
I am using Eclipse 3.7 Indigo and have updated the GWT (2.4) Eclipse plugin.
Now I can't find the GWT compile button in the main toolbar.
Previously there was this symbol in the main toolbar ,
but after the update, this button has disappeared and the compile action has been moved as a submenu entry into the "Google Services and Development Tools", represented in the main toolbar by this symbol .
Is there a way to add the GWT compile button to the main toolbar or to specify a shortcut?
It's really exhausting to click on the "Google Services and Development Tools" to reach the compile submenu entry :-)
Highlight your project
right-click on it
go down in the dropdown menu to "Google"
The submenu of "Google" will have the "GWT Compile" button
In Eclipse Juno, GWT Compile option is located on the toolbar underneath the Google logo as seen here:
There is no key binding in Eclipse Juno for GWT Compile. That seems to be something the plugin could provide, but does not.
You can add a button for any command to the toolbar by go to Window -> Customize Perspective and exploring the dialog there. You may need to enable things using the Command and Menu visibility and then in the first tab you can add the buttons to the toolbar.
I don't know of a way to add the toolbar item back, but you can run the compiler via keyboard shortcut:
Debug Compile GWT Application, Alt+Shift+D, C
Run Compile GWT Application, Alt+Shift+X, C
You can also customize the keyboard shortcut if you wish, by going to Window->Preferences->Keys.
If you want to compile a GWT application, you should install the Google plugin. Here are the links.

In Eclipse, can I view the files I currently have open in a vertical stack instead of a horizontal one?

I would find it much easier if the tabs show which files are in the Editor were stacked vertically rather than horizontally. Stacked horizontally means that you run out of room to display file names very fast and makes switching between files time consuming.
Is there an option or a plugin to display the files vertically? (Similar to navigator, but for open files instead of project files) I can't seem to find one.
tabs can not be stacked vertically. However, CTRL+E (⌘+E on mac) might give you some relief.
Eclipse 3.8
CTRL+G brings up an Editors dialog as shown in this screen capture:
Eclipse 4.3
CTRL+E brings up the pop-up shown in this screen capture:
With ctrl+shift+e you can open an extra window that show you the open tabs vertically.
EditorViewer is very good
The project is dead, but it works fine with Eclipse 3.7. Just drop the .jar file in the dropins folder
http://sourceforge.net/projects/editorviewer/?source=dlp
Another command is CTRL+F6 not entirely like the other ones but great to switch between your two most recent tabs. And you also get a list of open tabs like the other examples.
you can always drag windows over each other to tile them vertically but if you see a ">>" at the end of the tabs clicking on it gives a file list which are open.
None that I know of, but there are some other tipps to make life a little easier:
1) Use Mylyn, which filters the Explorer-Views so only relevant files are shown there.
2) Have a look at "Extended VS Presentation" http://andrei.gmxhome.de/skins/index.html . This little plugin adds some useful features to reduce waste of screenspace. With it you can hide the file extension in editor tabs or limit the size of each tab and reduce the padding. Then you can remove the X and close tabs with a middle click. Each just a small saving, but they add up.
For newer versions of Eclipse, there is a plugin Open Editors which adds a view listing all open editors.
Finally a true relief!
https://sourceforge.net/projects/editorviewer/?source=dlp
Install dragging the "install" button from
https://marketplace.eclipse.org/content/vertical-tab-list
to show it
"window / show view / browsing / editors list"
On its internal menu I selected too: Sort by ext+name
Now I just need a way to hide the top tabs list and it will become perfect!