-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
User extensible postfixes #3466
Comments
Thanks for the suggestion! No, I don't think it is possible at the moment, but it looks like it should be possible to provide adding/editing of postfix templates using live templates syntax. |
That would be really nice! I would really enjoy to add my own postfixes which represent the options / commands that I am using the most. |
If you are willing to install another plugin, the https://plugins.jetbrains.com/plugin/9862-custom-postfix-templates plugin has an integration with Texify-IDEA (its only mentioned with one sentence at https://hannah-sten.github.io/TeXiFy-IDEA/code-completion.html#postfix-code-completion). Here is an example of a template I use
|
Oh yes, I completely forgot you added LaTeX support to that plugin! Maybe I should have read my own documentation :) |
Thank you! I actually tried to use this plugin before opening this issue but was not successful 😅 I tried it again with the example by @fberlakovich above, but still have the issue that the plugin does not load the file contents correctly (aka doesn't load anything). Do you have any suggestions what I might want to change for this to work? This is the content of my file:
|
Also seems like other people have a similar issue: xylo/intellij-postfix-templates#220, but at least there seems to be a workaround |
Thanks for pointing me to that repo (could've thought of this myself). I found a workaround and now it works for me as well, thanks again! |
@anneborcherding @PHPirates I guess we can close this issue? |
We could, though I think it might still be a good idea to implement a very simple default editor (https://plugins.jetbrains.com/docs/intellij/advanced-postfix-templates.html#editable-postfix-templates) |
So for my concrete use case, I found a solution, but I agree with @PHPirates that an editor would be a great enhancement! |
You mean in addition to the one the custom postfix template plugin already provides? Iirc it has an editor, there just seems to be a bug that it doesn't always open when it should. |
I was wondering whether it would be possible to make the postfixes that come with the plugin extensible by the user. I wanted to add some more postfixes, but was not able to, even though I can see the LaTeX postfixes in the list (see screenshot below).
Is there a way to achieve this already that I haven't seen?
The text was updated successfully, but these errors were encountered: