apommel / vscode-matlab-interactive-terminal

VS Code extension allowing for an interactive Matlab terminal and launching of scripts through Matlab Engine for Python
MIT License
46 stars 10 forks source link

Run code block #25

Closed weihongliang233 closed 3 years ago

weihongliang233 commented 4 years ago

Implemented "Run Code Block" functionality

I have developed an extension (on Github on in VScodeExtension Marketplace ) which can split the code file into blocks with regular expression and manipulate with the blocks. One can highlight the current block (where the cursor points at), quickly navigate through blocks and select a whole block (more functionalities are coming soon).

I have integrated its "select the whole current block" functionality into this matlab-interactive-terminal extension. There is already an issue here. The following gif is a demo:

demo2

weihongliang233 commented 4 years ago

Update a full-screen demo. demo

apommel commented 3 years ago

Thanks for the contribution, but I don't want the extension to depend on another one. I will close this, but I'm not opposed in principle to a feature allowing to run code blocks, but I think it should work on its own.