Gidsss / UwUIDE

A compiler made to be cute uwu >~<
6 stars 0 forks source link

Code format button #238

Closed HolyShaq closed 4 months ago

HolyShaq commented 4 months ago

Autoformatting in the editor!

Extra Changes

Extra Things to Maybe do

chaaals commented 4 months ago

Thanks @HolyShaq ! I'll test later, for extra things no. 2, we can maybe use this as reference since may access naman sa token positions? Basically add tayo squiggly lines sa text editor https://stackoverflow.com/questions/61506470/is-it-possible-to-have-a-red-squiggly-line-appear-under-words-in-a-tkinter-text

HolyShaq commented 4 months ago

@chaaals So may lalabas na squiggly line under every error found once na pindutin si format button? Also, I imagine na once we start modifying the text again, mawawala naung squiggly lines right?

chaaals commented 4 months ago

yep @HolyShaq, ayan yung navivisualize ko rn for handling formatting w/ errors

HolyShaq commented 4 months ago

Oki i like the idea, sounds good!

Gidsss commented 4 months ago

Thanks @HolyShaq ! I'll test later, for extra things no. 2, we can maybe use this as reference since may access naman sa token positions? Basically add tayo squiggly lines sa text editor https://stackoverflow.com/questions/61506470/is-it-possible-to-have-a-red-squiggly-line-appear-under-words-in-a-tkinter-text

Hmu if need help @chaaals angas niyan