CodeMyst/pastemyst

Override pasty language

Closed this issue · 1 comments

is your feature request related to a problem? please describe.
PasteMyst's language detector isn't perfect and can always bug out.

describe the solution you'd like
A drop down menu of a created paste to override the language.

describe alternatives you've considered
None.

additional context
Discord's feature can give you an idea of what I mean:
Changing language

on another note
How would you go about using this feature and having the user to (optionally) suggest if there is something wrong in the language i.e, incorrect autodetection and then the AI can be improved this way, I'm thinking this would be more suitable for v3.

you can just select the proper language in the first place, or edit it later. this way everyone who views your paste doesnt have to select the proper language, you just have to do it once.

and the other note, autodetect will always be flawed, and biased, i cant do anything about it, especially since i didnt make the autodetector and im not planning to (but you can feel free to make one, and if it works good enough we can replace the current one).