After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 767416 - gtkmm support for code completion
gtkmm support for code completion
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: editor
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-08 18:32 UTC by Pavlo Solntsev
Modified: 2016-06-08 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
clang: allow clang plugin to be activated in c++ header files (893 bytes, patch)
2016-06-08 18:39 UTC, Christian Hergert
committed Details | Review
ctags: allow ctags completion to be activated in c++ header files (1.03 KB, patch)
2016-06-08 18:39 UTC, Christian Hergert
committed Details | Review

Description Pavlo Solntsev 2016-06-08 18:32:32 UTC
Hello,
Gnome-builder v3.20.4

My concerns:
No syntax highlighting for Gtk/Gio/Glib name spaces and classes.

In a header file:

public:
struct MyStruct{
   int count;
   Glib::ustring name;
};

MyStruct *obj;


in cpp file I am typing 

obj->

and I see both name and count are int type. 

If I declare obj as non-pointer, no completion after
obj.
even after Ctr+Space 

Any comments?
Comment 1 Christian Hergert 2016-06-08 18:39:18 UTC
Created attachment 329419 [details] [review]
clang: allow clang plugin to be activated in c++ header files
Comment 2 Christian Hergert 2016-06-08 18:39:22 UTC
Created attachment 329420 [details] [review]
ctags: allow ctags completion to be activated in c++ header files
Comment 3 Christian Hergert 2016-06-08 18:40:41 UTC
Looks like an oversight on my part, I had forgotten that we had
GtkSourceView split both the C++ source files (id "cpp") and C++
header files (id "cpphdr") into new files separate from C.

I'll merge to our 3.20.x branch as well, so when we make a
3.20.6 release the patch will be there.

Attachment 329419 [details] pushed as 412b4c8 - clang: allow clang plugin to be activated in c++ header files
Attachment 329420 [details] pushed as c7bd919 - ctags: allow ctags completion to be activated in c++ header files