-
Notifications
You must be signed in to change notification settings - Fork 476
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
The latex dots snippet prevents one from typing paragraphs. #394
Comments
Hi @mashtonian, I double checked and agree this should be changed to avoid the collision. Ref: "etc": {
"prefix": "...",
"body": "\\dots",
"description": "\\dots"
}, Now the question to answer is: what would be a better prefix? I'm considering |
Great. Thanks.
What about a pair of dots followed by enter, as opposed to a single one?
…On Mon, 12 Feb 2024, 06:25 OkelleyDevelopment, ***@***.***> wrote:
Hi @mashtonian <https://github.com/mashtonian>, I double checked and
agree this should be changed to avoid the collision.
Ref: ./snippets/latex.json
snippet:
"etc": {
"prefix": "...",
"body": "\\dots",
"description": "\\dots"
},
Now the question to answer is: what would be a better prefix? I'm
considering dots or perhaps we simply remove the snippet entirely. 🤔
—
Reply to this email directly, view it on GitHub
<#394 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APZQI47GWZO2P625WRRLBWDYTGRTLAVCNFSM6AAAAABBYMES6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZYGA4DCNRVGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi, any progress on this topic? I just stumbled across this behavior. |
Hi @JFMarten and @mashtonian, I've tried the This leads me to possible "fixes"
Thoughts or objections? Feel free to raise a PR too (not trying to gatekeep a fix 😅 ) |
Not sure why snippets exist for 1 word commands in the first place. Wouldn't this just spam the completion menu, snippets shouldn't be used as a language reference. |
Apologies for huge delay in replying. My preference would be for the alphanumeric prefixes, such as "dots" or "elip". Not sure I feel confident enough to submit a PR, but will have a look and see. M |
When writing a large amount of text, multiple paragraphs, and having auto-completion enabled in your snippet engine, the 'dots' snippet intercedes when finishing a paragraph. The end of paragraph one is a '.' followed by 'Enter', which triggers the snippet insertion of '\dots'.
The text was updated successfully, but these errors were encountered: