Page 1 of 1
add IMPORTANT to highlighted comment words
Posted: Tue Oct 04, 2016 6:00 pm
by Keya
some words in comments are already highlighted, like "TODO" (case sensitive), which i find a super handy and underrated feature!!!
i'm requesting that you please add "IMPORTANT", "NOTE", and "WARNING" - thankyou! I know i can add this to my custom config but i feel this would be better as a default, and quick and easy enough to add
Re: add IMPORTANT to highlighted comment words
Posted: Wed Oct 05, 2016 1:08 am
by IdeasVacuum
+1
Re: add IMPORTANT to highlighted comment words
Posted: Wed Oct 05, 2016 6:17 pm
by freak
What exactly is the problem with configuring your own settings?
The preinstalled settings are only there as an example and so people can discover the feature.
Re: add IMPORTANT to highlighted comment words
Posted: Wed Oct 05, 2016 6:22 pm
by Keya
i just use default settings so every time i install a new build i lose them, i know there's extra steps that can be taken to save them for reuse but i haven't gotten around to that yet as i've just been using defaults. My request is just a logical extension to what already exists though ... ie. if "TODO" is already in the default highlight list i would've thought it'd be even more important to have "IMPORTANT" in that list

anyway thankyou for your time and consideration
Re: add IMPORTANT to highlighted comment words
Posted: Wed Oct 05, 2016 6:41 pm
by skywalk
I see no reason for additional default keywords. Just make what you need and copy out the necessary preference files to your new installation folder. Then run 'purebasic.exe /portable'.
I would prefer PureBasic specified a user-independent preferences folder other than the installation folder. Not everyone has write access to edit/replace files there.
Code: Select all
"C:\PureBasic-x86\Visual Designer.prefs"
"C:\PureBasic-x86\PureBasic.prefs"
"C:\PureBasic-x86\Templates.prefs"
"C:\PureBasic-x86\Tools.prefs"
"C:\PureBasic-x86\UpdateCheck.xml"
Re: add IMPORTANT to highlighted comment words
Posted: Thu Oct 06, 2016 2:34 pm
by blueb
I've had problems in the past (Lost all my template information, etc.), so now I do this before backing up my PureBasic folder.
It goes to the installation folder location and copies everything to a sub-folder in the PureBasic folder.
Code: Select all
If CopyDirectory("C:\Users\Bob H\AppData\Roaming\PureBasic", "C:\Latest Home\PureBasic\Bobs Template Backup Folder", "", #PB_FileSystem_Recursive|#PB_FileSystem_Force)
Debug "Success! You now have a copy of your template files!"
Else
Debug "+++++++++++++++++++++++++++"
Debug "+++++++++++++++++++++++++++"
Debug " Something went wrong! Please try again!"
Debug "+++++++++++++++++++++++++++"
Debug "+++++++++++++++++++++++++++"
EndIf