Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: kend on October 17, 2009, 06:27:15 pm
-
Ok, I searched the forums for the answer to this and came up empty, but how do I cut and paste my source code (to preserve highlights and line numbers) from the editor to another file?
-
Ok, I searched the forums for the answer to this and came up empty, but how do I cut and paste my source code (to preserve highlights and line numbers) from the editor to another file?
If you have the source-exporter plugin installed (part of the contrib-plugins), you can use "File -> Export" and export the active file as HTML-, RTF-, ODT- or PDF-file.
Try it and you can see the possible options.
-
Thanks jens,
I don't see any info from Wiki for the source exporter plugin. Am I supposed to copy the (source exporter) source to my current project and compile it? Or is this an installed program? Sorry but I know nothing about plugins. I currently am using codeblocks 8.2 with the gcc complier and debugger which has the core plugins + 3 wxSmith plugins installed.
Thanks
-
Install the contrib plugins it is there
-
I don't see it in the plugin directory? Maybe I have to download it somewhere?
-
I don't see it in the plugin directory? Maybe I have to download it somewhere?
No one can help you; without knowing the operating system. And if you built or installed Code::Blocks.
Assuming the plugin is installed but disabled; check this
"Plugins" -> "Manage Plugins"
look for "Source Exporter" and enable it if disabled.
Tim S.
-
Assuming the plugin is installed but disabled; check this
"Plugins" -> "Manage Plugins"
look for "Source Exporter" and enable it if disabled.
That was the first place I looked. It's not there.
-
You still do not tell us which OS you use, but I guess it's windows.
And if I'm right and you use the 8.02-release, just re-run the installer and this time make sure you marked the source-exporter plugin for install.
By the way: I recommend to install all contrib-plugins.
-
Thanks jens, stupid me, I didn't realize I missed this option when installing.
Thanks again..