Sublime Forum

Sublime 3 not indexing?

#1

Hello, I’m trying out Sublime 3 Beta. I have a large C and C++ project that I want to be able to work with in Sublime.

I open up Sublime (currently on Mac OS X Lion).
I “Add folder to project”. (I can’t seem to find a “New Project…” menu item).
I select my root source folder as the folder to add.
I see that folder on the left side pane, along with all sub-folders.

But I don’t see any indexing taking place. I’ve done a “GoTo Definition”. But it doesn’t do anything.

I’ve checked my processes. I’ve looked at top -u. I don’t see any background work being done.

This is a very large project and I would expect it to take a significant amount of time to index. Even running ctags takes time, so I’m expecting to see visible work being done and show up when I run top -u. But I see nothing. I can find a symbol within a file, but not a definition or anything else.

What am I doing wrong? Is my project too big? Do I have to save a project first? Do I have to have the project file in the same directory as my root source file?

Any help would be greatly appreciated. My interest is in buying ST3 for use on all platforms that it’s supported in.

0 Likes

#2

It appears that ST3 beta is indexing function names and methods on Linux, but not defined types.

So, something like this:

typedef struct MyTypeS
{
int a;
int b;
int c;
} MyTypeT;

where MyTypeT is defined, is not getting indexed. When I need to see what a definition of a type is, ST3 beta is not finding the definition. To add more to this, the include files that contain this definition are in a directory that is not near where the type is being used (as is common in Makefile projects).

Is this work that is expected to be completed? Is this a bug I should report? Or is this a feature request that I should submit?

Any help would be greatly appreciated. I REALLY want to be able to use ST3 for my projects.

0 Likes