Author Topic: Open Zip Project  (Read 11968 times)

Offline Repxl

  • Single posting newcomer
  • *
  • Posts: 2
Open Zip Project
« on: January 16, 2010, 02:53:50 pm »
hello i installed Code::Blocks .. and i have choose open zip folder and then i had 3 methods of open i have choose the last option but this have opened me just a no needed code or idk i need that it open the files what are inside of the zip


my question is how i can get back the choose option on open where i can choose  3 methods of open the file

i tryed in settings but no found it i tryed rr pc or rr blocks but it now allways open me the file in the 1 method


Please help asap.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Open Zip Project
« Reply #1 on: January 16, 2010, 03:22:42 pm »
my question is how i can get back the choose option on open where i can choose  3 methods of open the file
Settings -> Environment -> file extension handling -> Remove the registered wild-card in question (or adjust the settings accordingly).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Repxl

  • Single posting newcomer
  • *
  • Posts: 2
Re: Open Zip Project
« Reply #2 on: January 16, 2010, 03:37:07 pm »
thanks.

and how i can open the all files in the zip as project.. or that it open the source


like in Visual c++ its allowed you can open from zip all the headers / source etc files and then run it :)


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Open Zip Project
« Reply #3 on: January 16, 2010, 03:48:24 pm »
like in Visual c++ its allowed you can open from zip all the headers / source etc files and then run it :)
That is a typical stupid idea. It's certainly not supported by C::B and I really see no sense in making that happen so I doubt it will ever be. Projects usually have a folder structure which you have to follow if you want to compile a project. Even if you want to compile a single file in a ZIP archive it has to be extracted anyways. What happens in an "automised" process is that everything is extracted to a temporary folder and removed afterwards (including your modifications). So why should that make sense? The only meaningful way of dealing with ZIP archives is extracting the content of the to a folder of your choice and then operating as usual.

However, it is certainly possible to add support for "that" to C::B via a plugin. There is a special type of plugins dedicated for such things: MIME handler plugins. So if anyone wants to... feel free to add a handler accordingly through a plugin.
« Last Edit: January 16, 2010, 03:50:23 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ