Page MenuHomePhabricator

Improve recognition of symbols in Java
Open, NormalPublic

Description

Write a Java lexer (like D3336) to improve recognition of symbols in Java. Current state of the world is roughly:

Screen_Shot_2013-05-07_at_6.11.17_PM.png (177×713 px, 15 KB)

"Test", "main", "method" and "CONSTANT" are linked, but the other "Test" occurrences and "somefunc()" (i.e., implicit instance method call) are not.

Revisions and Commits

Event Timeline

epriestley triaged this task as Normal priority.May 8 2013, 1:18 AM
epriestley added a project: libphutil.
epriestley added a subscriber: epriestley.

I've just realised that the lookup never work for java methods: pygmentize calls them "function"s and for ctags they are "method"s.

(at least with my versions: pygmentize 1.6 and ctags 5.8)

avivey changed the visibility from "All Users" to "Public (No Login Required)".Sep 6 2018, 5:34 PM

D19637 doesn't actually improve this, but it brings us a step closer (since the logic is now in PHP and can be modified more easily to label symbols and add context).