QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Pete on October 01, 2021, 01:42:29 pm
-
Fortunately, that guy who sells Flex Tape came along and sealed things up before a lot of good info got through, but I did come away with this from the thread I stared about organization...
Why not add a TAGS option to the QB64 IDE?
So SAVE and SAVE AS now have a box to check [ ] Add Tags
Now I know this opens up a can of worms on indexing. What happens if the file name gets changed, how to keep the same tags on builds, etc. so you have to weigh the work load with the benefits. The OPEN routine would also have to include an option to sort by tags.
The internet has used this for ages, and it is a proven and useful form of organization. I think it would be great to have it as part of the QB64 IDE, but again, unless there is some simple way to create it, and there may be, I would think finding out the percentage of user usage would be warranted before trying to implement file tagging.
Thoughts?
Pete
-
That sure does sound cool. Maybe it would be something done with a database using Fellippe's INI routines. An INI file showing the pairings between files and their related keywords/tags. Personally, I'd use something like SQLite and write a C++ wrapper for Windows and Linux. Then, it's as simple as when the files are shown in the dialog, you run a query against the database file and return all the keywords for each file and display them alongside.