Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / Could we get the comment toggle changed to // instead of //~ ?

Author
Message
Loktofeit
AGK Developer
16
Years of Service
User Offline
Joined: 21st Jan 2009
Location: Sarasota, FL
Posted: 10th Jan 2025 07:40

Just switched over to Studio from Classic, and the Comment Toggle adds an extra character to comment lines. The breaks the ability to uncomment existing commented content in code that doesn't have that superfluous character. Are there plans to have that removed at some point. If not, is there a reason for that extra character?
LynxJSA's web games/quizzes - LynxJSA's Android apps
AGK Resource Directory
"Stick to a single main loop (DO...LOOP) and loop through it every frame.
Do everything inside functions.
Use finite state machines to control your game.
Use lots and lots of source files.
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 10th Jan 2025 19:12
who in their right mind thought //~ should be a comment? What language has ever used a tilde coupled with double slashes?
Tiled TMX Importer V.2
XML Parser V.2
Base64 Encoder/Decoder
Purple Token - Free online hi-score database
Legend of Zelda
Pixel-Perfect Collision

"I like offending people, because I think people who get offended should be offended." - Linus Torvalds

Qube_
10
Years of Service
User Offline
Joined: 21st Oct 2014
Location: Omnipresent
Posted: 10th Jan 2025 22:33
I thought it was a good idea as block commenting often has commented code and so you can easily block / unblock comment and the comments you've added with just // remain intact. An option would be to have an alternate block comment option which just uses // instead of //~ for those who would prefer that?

Not sure if AppGameKit Studio is going to get any actual updates beyond sporadic maintenance fixes though?
WJF
4
Years of Service
User Offline
Joined: 15th Jan 2021
Location:
Posted: 1st Mar 2025 16:32
I am using AppGameKit Studio v2024.12.07 and the // works for me as a comment indicator.
I normally use the ` symbol though. That also works.

Login to post a reply

Server time is: 2025-05-08 22:54:23
Your offset time is: 2025-05-08 22:54:23