User forums > Help

processing of template header

(1/2) > >>

J0N0:
Hi...

If i create a template header named, say, 'moronic.i' in a project that includes a file 'moronic.cpp', C::B corrupts/deletes the cpp file.

swig -c++ -lua  -o C:\CB\moronic.cpp C:\CB\moronic.i

regardless, the include processing is broken, with the error

Execution of 'swig -c++ -lua  -o C:\CB\moronic.cpp C:\CB\moronic.i' in 'C:\CB' failed.

I don't want to dis C::B cos it is very handy sometimes, but there is another gripe.  Why is cut/copy/paste buried in a secondary 'edit' menu?¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿?

Cheers,
Jono


oBFusCATed:
Hm, please try to explain your problem with more details.
At the moment it is not clear what it is, because there are details that you've not mentioned and you think we can infer.

For the edit: Because there are many menu items in the context menu. Use the shortcuts.

scarphin:
I've never seen .i used as an extension to anything related to C/C++, maybe you should consider changing it to something else like .hpp, .hh, .h++. Nevertheless, your problem is a custom compilation defined for the extension .i in settings->compiler->pick your compiler->other settings tab->advanced options->commands tab->extensions list. Delete the entry for i and you'll be fine.

@obfuscated: Why not remove all the edit menu from the context menu?

oBFusCATed:

--- Quote from: scarphin on December 15, 2015, 01:06:12 pm ---@obfuscated: Why not remove all the edit menu from the context menu?

--- End quote ---
Because some people use them, some don't and use some other menu items.
We can't remove anything from this menu before we have made it possible for people to rearrange it using some UI.
Until then the menu is what it is. If there is someone willing to do this job, I'll be happy to review the patch/es.

J0N0:

--- Quote from: oBFusCATed on December 15, 2015, 08:40:30 am ---For the edit: Because there are many menu items in the context menu. Use the shortcuts.

--- End quote ---

For me personally, Copy seems more commonly useful than Search at OLOHO...  (whatever OLOHO is)  or DoxyBlocks.

What I should have asked is how to configure the context menu and remove everything except cut, copy and paste... but then rtfm, I suppose!

Cheers

Navigation

[0] Message Index

[#] Next page

Go to full version