Multiple Language Support in a single Repl

I have a pygame repl that uses ctypes to “talk” to C++ and draw on the screen what a C++ function tells it to. This works. The problem is that the repl is by default configured so that it has no language server support for my C++ file, pymodule.cpp, which contains the python/C++ extension code. This means no error highlighting, code completion, etc, which makes it difficult to write code.

Repl Link:

Thank you in advance.

Perhaps try copying in a lot of the .replit configuration from a C++ repl. It might conflict with the python modules though.


Thank you for your quick response! I added


pattern = "**/*.{cpp,h}"

start = "ccls"

to the .replit file, and now it works.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.