Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I started playing with cedet for my PHP developement and I noticed that it
thinks all the methods of a class are private and thus highlight them. What
could be the cause of that? Is that a problem with the grammar or something
else? I'd be grateful for any pointers as to where to start looking to fix
From: Eric M. Ludlam <eric@si...> - 2010-04-23 00:40:03
In cedet/contrib/wisent-php.wy, it looks like the protection modifiers
(ie - private, protected, etc) are being saved as :typemodifiers, not as
I'd guess as a first step to fiddle with where those attributes are saved.
An alternate, or perhaps in addition to, php could overload
semantic-tag-protection-default which is the overloadable function that
manages that coloring.
A key feature of any work on this will be to also create a test file
that can be used for completion testing, which in turn depends on
getting correct protection.
The file cedet/semantic/tests/testsubclass.cpp is a fine example, where
numbers like -1- that are completion test examples.
On 04/22/2010 06:49 PM, Andrzej Skiba wrote:
> I started playing with cedet for my PHP developement and I noticed that
> it thinks all the methods of a class are private and thus highlight
> them. What could be the cause of that? Is that a problem with the
> grammar or something else? I'd be grateful for any pointers as to where
> to start looking to fix it.