Sublime Forum

GoTo Definition broken in Sublime 3.1

#1

My project folder is called property here is the output from the indexing status.

index “property” collated in 0.21s from 552912 files
index “property” is using 41218048 bytes for 0 symbols across 0 locations

Deleting Index doesn’t have any effect whatsoever. Mac OS, I’ve tried Sierra and High Sierra and it doesn’t work on either machine.

I used to use it heavily so this is a huge bummer.

0 Likes

#2

Have you tried reverting to a freshly installed state to see if a third-party package is affecting the indexing?

What language is the project primarily written in?

0 Likes

#3

Yup, when troubleshooting the issue I actually installed it on a fresh 2017 Macbook Pro that I happened to have on hand, so it doesn’t seem to be a package issue.

I suspect it’s the size of the project. I’ve opened much smaller projects (<2,000 files) and it appears to work.

The project is a monorepo with a wide variety of languages, mostly javascript (353k files, thanks mostly to node_modules), and ruby (17k files) with token amounts of Python and Go.

The feature still works on both machines on build 3143.

0 Likes

#4

I would add node_modules to your binary_file_patterns in your settings:

	"binary_file_patterns":
	[
		"*.jpg",
		"*.jpeg",
		"*.png",
		"*.gif",
		"*.ttf",
		"*.tga",
		"*.dds",
		"*.ico",
		"*.eot",
		"*.pdf",
		"*.swf",
		"*.jar",
		"*.zip",
		"*.min.js",
		"*.map.txt",
		"node_modules/*"
	],
0 Likes

Sublime Text 3 build 3170 beach ball of death intellisense
#5

That does it! Kind of disappointing though since it can be handy to click through into a module and see how it ticks. This is good enough for now in any case.

0 Likes