Eclipse Mars News @JUG HH
-
Upload
simonscholz -
Category
Software
-
view
786 -
download
0
Transcript of Eclipse Mars News @JUG HH
New and noteworthy in Eclipse 4.5 Mars
Simon Scholz
https://twitter.com/simonscholz
Rough Agenda
New Features in Mars
How to make use of these Features
Eclipse 4 and migration to it
What's next?
Other nice tools
Please ask questions at any the time!
Eclipse Buildship
http://blog.vogella.com/2015/04/17/buildship-on-the-mission-to-mars/
Hierarchical projects display
FLAT
HIERARCHICAL
Eclipse Console
AutomaticScrolllock
Word wrap
Terminate All
Vom Gradle Wrapper zum Word-Wrap in der Console
- Word wrap- Automatic scroll lock
Frage: Welcher Toolbar-Button ist fr Scrolllock?
Customize Perspective Dialog
Print Button hidden by default
-> Styling of Section's title
-> Styling for Buttons (OS dependent)
-> Use of native CSS for Unix
-> Inheritance
-> Transparency
InheritTransparent
Custom Scrollbars
http://www.codeaffine.com/2014/12/17/sacrilege-custom-swt-scrollbar/
http://blog.vogella.com/2015/01/26/nattable-with-custom-scrollbars/
Improved Icons
Platform-Project:org.eclipse.ui.images
Author: Tony McCrary
EPL 1.0
Monitor interactive performance
Contributed by Google including API in SWT to detect that.
SWT.PreEventSWT.PostEvent
Sending error messages with Eclipse Code Recommenders
New JobGroup API
New JobGroup APInew JobGroup("Example", maxThreads, initialJobAmount);
https://bugs.eclipse.org/bugs/show_bug.cgi?id=432049
int NUMBER_OF_LOGICAL_THREADS= Runtime.getRuntime().availableProcessors();
JobGroup jobGroup = new JobGroup("Vogella-Jobs", NUMBER_OF_LOGICAL_THREADS, 1);
Job job= new SearchForEmployessJob();job.setJobGroup(jobGroup);job.schedule();
IStructuredSelection from StructuredViewers
TreeViewer treeViewer = new TreeViewer(parent);ISelection selection = treeViewer.getSelection();if(selection instanceof IStructuredSelection) {IStructuredSelection structuredSelection = (IStructuredSelection) selection;}
TreeViewer treeViewer = new TreeViewer(parent);ITreeSelection structuredSelection = treeViewer.getStructuredSelection();
TableViewer tableViewer = new TableViewer(parent);IStructuredSelection selection = tableViewer.getStructuredSelection();
- StructuredViewer always returns structured selection- Show org.eclipse.jface.viewers.StructuredSelection.EMPTY- Never returns null
More on performance
Improved compiler performancehttps://bugs.eclipse.org/bugs/show_bug.cgi?id=434326
Default Heap SizeXms 256M (previously 40M)
Xmx 1024M (previously 512M)
0 ms delay for JDT code completion
Text search has been sped up by a factor 3x-4x for full workspace searches on multi-core machines.
E4 Tools Updatesite
E4 Project in New Plug-in wizard
Icons in the Model Editor and Spy
Xpaths in Model fragments
XPath for parent id in model fragmentsparentElementId="MyMenu1, MyMenu2"
parentElementId="xpath://*[@elementId='MyMenu1' or @elementId='MyMenu2']"
equals
Small but useful
Show tab restrictions
Migration Stats Part
http://opcoach.github.io/E34MigrationTooling/
Java Versions & Settings
Java 7 is required for Eclipse Mars
Java 8 will (likely) be used for Eclipse Neon
Eclipse Mars can be run with Java 9Don't forget to remove PermGem args!
Show permgem location in eclipse.ini file
E4 Projects in general
For MarsIAdaptable
AbstractSelectionDialog
And many more
For NeonJFace API
Eclipse Databinding
Modernes API!
More plans for Eclipse Neon
Performance and Stability
Usability improvements
Notification System from Mylyn
Default spell engine
More CSS features
1. Performance Monitoring feedback2. Smart Import Menu, Context Men Eintrge ausblenden Fullscreenmode3. Mylyn notification popup4. Bisher nur durch JDT defniert wandert in die Platform5. Neue CSS Properties. u.a. CSS 3 Neuer CSS Parser schneller und CSS 3 kompatibel Custom Scrollbars
Postfix Codecompletion
https://github.com/trylimits/Eclipse-Postfix-Code-Completion
Saneclipse
Useful Preferences
New Templates
And more...
http://saneclipse.vogella.com/
Be a part of Eclipse
Give FeedbackBugzilla
Forums
Join Eclipse DemoCamps and Hackathons
It became a lot easier to contribute
Auto-linking between Gerrit code reviews, commits and Bugzilla
Denis Roy
Do not miss the Eclipse Hackathon
18.09.2015 18:00
https://wiki.eclipse.org/Hackathon_Hamburg_2015_Q4
Thank you for your attention!
Simon Scholz
https://twitter.com/simonscholz
Sources
Twitter image by Slava Murava Kiss under creative commons license