question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vscode and arepl version

See original GitHub issue

*Won’t evaluate code unless I rollback to AREPL 1.0.7. Upon opening the AREPL window, I can see the “Start typing or make a change…”, but it does not ever actually evaluate the code. Pressing Ctrl+Enter gives a warning:

Running the contributed command: ‘extension.executeAREPLBlock’ failed.

My version of vscode: Version: 1.34.0 Commit: a622c65b2c713c890fcf4fbf07cf34049d5fe758 Date: 2019-05-15T21:55:35.507Z Electron: 3.1.8 Chrome: 66.0.3359.181 Node.js: 10.2.0 V8: 6.6.346.32 OS: Linux x64 4.18.0-15-generic

workbench.main.js:238 [Extension Host] Activating extension almenon.arepl failed: Cannot read property ‘uri’ of undefined workbench.main.js:238 [Extension Host] Here is the error stack: TypeError: Cannot read property ‘uri’ of undefined at Function.getCurrentWorkspaceFolder (/home/m3thr1l/.vscode/extensions/almenon.arepl-1.0.14/out/src/vscodeUtilities.js:65:57) at PreviewManager.getPythonPath (/home/m3thr1l/.vscode/extensions/almenon.arepl-1.0.14/out/src/PreviewManager.js:117:93) at activate (/home/m3thr1l/.vscode/extensions/almenon.arepl-1.0.14/out/src/extension.js:34:58) at Function._callActivateOptional (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:731:936) at Function._callActivate (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:731:625) at define._doActivateExtension.Promise.all.then.e (/usr/share/code/resources/app/out/vs/workbench/service

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:24 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
Almenoncommented, Jun 18, 2021

I don’t have any shortcut for arepl

You have several shortcuts for arepl. AREPL has the following shortcuts for everyone by default:

https://i.imgur.com/GOt1zLA.png

You can fix the issue by changing the executeAREPLBlock shortcut to a different keybinding.

1reaction
ayushp533commented, Jun 17, 2021

Ah, I see. Why not just press enter?

Because pressing enter requires the cursor to be at the end of the line in order to not break the syntax but ctrl +Enter can be pressed for creating in new line despite the cursor being anywhere in the previous line which is a really comfortable shortcut.

And about changing the shortcut for Ctrl + enter to something else, I’ve already been using the same shortcut which I am comfortable with to easily move to the next line so it would be really difficult for me to change that habit and I was hoping as the developer you can bring some updates or changes to fix this issue as I like the concept of your extension.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AREPL for python - Visual Studio Marketplace
AREPL automatically evaluates python code in real-time as you type. ... AREPL is availible for free on the vscode marketplace. Usage. First, make ......
Read more >
Arepl NPM
AREPL : vscode edition Build Status Downloads Gitter chat. AREPL automatically evaluates python code in real-time as you type. Alt Text.
Read more >
AREPL extension error in VSCode with Python 3.7
When I start editing the code, instead of showing me the real time output, I get: 'py' is not recognized as an internal...
Read more >
arepl/Lobby - Gitter
plus it should altleast check python version and raise error ... Running VSCode v2.0.2 with AREPL Version: 1.57.1 (Universal) on 10.3.6 MacOS
Read more >
AREPL: program python in real-time : r/vscode - Reddit
17 votes, 28 comments. 98K subscribers in the vscode community. A subreddit for working with Microsoft's Visual Studio Code.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found