Autocomplete normal words #2123
-
It would be great if "ctrl+space" would suggest word completions based on all tex-files in the current project (at least the current tex-file). |
Beta Was this translation helpful? Give feedback.
Replies: 14 comments
-
Does this Hippie completion work for you? https://www.jetbrains.com/go/guide/tips/cyclic-expand-word/ (You can rebind to a different key combination) https://www.jetbrains.com/help/idea/auto-completing-code.html#hippie_completion |
Beta Was this translation helpful? Give feedback.
-
This somewhat improves the situation for me. |
Beta Was this translation helpful? Give feedback.
-
Indeed it doesn't, because it's not smart autocompletion. But this is built into IntelliJ, so you have to submit an issue at https://youtrack.jetbrains.com if you want it changed.
You can rebind shortcuts, see Settings > KeyMap.
No, it also works in Java code. In fact, it works like almost everywhere, just in a lot of cases there are no suggestions. |
Beta Was this translation helpful? Give feedback.
-
I meant that I would need a shortcut different from "ctrl+space". Changing the shortcut is not the problem. With the statement on the completion in java comments, I merely wanted to point out that the desired kind of completion works e.g. in java comments but it also works in e.g. txt files. I was just wondering why this feature seems to be disabled/broken/overridden in texify. |
Beta Was this translation helpful? Give feedback.
-
Could there maybe be an option for disabling the TeXiFy specific completion mechanism? |
Beta Was this translation helpful? Give feedback.
-
I think you can disable the default code completion with Settings > Editor > General > Code completion > Show suggestions as you type |
Beta Was this translation helpful? Give feedback.
-
Well, I do like the normal intelliJ "Basic Completion" (CTRL+SPACE). |
Beta Was this translation helpful? Give feedback.
-
You can disable Live Templates as well, in Settings > Editor > Live Templates then unselect the LaTeX group |
Beta Was this translation helpful? Give feedback.
-
I did this already :) |
Beta Was this translation helpful? Give feedback.
-
If I have a tex-file with the content
and I press CTRL+SPACE after the last Foo, I get no suggestions. |
Beta Was this translation helpful? Give feedback.
-
If I understand correctly, you do not regard a suggestion by Cyclic expand word as a suggestion, but only a suggestion via Basic Completion using the popup. To be honest, I don't really understand why you think the Cyclic expand work suggestion not good enough: to me it clearly suggests words, and you have to press just as much keys. I'm not sure it is a good idea to make an opt-in setting for such Basic completion on words, because we would have to be very careful that it does not hurt the performance if not switched on, and I'm not convinced that we should try to re-implement Cyclic expand word. If you think the UI experience of Cyclic expand word can be improved, contact Jetbrains. |
Beta Was this translation helpful? Give feedback.
-
I fixed it on my system by removing the following from the
I do not know what the parser is intended for but it (or something else once the parser is established) breaks the completion functionality. |
Beta Was this translation helpful? Give feedback.
-
"Cyclic expand word" does not currently provide the functionality of showing suggestions and it also requires that a LaTeX specific key combination is used. I would rather not use IntelliJ oder texify but (as mentioned in the previous post) I have fixed it for me. |
Beta Was this translation helpful? Give feedback.
-
Well, too bad that commenting is broken with the change above. :-( |
Beta Was this translation helpful? Give feedback.
Does this Hippie completion work for you? https://www.jetbrains.com/go/guide/tips/cyclic-expand-word/ (You can rebind to a different key combination)
https://www.jetbrains.com/help/idea/auto-completing-code.html#hippie_completion