-
Notifications
You must be signed in to change notification settings - Fork 373
Sublime Text 4094, latex autocomplete problem #1506
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
Comments
A possible quick and dirty fix is to comment out lines 308 to 312 in # autocompleting with slash already on line
# this is necessary to work around a short-coming in ST where having a
# keyed entry appears to interfere with it recognising that there is a
# \ already on the line
#
# NB this may not work if there are other punctuation marks in the
# completion
if is_prefixed:
completions = [
(c[0], c[1][1:]) if c[1].startswith("\\") else c
for c in completions
] It could be that ST4 has fixed the short-coming mentioned in the comments. |
@WeixuanZ Thank you very much, it works! |
Thanks, it works well! |
Great! It works for me too. Thanks a lot! |
Has anyone considered making a pull request out of this "fix" ? |
This issue is resolved with the beta release, see the README on how to install it. |
EDIT: I had a problem when trying to write e.g. Here are the steps I took to solve this: it happened even when disabling LaTeXTools and LaTeXYZ and it happened only on one machine. So the problem came from another package. I opened the Console (Ctrl+``) and typed
I found that "afn" referred to the package "AutoFileName"! I right clicked on my
Hope this helps someone! |
However, after comment out lines 308-312, autocomplete function is invalid. (with sublime text 4, macos 14.0 m2 chips). thanks! |
Just want to say thank you, this problem has been bugging me for over a year and today I was determined to figure it out. Thanks for also showing your steps so I am better at debugging |
The prefix
\
disappears whether I commentPreferences
->Settings
or not.Installed package:
The text was updated successfully, but these errors were encountered: