Open Isabella-C opened 4 years ago
We assume that you are using ipython.
We assume that you are using ipython.
Thanks for the prompt reply.
So, how can I tell SendCode that I am using Python instead of Ipython?
Only ipython is supported. Infact, there are no reasons to not use ipython.
Oh, right. Thanks anyway.
In case anyone else is also getting this when running IPython in Terminus:
This happens when I have "bracketed_paste_mode": false AND "paste_to_console": false and have cursor on # %%
code block.
Setting "bracketed_paste_mode": true fixes it.
I though of giving this another shot as copy pasting code was getting annoying and it started working with no issues when I tried today. I'm thinking it's something to do with the additional libraries I might have installed since I last used it. Previously I only had IPython installed from pip. There was no ipykenel or jupyter installed.
Since the time I last used SendCode I have installed JupyterLab and VSCode. I think it could be these dependencies which got installed might have fixed the issue. I'm not getting %cpaste -q
or ^[
anymore and enter is sent automatically.
I keep a track of packages I install but I can't tell which of these might have fixed it but you may be able to so I have included all of them below in case that helps. I'm so happy I don't need to ctrl-c ctrl-v anymore. Thanks.
New libraries installed since the last time I faced the issue: pywin32, tornado, pyzmq, nest-asyncio, jupyter-core, entrypoints, jupyter-client, debugpy, ipykernel, pyrsistent, attrs, jsonschema, webencodings, pycparser, packaging, nbformat, MarkupSafe, idna, charset-normalizer, certifi, testpath, sniffio, requests, pywinpty, pandocfilters, nbclient, mistune, jupyterlab-pygments, jinja2, defusedxml, cffi, bleach, websocket-client, terminado, Send2Trash, requests-unixsocket, prometheus-client, nbconvert, argon2-cffi, anyio, notebook, jupyter-server, json5, babel, nbclassic, jupyterlab-server, jupyterlab.
When I send a single line to terminus, it's working fine. Whenever I send multiple lines to terminus, either for cmd.exe or python, "%cpaste -q ... --" is artificially added to my code.
I am running python in terminus. Code I am sending to terminus is:
Then, in terminus view, the thing I sent became:
My SendCode.sublime-settings is as below:
My Default(Windows).sublime-keymap User version is as below.
My Preferences.sublime-settings User as below:
Thanks v much in advance.