profelis / daScript-plugin

daScript language support
https://marketplace.visualstudio.com/items?itemName=profelis.dascript-plugin
MIT License
9 stars 4 forks source link

How to get code hints or auto-completion for bound C++ modules? #15

Closed zle000 closed 7 months ago

zle000 commented 7 months ago

For example:

require TestModule

[export]
def main
    TestModuleFunc("hi")

Would it be possible to receive prompts for the bound function TestModuleFunc ?

profelis commented 7 months ago

you need console utility (like dascript) or something like this compiled with all your modules and which able to run language server. Usually it's exactly dascript.exe but with additional NEED_MODULE(...) calls, to pull your specific modules.