Multiple file support
Opened this issue · 9 comments
It would be cool if I could upload files as modules (or have seperate codeblocks as modules maybe). So I could do
module.py
def thing():
print("hi")
from module import thing
thing.thing()
Basically it should just add the file with the provided filename to the same directory as the main function. This would probably require a piston change though so idk.
Piston supports this but godbolt doesn't. Because there isn't any godbolt support I'm apprehensive to add this feature right now.
If a message requesting execution has a feature that isn't supported by one of the providers, just don't list the compilers for that provider I think. I'm happy to implement this
I will merge this if it is implemented
If a message requesting execution has a feature that isn't supported by one of the providers, just don't list the compilers for that provider I think. I'm happy to implement this
Not sure if just not listing the unsupported providers would be best. Could end up confusing the user as to why certain providers are missing.
Is there a way to disable specific options in a dropdown @Lunarmagpie?
You can filter the options before they are added to the dropdown.
Is there a way to disable specific options in a dropdown @Lunarmagpie?
Do you mean like having the option on the dropdown, but sort of grayed out so one can see it but not select it?
Do you mean like having the option on the dropdown, but sort of grayed out so one can see it but not select it?
I assumed circuit wanted to remove the option from the dropdown. I prefer this than making it grayed out.
Do you mean like having the option on the dropdown, but sort of grayed out so one can see it but not select it?
Yes that's what I meant. IMO It would be less confusing than having a bunch of compilers just disappearing for no apparent reason.