-
Filter .svn folders in Eclipse Navigator
To hide the .svn folders from the Eclipse Navigator there’s no UI setting, you need to create a plugin. So here it is, a little plugin to hide .svn folders:
<?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.0"?> <plugin id="com.kwebble.ide.navigator.filter" name="Filter .svn folders" version="1.0"> <extension point="org.eclipse.ui.ide.resourceFilters"> <filter pattern=".svn" selected="true"/> </extension> </plugin>
Put this in a com.kwebble.ide.navigator.filter folder under the Eclipse plugins folder.
To filter files with different names adjust the pattern accordingly.
-
A trim() method for the JavaScript String class
Just rediscovered that IE still doesn’t include the trim() method on the String class. Here’s a snippet of code, based on an answer on StackOverflow, to make sure there’s a trim method available:
if (typeof String.prototype.trim !== 'function') { String.prototype.trim = function() { return this.replace(/^\s\s*/, '').replace(/\s\s*$/, ''); } }On the positive side I also found out about the debugger included in IE 8. Just like Firebug, available via F12!
-
Is u iets opgevallen?
Nu gebruikt in De Wereld Draait Door, oorspronkelijk in een bioscoopjournaal van 1978 over de beeldplaat:
bron: Open Beelden