[Github-comments] [geany/geany] Added support for scoped function calltips (#1177)

Colomban Wendling notifications at xxxxx
Mon Aug 22 14:52:51 UTC 2016


What's the problem with TM?  I might be missing something obvious, but a quick and dirty patch like http://pastebin.geany.org/ISAQT/ seems to mostly work.

It could possibly be improved to use the current scope to resolve direct methods and some other stuff, but that could be added.  I mean like
```C++
class Foo {
	std::string something(int n) {
		return nullptr;
	}

	int main() {
		return something(/* here, show Foo::something() only, not Bar::something() */);
	}
};

class Bar {
	int something() {
		return 0;
	}
};

/*
But this works:

Foo::something();
Bar::something();

class Z {
    Foo memb;
    Z() {
        memb.something();
    }
};
*/
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1177#issuecomment-241438625
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160822/2bb8e5f9/attachment.html>


More information about the Github-comments mailing list