Open ma-sadeghi opened 4 months ago
Hi @ma-sadeghi ,
The extension depends entirely on the language extension in order to identify the symbols, and to know if some symbol could receive separators, you could use the Outline
view as a reference. If you see these "code cells" in the Outline
view, it could certainly receive separators above. On the other hand, if they are not in the Outline
view, so the extension won’t be able to draw separators.
If you see them in the Outline
view, please post a picture of it, and if possible, a sample source that I could use play with.
Hope this helps
In Python and Julia, especially during prototyping, it's common to format the script as "code cells", which can then be executed individually (supported by most IDEs including VS Code). For instance, in Python, the common code cell marker is
# %%
, e.g.:In VS Code, there's preliminary support for native code cell separators, but it's only limited to Python. It'd be really useful if your extension could support this feature.
Thanks!