[Github-comments] [geany] Don't show the goto popup for typedef synonyms (#923)

Jiří Techet notifications at xxxxx
Sat Mar 5 12:57:45 UTC 2016


@elextr This patch (in the form it is now) affects only languages having some form of "typedef". Moreover, it only affects results where the typedef has the same name as as the referenced type (e.g. struct) in a single file - I believe this is quite specific to C/C++/Objective-C where the struct namespace is separate from the global namespace so having

```
struct Foo {};
typedef int Foo;
```

is legal. For instance in the go language while it has something like typedef as well there's just one namespace for types so you can't have two types defined with the same name. I guess this will be the case of any reasonably modern language. I don't know the rest of the languages using "typedef" (Erlang, Rust, Haxe, Haskell, Verilog, VHDL) but I'd guess they won't be affected by the patch at all.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/923#issuecomment-192639315
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160305/46d0d51c/attachment.html>


More information about the Github-comments mailing list