You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, enabling the feature request above, I think, will automatically add the Shift Enter feature which is used in .py files to send a piece of code to the interactive window and run it there.
Found a workaround.
While working on a .coco file, we can still force the editor to treat it as Python file - by hitting Ctrl KM (or by clicking on the language name in the editor towards right at the bottom).
If we do that, we get all these features:
automatic cell creation with # %%.
send code to the interactive window using Shift Enter. Just remember to use the Coconut kernel in the interactive window so that coconut-inclusive-code is run successfully there..
all the usual Python based auto-completion, go-to-definition, find-all-references etc. Remember - all this is otherwise missing while working on a .coco file.
The downside is that syntax will be marked as wrong at the places where coconut specific code is used.
It is currently not possible to execute cell from .coco file in VS Code.
A cell is defined by:
The text was updated successfully, but these errors were encountered: