Public bug reported: Binary package hint: exuberant-ctags
This seems to be a major design flaw: all comments and strings are parsed just as if there were keywords. That is to say if you have comments or strings containing keyword-like patterns they are regarded as valid definitions by ctags when they clearly are not. This could well be a problem across all languages, but I would not be able to confirm that. Python and PHP examples copied below. File: example.php ============================= <?php /** * Let's define a new class aye? */ class TestClass { // function test function __toString() { return "you called the function named __toString"; } } ============================= File: example.py ============================= #! /usr/bin/env python class NewClass: def __init__(): """This method was created using the def keyword. Uh-oh!""" print "Hello, World!" ============================= ** Affects: exuberant-ctags (Ubuntu) Importance: Undecided Status: New -- ctags Parses Comments/Strings https://bugs.launchpad.net/bugs/373169 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs