Skip to content

pyscript_autocomplete usage inside pyscript/modules and pyscript/apps #12

@ALERTua

Description

@ALERTua

I struggle enabling syntax highlighting inside pyscript/modules and pyscript/apps.
I managed to succeed only by copying pyscript/pyscript_mock to pyscript/modules/pyscript_mock, emptying pyscript/modules/pyscript_mock/__init__.py, and using it as a module by importing:

from pyscript_mock.pyscript_builtins import *
from pyscript_mock.pyscript_generated import *

image
but this solution has to be a part of the generation service to be viable. and the copying does not look pretty.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions