Leo's g, c, and p objects all belong to Leo, not Python or PyQt.  if the 
vscode object belongs to the codebase outside of leojs, I think that 
g.app.vscode would be more appropriate and easier to use as a reminder of 
who vscode belongs to.

On Saturday, September 2, 2023 at 9:49:43 PM UTC-4 Félix wrote:

> Not sure what to decide for this so I thought of doing this quick survey! 
> :)
>
> When running scripts, (CTRL+B) Leo offers the g, c and p variables. I 
> obviously want to expose the vscode API from it's base object "vscode".
>
> Should it be top-level along with c, g and p? or, be located at:
>
> g.vscode
>
> or 
>
> g.app.vscode
>
> Thanks! 
>
> Félix
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/bd9d619d-2e2a-4ff8-a813-e248a4bf7083n%40googlegroups.com.

Reply via email to