jfbercher / jupyter_latex_envs

(Some) LaTeX environments for Jupyter
Other
112 stars 28 forks source link

Autocompletion cannot be fully disabled #31

Open Mirebeau opened 6 years ago

Mirebeau commented 6 years ago

Dear Jupyter_latex_envs team,

Your extension implements "Limited autocompletion for \$,(,{,[", and "some Latex commands." As many users, I cannot stand the text editor randomly modifying what I type, so I unticked the box "Automatically complete latex command".

However, "\$,(,{,[" are still autocompleted. Unticking the box only prevents autocompletion of \begin, etc.

Can you make unticking the "Automatically complete latex command" box fully effective ? Or alternatively, add a separate option to remove autocompletion of "\$,(,{,[" ? Is there a workaround right now ?

Thanks and regards

jfbercher commented 6 years ago

I will have a look at that, and will probably add another switch. Anyway, autocompletion is not exactly "random". If you cannot wait, commenting out lines 203-204 in latex_envs should do the job.

Je vais regarder cela. Cependant, je ne pense pas que l'on puisse exactement qualifier l'autocomplétion de random.

jfbercher commented 6 years ago

Done. cf 7a6a178 Added a system option "Autoclose '$$', '()', '[]', '{}'" (can be modified using the nbextension configurator) and a toolbar toggle to change the behaviour per document. Uploaded to pypi as version 1.4.1

Mirebeau commented 6 years ago

Thank for your prompt response and fix !

Le 9 déc. 2017 à 12:12, Jean-François Bercher notifications@github.com a écrit :

Done. cf 7a6a178 Added a system option "Autoclose '$$', '()', '[]', '{}'" (can be modified using the nbextension configurator) and a toolbar toggle to change the behaviour per document. Uploaded to pypi as version 1.4.1

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.