Don't replace only on the start of the string. This can lead to multiple matches on modules starting with the same name. Although the rest of the added code now avoid to make more than one replacement, it's good to still do the exact match. This is provided through a regular expression matching the module name + space or the end of the line.
Provide line filling shortcut for faster completion.
@Tecnativa