I am using Aptana for my wen development project. I am wondering if there is any ways in Aptana so that the identical syntax (ie. variable names) in my script file can all be highlighted.
For example:
function(storeItem, item) {
var total = 0;
store.each(function(rec) {
total += rec.get('data1');
}) ;
this.setTitle(storeItem.get('name') + ': ' + Math.round(storeItem.get('data1') / total * 100) + '%');
}
If I select storeItem variable, then all the variable named storeItem will be highlighted. Is that possible in Aptana?
Or you can suggest another IDE which have that function.
Thanks!
Sublime Text 2 will highlight matching occurences. It’s not quite an IDE, but has a healthy list of plugins.
IIRC, Notepad++ also does this, but isn’t what you might call an IDE.