Python multi-track We're really excited to tell you about our upcoming Python multi-track training course - a revolution in training, reference, documentation, and code Register Now https://www.youtube.com/watch?v=dg1KbpV2UNA&feature=youtu.be This is a known bug in eclipse and as such has replicated into Spring STS. It is caused by the maven-jar plugin. This can be resolved by downloading... Continue Reading →
Use Regular Expression in Eclipse to Delete All Annotations in a File
ctrl-F to open File/Replace Dialog check Regular Expressions Find: ^[\t }*@.*$\R Replace \with: <leave blank> Click Replace All
Leave the open file in eclipse/sts tab after search
Window -> Preferences -> General -> Search uncheck Reuse editors to show matches
Eclipse Workspace – Prompt on Startup
To turn on / off the prompt for Eclipse Workspace on startup Open PreferencesGeneral -> Startup and Shutdown -> Workspaces
Maven: Unsupported IClasspathEntry kind=4
Maven: Unsupported IClasspathEntry kind=4, generated by Eclipse or JBoss: Disable the maven nature for the project: Right-click -> Maven -> Disable Maven Naturerun mvn eclipse:clean (while your project is open in STS/eclipse)Re-enable the maven nature: Right-click -> Configure -> Convert to Maven Project
Auto Generate JavaDoc stub in Eclipse
To generate a JavaDoc stub for your class, method, etc you need to use the following key combination On Windows Alt+Shift+J On a Mac Alt+Cmd+J
Add the Drools Plug-in to Spring STS
Start Eclipse Help -> Install New Software Work With: http://download.jboss.org/drools/release/5.5.0.Final/org.drools.updatesite/ click the “Add” button Name: Drools Check the Drools and jBPM checkbox and follow the instructions to get it installed.
Java IDEs
Spring Tool Suite (STS) http://spring.io/tools Eclipse http://www.eclipse.org Netbeans https://netbeans.org Intellij Idea http://www.jetbrains.com/idea/
Eclipse – Set your JRE
Windows Open Eclipse Window -> Preferences -> Java -> Installed JREs Add Navigate to JRE location - C:\Program Files\Java\... Mac Open Eclipse Eclipse -> Preferences -> Java -> Installed JREs Add Navigate to JRE location - /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home Set Java Compliance Level Preferences -> Java -> Compiler Compiler Compliance Level