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.

Run other languages in code blocks

See original GitHub issue

Sometimes I have multiple languages in the same notebook.

```{python}
# This is python code.
```

```{r}
# This is R code.
```

```{julia}
# This is julia code.
```

Is it possible to run julia’s repl in {julia} blocks and python’s repl in {python} blocks?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
renkun-kencommented, Aug 1, 2021

There is an overlap between engine-aware chunk handling and vscode notebook.

1reaction
andycraigcommented, May 15, 2021

Hi @matrix-ranger, for now maybe you could use something like this? You would need a separate keybinding from <kbd>Ctrl+Enter</kbd> and would need to select the text to send, so it’s a workaround rather than a full solution.

    {
        "key": "ctrl+shift+;",
        "command": "r.runCommandWithSelectionOrWord",
        "when": "editorTextFocus",
        "args": "py_run_string('$$')"
    }
Read more comments on GitHub >

github_iconTop Results From Across the Web

Languages supported by Code::Blocks lexers
Language Code::Blocks SciTE Ada Yes Yes AngelScript (using the C++ lexer) Yes No ANS.1 MIB definition files No Yes
Read more >
Code Blocks - DeveloperHub.io
Code blocks allow you to write in pretty formatted code that has syntax highlighting in multiple coding languages. To create a code block:....
Read more >
Which programming languages do support in CodeBlocks? Is ...
By default, CodeBlocks supports many different languages, but its mainly known for its great C and C++ writing capabilities, but it also supports...
Read more >
Code::Blocks writing code in other language - Stack Overflow
is there any change to write code for Code::Blocks in other language as English, in particular Greek language ( or other ) and...
Read more >
Code Blocks
Language Support ; Java, java ; JavaScript, coffeescript , ecmascript , javascript , js , node ; JSX, jsx ; JSON, json.
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