Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The new parser generates 2 tags for import statements like from A import B For A tag of the 'i' kind is generated, for B, tag of the kind 'x' is generated. B includes A in its scope and when we omit generation of 'i', imports are printed in the sidebar with the full scope information like Imports django.views.decorators.csrf.csrf_exempt django.views.decorators.csrf.csrf_exempt2 django.views.decorators.http.require_POST When we generate 'i' and map it to something (I used tm_tag_externvar_t like for the imports themselves, there's nothing in the tag types we have that would be a good semantic candidate here), the result in the sidebar is Imports django.views.decorators.csrf csrf_exempt csrf_exempt2 django.views.decorators.http require_POST which is more readable IMO.
- Loading branch information