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
add IMPORTANT to highlighted comment words
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: add IMPORTANT to highlighted comment words
+1
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: add IMPORTANT to highlighted comment words
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.
The preinstalled settings are only there as an example and so people can discover the feature.
quidquid Latine dictum sit altum videtur
Re: add IMPORTANT to highlighted comment words
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
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.
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"
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: add IMPORTANT to highlighted comment words
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.
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
- It was too lonely at the top.
System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem