andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

For Makefiles, Enki's Navigator show only variables, not rules #180

Open vi opened 10 years ago

vi commented 10 years ago

For

VAR1=1
VAR2=2

rule1:
    command1

rule2:
    command2

the navigator only show "VAR1" and "VAR2", but not "rule1" or "rule2".

andreikop commented 10 years ago

Enki uses ctags to make a tree for Navigator. Unfortunately ctags doesn't generate any tags for rules. We can either try to report bug to ctags team (But I hardly believe the team is not aware about Makefiles parsing) or write own parser.