Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code autocompletion and live lint is not working when i have one very long line in a file #920

lnshi opened this Issue Mar 22, 2019 · 2 comments


None yet
2 participants
Copy link

commented Mar 22, 2019


As above pic shows, when i have a very long line(line 150 contains 2804825 characters) in a go source file, then the code autocompletion and live lint will be not working for that whole file, even i wait long enough, looks it even doesn't try to work :)

What configuration can i change to make it try to work? i mean maybe respond a bit slower?

I use sublime 3 and just upgrade GoSublime from the development branch yesterday, for other cases it works very well.


This comment has been minimized.

Copy link

commented Mar 22, 2019

File sizes are currently limited to 512KiB. To raise the limit to e.g. 8MiB you can change $Packages/GoSublime/gosubl/ from 512 << 10 to 8 << 20. If that works and you haven't noticed any stuttering or other performance issues I will consider raising the limit permanently.


This comment has been minimized.

Copy link

commented Mar 25, 2019

@DisposaBoy I did the change, it worked, and for my laptop i feel it is totally fine, though respond a bit slower.

Processor: 2.9 GHz Intel Core i7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.