-
Notifications
You must be signed in to change notification settings - Fork 2
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
Need more default completions #8
Comments
I would suggest autocompletion for table command. This would be similar to the autocomplete for
|
Would suggest all the citation commands. Currently, only Similar commands - |
@werunom Added table completion & the suggested cite commands. |
Would suggest adding formatting commands (
However, I am not sure whether the suggestion (2) falls under the purview of an autocomplete package. So, its upto you to decide whether this suggestion is within the design of the package. But given that there are already similar features in the present package (the |
Would suggest autocomplete of certain punctuations like double quotes (
:) |
I would suggest autocompletion for equation command.
|
I would suggest autocompletion for quote command.
|
@werunom sorry for the delay, I've been sidetracked on getting package name completion working. I'm also working on a script that takes different sets of completions that can be enabled/disabled at will. For example, the commands supplied by each package could be toggled individually. Same with groups for formatting ( Once I get that going, I'll add the suggested completions. Regarding the bold, etc. shortcuts. I like it and will probably include it. However, it doesn't really fit the concept of 'autocompleting', so I might move it to a different package at some point in the future. |
Autocompletion for inline equation syntax. Till now, I was using But this stricter form is too cumbersome to type patiently given that |
@werunom I'll try it. I still prefer the readability of Having said that, I'll try it this way {
"displayText": "$",
"snippet": "\\\\($1\\\\)$0",
},
{
"displayText": "$$",
"snippet": "\\\\[\n\t$1\n\\\\]$0",
}, Was this what you wanted? I also considered making the display text (I changed my mind at least twice while writing this. I was originally going to not support it entirely, but now I'm giving it a try) |
Before I go further, is these snippets included in the update? If yes, how to trigger them? Because, I tried couple of things - Of course, as you mention, using However, regarding the readability of |
@werunom It should happen after a |
@werunom You may also need to run the command |
Doing this |
May be it would be nice to have variants available too (
|
Another idea: |
@PierreMarchand20 My current design is to make the second cursor location next to the environment name for things with starred versions (that are reasonably likely to be used). For example,
This way, the cursor starts in the right place 99% of the time, and it is only a I've also added more sectioning commands, including
Also added Edit: It's not released yet, but will be in the next one. |
It would be nice to have a
|
Is there a way to add completions for all greek/math letters? |
If anybody can think of a completion that would be useful for a lot of people, please share it here. You don't need to make a PR yourself, just explain:
The text was updated successfully, but these errors were encountered: