Knowing what a function looks like in any particular language takes some understanding, by the editor, of the structure of the language. For instance, a Perl or PHP method looks a lot different than a Python method, and a lot different than a Scilab method:
# Perl:
sub add {
$_[0]+$_[1]
}
# PHP:
<?php
function add ($a, $b) {
return $a+$b;
}
# Python:
def add(a, b):
return a+b
// Scilab
function [c]=add(a,b)
c = a + b;
endfunction
Your editor needs to be able to recognize and account for that.
You should use an IDE like Eclipse, which has support for many different languages. It also has many other features like a source code auto-formatter, based on your personal code style preference.