News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

class FileManager purpose

Started by Alpha, July 29, 2014, 03:58:29 AM

Previous topic - Next topic

Alpha

I am in the process of testing the addition of some file related functions, and am uncertain where I should add them.  Is FileManager supposed to handle only file loading/saving, or can I use it as a candidate location to work on?

MortenMacFly

Depends on what you've in mind. If you address a single file only yes. If you mean to address functions for files belonging to a project or with relevance to a project, "projectfile" might be a better candidate.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Alpha

I am attempting to see if I can speed up search/replace in files by pre-indexing files.  The files involved in indexing would (most likely) consist of project files, loose/recently opened files, and files in recently searched directories.  Within the index, it would not keep track of where the files came from.

oBFusCATed

Can you think about making this api reusable in the ThreadSearch plugin?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Alpha

Plugin friendly API is already in my plans :) .