Search - Documentation & Help · 1 CodeBlocks Project Management 1.1 Project View 1.2 Notes for...

Preview:

Citation preview

Search

Tableofcontents

CodeBlocksManual

1CodeBlocksProjectManagement1.1ProjectView1.2NotesforProjects1.3ProjectTemplates1.4CreateProjectsfromBuildTargets1.5VirtualTargets1.6Pre-andPostbuildsteps1.7AddingScriptsinBuildTargets1.8WorkspaceandProjectDependencies1.9IncludingAssemblerfiles1.10EditorandTools

1.10.1DefaultCode1.10.2Abbreviation1.10.3Personalities1.10.4ConfigurationFiles1.10.5NavigateandSearch1.10.6Symbolview1.10.7Includingexternalhelpfiles1.10.8Includingexternaltools

1.11TipsforworkingwithCodeBlocks1.11.1TrackingofModifications1.11.2DataExchangewithotherapplications1.11.3Configuringenvironmentalvariables1.11.4Switchingbetweenperspectives1.11.5Switchingbetweenprojects

1.11.6Extendedsettingsforcompilers1.11.7Zoomingwithintheeditor1.11.8WrapMode1.11.9Selectmodesineditor1.11.10Codefolding1.11.11Autocomplete1.11.12Findbrokenfiles1.11.13Includinglibraries1.11.14Objectlinkingorder1.11.15Autosave1.11.16Settingsforfileextensions

1.12CodeBlocksatthecommandline1.13Shortcuts

1.13.1Editor1.13.2Files1.13.3View1.13.4Search1.13.5Build

2Plugins2.1Astyle2.2CodeSnippets2.3IncrementalSearch2.4ToDoList2.5SourceCodeExporter2.6ThreadSearch

2.6.1Features2.6.2Usage2.6.3Configuration2.6.4Options2.6.5Threadsearchoptions2.6.6Layout2.6.7PanelManagement2.6.8LoggerType

2.6.9SplitterWindowMode2.6.10SortSearchResults

2.7FileManagerandPowerShellPlugin2.8BrowseTracker2.9SVNSupport2.10LibFinder

2.10.1Searchingforlibraries2.10.2Includinglibrariesinprojects2.10.3UsingLibFinderandprojectsgeneratedfromwizards

2.11AutoVersioning2.11.1Introduction2.11.2Features2.11.3Usage2.11.4Dialognotebooktabs

2.11.4.1VersionValues2.11.4.2Status2.11.4.3Scheme2.11.4.4Settings2.11.4.5ChangesLog

2.11.5Includinginyourcode2.11.5.1Outputofversion.h

2.11.6Changeloggenerator2.11.6.1ButtonsSummary

2.12Codestatistics2.13SearchingAvailableSourceCode2.14Codeprofiler2.15SymbolTablePlugin

3VariableExpansion3.1Syntax3.2Listofavailablebuilt-ins

3.2.1CodeBlocksworkspace3.2.2Filesanddirectories

3.2.3Buildtargets3.2.4Languageandencoding3.2.5Timeanddate3.2.6Randomvalues3.2.7OperatingSystemCommands3.2.8ConditionalEvaluation

3.3Scriptexpansion3.4CommandMacros3.5Compilesinglefile3.6Linkobjectfilestoexecutable3.7Globalcompilervariables3.8Synopsis3.9NamesandMembers3.10Constraints3.11UsingGlobalCompilerVariables3.12VariableSets

3.12.1CustomMembersMini-Tutorial

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1CodeBlocksProjectManagement

Theinstructionsforchapter3and??areofficialdocumentationsoftheCodeBlocksWikisiteandavailableinenglishonly.ThebelowillustrationshowsthedesignoftheCodeBlocksuserinterface.

Figure1.1:IDECodeBlocks

ManagementThiswindowcontainstheinterface’Projects’whichwillinthefollowingtextbereferredtoastheprojectview.ThisviewshowalltheprojectsopenedinCodeBlocksatacertaintime.The’Symbols’

taboftheManagementwindowshowssymbols,variablesetc..Editor

Intheaboveillustration,asourcenamedhello.cisopenedwithsyntaxhighlightingintheeditor.

Openfileslistshowsalistofallfilesopenedintheeditor,inthisexample:hello.c.

CodeSnippetscanbedisplayedviathemenu’View’/’CodeSnippets’.Hereyoucanmanagetextmodules,linkstofilesandlinkstourls.

Logs&others.Thiswindowisusedforoutputtingsearchresults,logmessagesofacompileretc..

Thestatusbargivesanoverviewofthefollowingsettings:

Absolutepathofanopenedfileintheeditor.Theeditorusesthedefaultcharacterencodingofyourhostoperatingsystem.Thissettingwillbedisplayedwithdefault.Rowandcolumnnumberofthecurrentcursorpositionintheeditor.Theconfiguredkeyboardmodeforinsertingtext(InsertorOverwrite).Currentstateofafile.AmodifiedfilewillbemarkedwithModifiedotherwisethisentryisempty.Thepermissionofafile.AfilewithreadonlysettingswilldisplayReadonlyinthestatusbar.Inthewindow’Openfileslist’thesefileswillbeemphasisedwithalockasiconoverlay.

Note:Intheactiveeditortheusercanselectthecontextmenuproperties.Intheappearingdialoginthetab’General’theoption’Fileisread-only’canbeselected.Thisoptionwillresultinaread-onlyaccessofthe

correspondingfilewithinCodeBlocks,buttheoriginalreadandwriteattributesofthefileonthefilesystemarenotmodified.

IfyoustartCodeBlockswiththecommandlineoption--personality=<profile>thenthestatusbarwillshowthecurrentlyusedprofile,otherwisedefaultwillbeshown.ThesettingsofCodeBlocks

arestoredinthecorrespondingconfigurationfile<personality>.conf.

CodeBlocksoffersaveryflexibleandcomprehensiveprojectmanagement.Thefollowingtextwilladdressonlysomeofthefeaturesoftheprojectmanagement.

CodeBlocksManual1.1ProjectView

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.1ProjectView

InCodeBlocks,thesourcesandthesettingsforthebuildprocessarestoredinaprojectfile<name>.cbp.C/C++sourcesandthecorrespondingheaderfilesarethetypicalcomponentsofaproject.Theeasiestwaytocreateanewprojectisexecutingthecommand’File’/’Project’andselectingawizard.Thenyoucanaddfilestotheprojectviathecontextmenu’Addfiles’intheManagementwindow.CodeBlocksgovernstheprojectfilesincategoriesaccordingtotheirfileextensions.Thesearethepresetcategories:Sources

includessourcefileswiththeextensions*.c;*.cpp;.ASMSources

includessourcefileswiththeextensions*.s;*.S;*.ss;*.asm.Headers

includes,amongothers,fileswiththeextension*.h;.Resources

includesfilesforlayoutdescriptionsforwxWidgetswindowswiththeextensions*.res;*.xrc;.Thesefiletypesareshowninthe’Resources’taboftheManangementwindow.

Thesettingsfortypesandcategoriesoffilescanbeadjustedviathecontextmenu’Projecttree’/’Editfiletypes&categories’.Hereyoucanalsodefinecustomcategoriesforfileextensionsofyourown.Forexample,ifyouwishtolistlinkerscriptswiththe*.ldextensioninacategorycalledLinkerscript,youonlyhavetocreatethenewcategory.

Note:Ifyoudeactivate’Projecttree’/’Categorizebyfiletypes’inthecontext

menu,thecategorydisplaywillbeswitchedoff,andthefileswillbelistedastheyarestoredinthefilesystem.

1CodeBlocksProjectManagement1.2NotesforProjects

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.2NotesforProjects

InCodeBlocks,so-callednotescanbestoredforaproject.Thesenotesshouldcontainshortdescriptionsorhintsforthecorrespondingproject.Bydisplayingthisinformationduringtheopeningofaproject,otherusersareprovidedwithaquicksurveyoftheproject.ThedisplayofnotescanbeswitchedonoroffintheNotestabofthePropertiesofaproject.

1.1ProjectView1.3ProjectTemplates

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.3ProjectTemplates

CodeBlocksissuppliedwithavarietyofprojecttemplateswhicharedisplayedwhencreatinganewproject.However,itisalsopossibletostorecustomtemplatesforcollectingyourownspecificationsforcompilerswitches,theoptimisationtobeused,machine-specificswitchesetc.intemplates.ThesetemplateswillbestoredintheDocumentsandSettings\<user>\ApplicationData\codeblocks\UserTemplatesdirectory.Ifthetemplatesaretobeopentoallusers,theyhavetobecopiedtoacorrespondingdirectoryoftheCodeBlocksinstallation.ThesetemplateswillthenbedisplayedatthenextstartupofCodeBlocksunder’New’/’Project’/’Usertemplates’.

Note:TheavailabletemplatesintheProjectWizardcanbeeditedbyselectionvia

right-click.

1.2NotesforProjects1.4CreateProjectsfromBuildTargets

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.4CreateProjectsfromBuildTargets

Inprojectsitisnecessarytohavedifferentvariantsoftheprojectavailable.VariantsarecalledBuildTargets.Theydifferwithrespecttotheircompileroptions,debuginformationand/orchoiceoffiles.ABuildTargetcanalsobeoutsourcedtoaseparateproject.Todoso,click’Project’/’Properties’,selectthevariantfromthetab’BuildTargets’andclickthe’Createprojectfromtarget’button(seeFigure1.2).

Figure1.2:Build

Targets

1.3ProjectTemplates1.5VirtualTargets

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.5VirtualTargets

ProjectscanbefurtherstructuredinCodeBlocksbyso-calledVirtualTargets.AfrequentlyusedprojectstructureconsistsoftwoBuildTargets,one’Debug’Targetwhichcontainsdebuginformationandone’Release’Targetwithoutthisinformation.ByaddingVirtualTargetsvia’Project’/’Properties’/’BuildTargets’individualBuildTargetscanbecombined.Forexample,aVirtualTarget’All’cancreatetheTargetsDebugandReleasesimultaneously.VirtualTargetsareshowninthesymbolbarofthecompilerunderBuildTargets.

1.4CreateProjectsfromBuildTargets1.6Pre-andPostbuildsteps

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.6Pre-andPostbuildsteps

CodeBlocksmakesitpossibletoperformadditionaloperationsbeforeoraftercompilingaproject.TheseoperationsarecalledPrebuiltorPostbuiltSteps.TypicalPostbuiltStepsare:

CreatinganIntelHexformatfromafinishedobjectManipulatingobjectsbyobjcopyGeneratingdumpfilesbyobjdump

ExampleCreatingaDisassemblyfromanobjectunderWindows.Pipingtoafilerequirescallingcmdwiththe/coption.

cmd/cobjdump-Dname.elf>name.disArchivingaprojectcanbeanotherexampleforaPostbuiltStep.Forthispurpose,createaBuildTarget’Archive’andincludethefollowinginstructioninthePostbuiltStep:

zip-j9$(PROJECT_NAME)_$(TODAY).zipsrchobj$(PROJECT_NAME).cbpWiththiscommand,theactiveprojectanditssources,headerandobjectswillbepackedasazipfile.Indoingso,theBuilt-invariables$(PROJECT_NAME)and$(TODAY),theprojectnameandthecurrentdatewillbeextracted(seesection3.2).AftertheexecutionoftheTarget’Archive’,thepackedfilewillbestoredintheprojectdirectory.Intheshare/codeblocks/scriptsdirectoryyouwillfindsomeexamplesforscripts.Youcanaddascriptviamenu’Settings’/’Scripting’andregisterinamenu.Ifyouexecutee.g.thescriptmake_distfromthemenuthenallfilesbelongingtoaprojectwillbecompressedinanarchive<project>.tar.gz.

1.5VirtualTargets1.7AddingScriptsinBuildTargets

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.7AddingScriptsinBuildTargets

CodeBlocksoffersthepossibilityofusingmenuactionsinscripts.Thescriptrepresentsanotherdegreeoffreedomforcontrollingthegenerationofyourproject.

Note:AscriptcanalsobeincludedataBuildTarget.

1.6Pre-andPostbuildsteps1.8WorkspaceandProjectDependencies

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.8WorkspaceandProjectDependencies

InCodeBlocks,multipleprojectscanbeopen.Bysavingopenprojectsvia’File’/’Saveworkspace’youcancollecttheminasingleworkspaceunder<name>.workspace.Ifyouopen<name>.workspaceduringthenextstartupofvonCodeBlocks,allprojectswillshowupagain.ComplexsoftwaresystemsconsistofcomponentswhicharemanagedindifferentCodeBlocksprojects.Furthermore,withthegenerationofsuchsoftwaresystems,thereareoftendependenciesbetweentheseprojects.ExampleAprojectAcontainsfundamentalfunctionswhicharemadeavailabletootherprojectsintheformofalibrary.Now,ifthesourcesofthisprojectaremodified,thenthelibraryhastoberebuilt.TomaintainconsistencybetweenaprojectBwhichusesthefunctionsandprojectAwhichimplementsthefunctions,projectBhastodependonprojectA.Thenecessaryinformationonthedependenciesofprojectsisstoredintherelevantworkspace,sothateachprojectcanbecreatedseparately.Theusageofdependenciesmakesitalsopossibletocontroltheorderinwhichtheprojectswillbegenerated.Thedependenciesforprojectscanbesetviatheselectingthemenu’Project’/’Properties’andthenclickingthe’Project’sdependencies’button.

1.7AddingScriptsinBuildTargets1.9IncludingAssemblerfiles

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.9IncludingAssemblerfiles

IntheManagementwindowoftheProjectView,AssemblerfilesareshownintheASMSourcescategory.Theusercanchangethelistingoffilesincategories(seesection1.1).Right-clickingoneofthelistedAssemblerfileswillopenacontextmenu.Select’Properties’toopenanewwindow.Nowselectthe’Build’tabandactivatethetwofields’Compilefile’and’Linkfile’.Thenselectthe’Advanced’tabandexecutethefollowingsteps:

1. Set’Compilervariable’toCC2. Selectthecompilerunder’Forthiscompiler’3. Select’Usecustomcommandtobuildthisfile’4. Inthewindow,enter:

$compiler$options$includes<asopts>-c$file-o$objectTheCodeBlocksvariablesaremarkedby$(seesection3.4).TheyaresetautomaticallysothatyouonlyhavetoreplacetheAssembleroption<asopt>byyourownsettings.

1.8WorkspaceandProjectDependencies1.10EditorandTools

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.10EditorandTools

1.10.1DefaultCode

Thecompany’sCodingRulesrequiresourcefilestohaveastandarddesign.CodeBlocksmakesitpossibletoincludeapredefinedcontentatthebeginningofafileautomaticallywhencreatingnewC/C++sourcesandheaders.Thispredefinedcontentiscalleddefaultcode.Thissettingcanbeselectedunder’Stettings’/’Editor’DefaultCode.Ifyoucreateanewfilethenamacroexpansionofvariables,e.g.definedviamenu’Settings’/’Globalvariables’,isperformed.Anewfilecanbecreatedviathemenu’File’/’New’/’File’.Example/*************************************************************************

*Project:$(proejct)*Function:*************************************************************************

*$Author:mario$*$Name:$*************************************************************************

**Copyright2007bycompanyname*************************************************************************/

1.9IncludingAssemblerfiles1.10.2Abbreviation

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.10.2Abbreviation

AlotoftypingcanbesavedinCodeBlocksbydefiningabbreviation.Thisisdonebyselecting’Settings’/’Editor’anddefiningtheabbreviationsunderthename<name>,whichcanthenbecalledbythekeyboardshortcutCtrl-J(seeFigure1.3).

Figure1.3:Definingabbreviations

Parametrisationisalsopossiblebyincludingvariables$(NAME)intheabbreviations.#ifndef$(Guardtoken)#define$(Guardtoken)#endif//$(Guardtoken)Whenperformingtheabbreviation<name>inthesourcetextandperformingCtrl-J,thecontentofthevariableisrequestedandincluded.

1.10.1DefaultCode1.10.3Personalities

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.10.3Personalities

CodeBlockssettingsaresavedasapplicationdatainafilecalled<user>.confinthecodeblocksdirectory.Thisconfigurationfilecontainsinformationsuchasthelastopenedprojects,settingsfortheeditor,displayofsymbolbarsetc.Bydefault,the’default’personalityissetsothattheconfigurationisstoredinthefiledefault.conf.IfCodeBlocksiscalledfromthecommandlinewiththeparameter--personality=myuser,thesettingswillbestoredinthefilemyuser.conf.Iftheprofiledoesnotexistalready,itwillautomaticallybecreated.Thisproceduremakesitpossibletocreatethecorrespondingprofilesfordifferentworksteps.IfyoustartCodeBlocksfromthecommandlinewiththeadditionalparameter--personality=ask,aselectionboxwillbedisplayedforalltheavailableprofiles.

Note:Thenameofthecurrentprofile/personalityisdisplayedintherightcorner

ofthestatusbar.

1.10.2Abbreviation1.10.4ConfigurationFiles

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.10.4ConfigurationFiles

TheCodeBlockssettingsarestoredinthedefault.confprofileinthecodeblocksdirectoryofyourApplicationData.Whenusingpersonalities(seesubsection1.10.3),theconfigurationdetailswillbestoredinthe<personality>.conffile.Thetoolcb_share_conf,whichcanbefoundintheCodeBlocksinstallationdirectory,isusedformanagingandstoringthesesettings.Ifyouwishtodefinestandardsettingsforseveralusersofacomputer,theconfigurationfiledefault.confhastobestoredinthedirectory\DocumentsandSettings\DefaultUser\ApplicationData\codeblocks.Duringthefirststartup,CodeBlockswillcopythepresettingsfrom’DefaultUser’totheapplicationdataofthecurrentusers.TocreateaportableversionofCodeBlocksonaUSBstick,proceedasfollows.CopytheCodeBlocksinstallationtoaUSBstickandstoretheconfigurationfiledefault.confinthisdirectory.Theconfigurationwillbeusedasaglobalsetting.Pleasetakecarethatthefileiswriteable,otherwisechangesoftheconfigurationcannotbestored.

1.10.3Personalities1.10.5NavigateandSearch

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.10.5NavigateandSearch

InCodeBlockstherearedifferentwaysofquicknavigationbetweenfilesandfunctions.Settingbookmarksisatypicalprocedure.ViatheshortcutCtrl-Babookmarkissetordeletedinthesourcefile.ViaAlt-PgUpyoucanjumptothepreviousbookmark,andviaAlt-PgDnyoucanjumptothenextbookmark.Ifyouselecttheworkspaceoraprojectintheworkspaceintheprojectviewyouwillbeabletosearchforafileintheproject.Justselect’Findfile’fromthecontextmenu,thentypethenameofthefileandthefilewillbeselected.Ifyouhitreturnthisfilewillbeopenedintheeditor(seeFigure1.4).

Figure1.4:Searchingforfiles

InCodeBlocksyoucaneasilynavigatebetweenheader/sourcefileslike:

1. Setcursoratthelocationwhereaheaderfileisincludeandopenthisfileviathecontextmenu’openincludefile’(seeFigure1.5)

2. Swapbetweenheaderandsourceviathecontextmenu’Swapheader/source’

3. Selecte.g.adefineintheeditorandchoose’Finddeclaration’fromthecontextmenutoopenthefilewithitsdeclaration.

Figure1.5:Openingofaheaderfile

CodeBlocksofferesseveralwaysofsearchingwithinafileordirectory.Thedialogueboxforsearchingisopenedvia’Search’/’Find’(Ctrl-F)or’FindinFiles’(Ctrl-Shift-F).Alt-GandCtrl-Alt-Gareanotherusefulfunctions.Thedialoguewhichwillopenonusingthisshortcut,letsyouselectfiles/functionsandthenjumpstotheimplementationoftheselectedfunction(seeFigure1.6)oropenstheselectedfileintheeditor.Youmayusewildcardslike*or?etc.foranincrementalsearchinthedialog.

Figure1.6:Searchforfunctions

Note:WiththeCtrl-PgUpshortcutyoucanjumptothepreviousfunction,andvia

Ctrl-PgDnyoucanjumptothenextfunction.Intheeditor,youcanopenanewOpenFilesdialogviaCtrl-Tabandyoucanswitchbetweenthelistedentries.IftheCtrl-keyispressed,thenafilecanbeselectedindifferentways:

1. Ifyouselectanentrywiththeleftmousebutton,thentheselectedfilewillbeopened.

2. IfyoupresstheTab-keyyouwillswitchbetweenthelistedentries.ReleasingtheCrtl-keywillopentheselectedfile.

3. Ifyoumovethemouseoverthelistedentries,thenthecurrentselectionwillbehighlighted.ReleasingtheCrtl-keywillopentheselectedfile.

4. Ifthemousepointerisoutsidethehighlightedselection,thenyoucanusethemouse-wheeltoswitchbetweentheentries.ReleasingtheCrtl-keywillopentheselectedfile.

Acommonprocedurewhendevelopingsoftwareistostrugglewithasetoffunctionswhichareimplementedindifferentfiles.TheBrowseTrackerpluginwillhelpyousolvethisproblembyshowingyoutheorderinwhichthefileswereselected.Youcanthencomfortablynavigatethefunctioncalls(seesection2.8).ThedisplayoflinenumbersinCodeBlockscanbeactivatedvia’Settings’/’GeneralSettings’inthefield’Showlinenumbers’.TheshortcutCtrl-Gorthemenucommand’Search’/’Gotoline’willhelpyoujumptothedesiredline.

Note:IfyouholdtheCtrlkeyandthenselecttextintheCodeBlockseditoryou

canperforme.g.aGooglesearchviathecontextmenu.

1.10.4ConfigurationFiles1.10.6Symbolview

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.10.6Symbolview

TheCodeBlocksManagementwindowoffersatreeviewforsymbolsofC/C++sourcesfornavigatingviafunctionsorvariables.Asthescopeofthisview,youcansetthecurrentfileorproject,orthewholeworkspace.

Note:Enteringasearchtermorsymbolnamesinthe’Search’inputmaskofthe

SymbolBrowserresultsinafilteredviewofthesymbolsifanyhitsoccurred.

Thefollowingcategoriesexistforthesymbols:Globalfunctions

Liststheimplementationofglobalfunctions.Globaltypedefs

Liststheuseoftypedefdefinitions.Globalvariables

Displaysthesymbolsofglobalvariables.Preprocessorsymbols

Liststhepre-processordirectivescreatedby#define.Globalmacros

Listsmacrosofpre-processordirectives.

Figure1.7:Symbolview

Structuresandclassesaredisplayedinthe’bottomtree’andthesortsequencecanbemodifiedviathecontextmenu.Ifacategoryisselectedbymouse-click,thefoundsymbolswillbedisplayedinthelowerpartofthewindow(seeFigure1.7).Double-clickingthesymbolwillopenthefileinwhichthesymbolisdefinedorthefunctionimplemented,andjumpstothecorrespondingline.Anauto-refreshofthesymbolbrowserwithoutsavingafile,canbeactivatedviathemenu’Settings’/’Editor’/’CodeCompletion’(seeFigure1.8).ForprojectswithmanysymbolstheperformancewithinCodeBlockswillbeaffected.

Figure1.8:Enablereal-timeparsing

Note:Intheeditor,alistoftheclassescanbedisplayedviathecontextmenus’InsertClassmethoddeclarationimplementation’or’Allclassmethods

withoutimplementation’.

1.10.5NavigateandSearch1.10.7Includingexternalhelpfiles

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.10.7Includingexternalhelpfiles

TheCodeBlocksdevelopmentenvironmentsupportstheinclusionofexternalhelpfilesviathemenu’Settings’/’Environment’.Includethemanualofyourchoiceinthechmformatin’HelpFiles’select’thisisthedefaulthelpfile’(seeFigure1.9).Theentry$(keyword)isaplaceholderforaselectiteminyoureditor.NowyoucanselectafunctioninanopenedsourcefileinCodeBlocksbymouse-click,andthecorrespondingdocumentationwillappearwhilepressingF1.Ifyouhaveincludedmultiplehelpfiles,youcanselectatermintheeditorandchooseahelpfilefromthecontextmenu’Locatein’forCodeBlockstosearchin.

Figure1.9:Settingsforhelpfiles

InCodeBlocksyoucanaddevensupportformanpages.Justaddaentry’man’andspecifythepathasfollows.man:/usr/share/manCodeBlocksprovidesan’EmbeddedHTMLViewer’,whichcanbeusedtodisplaysimplehtmlfileandfindkeywordswithinthisfile.Justconfigurethepathtothehtmlfile,whichshouldbeparsedandenablethecheckbox’Openthisfilewithembeddedhelpviewer’viathemenu’Settings’/’Environment’/’HelpFiles’.

Figure1.10:EmbeddedHTMLViewer

Note:Ifyouselectahtmlfilewithadouble-clickwithinthefileexplorer(seesection2.7)thentheembeddedhtmlviewerwillbestarted,aslongasno

associationforhtmlfilesismadeinfileextensionshandler.

1.10.6Symbolview1.10.8Includingexternaltools

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.10.8Includingexternaltools

IncludingexternaltoolsispossibleinCodeBlocksvia’Tools’/’ConfigureTools’/’Add’.Built-invariables(seesection3.2)canalsobeaccessedfortoolparameters.Furthermorethereareseveralkindsoflaunchingoptionsforstartingexternalapplications.Dependingontheoption,theexternallystartedapplicationsarestoppedwhenCodeBlocksisquit.IftheapplicationsaretoremainopenafterquittingCodeBlocks,theoption’Launchtoolvisibledetached’mustbeset.

1.10.7Includingexternalhelpfiles1.11TipsforworkingwithCodeBlocks

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11TipsforworkingwithCodeBlocks

InthischapterwewillpresentsomeusefulsettingsinCodeBlocks.

1.10.8Includingexternaltools1.11.1TrackingofModifications

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.1TrackingofModifications

CodeBlocksprovidesafeaturetotrackmodificationswithinasourcefileandtoshowabarinthemarginforthechanges.Modificationsaremarkedwithayellowchangebarandmodificationsthatarealreadysavedwilluseagreenchangebar(seeFigure1.11).Youcannavigatebetweenyourchangesviathemenu’Search’/’Gotonextchangedline’or’Search’/’Gotopreviouschangedline’.ThesamefunctionalityisalsoaccessibleviatheshortcutsCtrl-F3andCtrl-Shift-F3.

Figure1.11:Trackingofmodifications

Thisfeaturecanbeenabledordisabledwiththecheckbox’UseChangebar’inthemenu’Settings’/’Editor’/’Marginsandcaret’.

Note:Ifamodifiedfileisclosed,thenthechangeshistorylikeundo/redoandchangebarsgetlost.Viathemenu’Edit’/’Clearchangeshistory’orthe

correspondingcontextmenuyouareabletoclearthechangeshistoryevenifthefileiskeptopen.

1.11TipsforworkingwithCodeBlocks1.11.2DataExchangewithotherapplications

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.2DataExchangewithotherapplications

DatacanbeexchangedbetweenCodeBlocksandotherapplications.ForthisinterprocesscommunicationDDE(DynamicDataExchange)isusedforwindowsandunderdifferentoperatingsystemsitisaTCPbasedcommunication.WiththisinterfacedifferentcommandswiththefollowingsyntaxcanbesenttoaCodeBlocksinstance.[<command>("<parameter>")]Thesecommandsarecurrentlyavailable:

OpenThecommand

[Open("d:\temp\test.txt")]usestheparameter,inourcaseitisafilespecifiedwithanabsolutepath,andopensitinanexistingCodeBlocksinstanceorstartsafirstinstanceifrequired.

OpenLineThiscommandopensafileatagivenlinenumberinaCodeBlocksinstance.Thelinenumberisspecifiedwith:line.

[OpenLine("d:\temp\test.txt:10")]Raise

SetthefocustotheCodeBlocksinstance.Aparametermustnotbepassed.

1.11.1TrackingofModifications1.11.3Configuringenvironmentalvariables

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbH

Copyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.3Configuringenvironmentalvariables

Theconfigurationforanoperatingsystemisspecifiedbyso-calledenvironmentalvariables.TheenvironmentalvariablePATHforexamplecontainsthepathtoaninstalledcompiler.Theoperatingsystemwillprocessthisenvironmentalvariablefrombeginningtoend,i.e.theentriesattheendwillbesearchedlast.Ifdifferentversionsofacompilerorotherapplicationsareinstalled,thefollowingsituationscanoccur:

AnincorrectversionofasoftwareiscalledInstalledsoftwarepackagescalleachother

Soitmightbethecasethatdifferentversionsofacompilersorothertoolsaremandatoryfordifferentprojects.Onepossibilityinsuchacaseistochangetheenvironmentalvariablesinthesystemcontrolforeveryproject.However,thisprocedureiserror-proneandnotflexible.Forthisrequirement,CodeBlocksoffersanelegantsolution.DifferentconfigurationsofenvironmentalvariablescanbecreatedwhichareusedonlyinternallyinCodeBlocks.Additionally,youcanswitchbetweentheseconfigurations.TheFigure1.12showsthedialoguewhichyoucanopenvia’EnvironmentVaribales’under’Settings’/’Environment’.Aconfigurationiscreatedviathe’Create’button.

Figure1.12:Environmentalvariables

Accessandscopeoftheenvironmentalvariablescreatedhere,islimitedtoCodeBlocks.YoucanexpandtheseenvironmentalvariablesjustlikeotherCodeBlocksvariablesvia$(NAME).

Note:Aconfigurationfortheenvironmentalvariableforeachprojectcanbeselectedinthecontextmenu’Properties’ofthe’EnvVarsoptions’tab.

ExampleYoucanwritetheusedenvironmentintoapostbuildStep(seesection1.6)inafile<project>.envandarchiveitwithinyourproject.

cmd/cecho\%PATH\%>project.envorunderLinux

echo\$PATH>project.env

1.11.2DataExchangewithotherapplications1.11.4Switchingbetweenperspectives

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.4Switchingbetweenperspectives

Dependingonthetaskinhand,itcanbeusefultohavedifferentconfigurationsorviewsinCodeBlocksandtosavetheseconfigurations/views.Bydefault,thesettings(e.g.show/hidesymbolbars,layout,etc.)arestoredinthedefault.confconfigurationfile.Byusingthecommandlineoption--personality=askduringthestartofCodeBlocks,differentsettingscanbeselected.Apartfromthisglobalsetting,asituationmightoccurwhereyouwishtoswitchbetweendifferentviewsofwindowsandsymbolbarsduringasession.Editingfilesanddebuggingprojectsaretwotypicalexamplesforsuchsituations.CodeBlocksoffersamechanismforstoringandselectingdifferentperspectivestopreventtheuserfromfrequentlyhavingtoopenandclosewindowsandsymbolbarsmanually.Tosaveaperspective,selectthemenu’View’/’Perspectives’/’Savecurrent’andenteranameat<name>.Thecommand’Settings’/’Editor’/’Keyboardshortcuts’/’View’/’Perspectives’/’<name>’allowsakeyboardshortcuttobedefinedforthisprocess.Thismechanismmakesitpossibletoswitchbetweendifferentviewsbysimplyusinghotkeys.

Note:AnotherexampleiseditingafileinFullScreenmodewithoutsymbolbars.Youcancreateaperspectivesuchas’Full’andassignahotkeyforthis

purpose.

1.11.3Configuringenvironmentalvariables1.11.5Switchingbetweenprojects

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.5Switchingbetweenprojects

Ifseveralprojectsorfilesareopenedatthesametime,theuserneedsawaytoswitchquicklybetweentheprojectsorfiles.CodeBlockshasanumberofshortcutsforsuchsituations.Alt-F5

Activatesthepreviousprojectfromtheprojectview.Alt-F6

Activatesthenextprojectfromtheprojectview.F11

Switcheswithintheeditorbetweenasourcefile<name>.cppandthecorrespondingheaderfile<name>.h

1.11.4Switchingbetweenperspectives1.11.6Extendedsettingsforcompilers

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.6Extendedsettingsforcompilers

Duringthebuildprocessofaproject,thecompilermessagesaredisplayedintheMessageswindowintheBuildLogtab.Ifyouwishtoreceivedetailedinformation,thedisplaycanbeextended.Forthispurposeclick’Settings’/’CompilerandDebugger’andselect’OtherSettings’inthedrop-downfield.

Figure1.13:Settingdetailinformation

Takecarethatthecorrectcompilerisselected.The’Fullcommandline’settingintheCompilerLoggingfieldoutputsthecompleteinformationintheBuildLog.Inaddition,thisoutputcanbeloggedinaHTMLfile.Forthispurposeselect’SavebuildlogtoHTMLfilewhenfinished’.Furthermore,CodeBlocksoffersaprogressbarforthebuildprocessintheBuildLogwindowwhichcanbeactivatedviathe’Displaybuildprogressbar’setting.

1.11.5Switchingbetweenprojects1.11.7Zoomingwithintheeditor

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.7Zoomingwithintheeditor

CodeBlocksoffersaveryefficienteditor.Thiseditorallowsyoutochangethesizeinwhichtheopenedtextisdisplayed.Ifyouuseamousewithawheel,youonlyneedtopresstheCtrlkeyandscrollviathemousewheeltozoominandoutofthetext.

Note:WiththeshortcutCtrl-Numepad-/orwiththemenu’Edit’/’Special

commands’/’Zoom’/’Reset’theoriginalfontsizeoftheactivefileintheeditorisrestored.

1.11.6Extendedsettingsforcompilers1.11.8WrapMode

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.8WrapMode

Wheneditingtextfiles,e.g.*.txt,withinCodeBlocks,itmightbeusefultohavethetextwrapped,meaninglonglineswillbedisplayedinseverallinesonthescreensothattheycanbeproperlyedited.The’Wordwrap’functioncanbeactivatedvia’Settings’/’Editor’/’OtherOptions’orbysettingthecheckbox’Wordwrap’.TheHomeandEndkeyspositionthecursoratthebeginningorendofwrappedlinesrespectively.Whensetting’Settings’/’Editor’/’OtherOptions’and’Homekeyalwaysmovetocarettofirstcolumn’,thecursorwillbepositionedatthebeginningorendofthecurrentlinerespectively,iftheHomeorEndkeysarepressed.Ifpositioningthecursoratthebeginningofthefirstlineofthecurrentparagraphisdesired,thekeycombination’Alt-Home’istobeused.Thesameappliesanalogouslyfor’Alt-End’forpositioningthecursorattheendofthelastlineofthecurrentparagraph.

1.11.7Zoomingwithintheeditor1.11.9Selectmodesineditor

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.9Selectmodesineditor

CodeBlockssupportsdifferentmodesforselectingorpastingofstrings.

1. Withtheleftmousebuttonatextintheactiveeditorcanbeselectedandthenthemousebuttoncanbereleased.Withthemousewheeltheusercanscrolltoaposition.Ifthemiddlemousebuttonispressedthentheformerlyselectedtextwillbeinserted.Thisfeatureisavailableperfileandcanbeseenaclipboardperfile.

2. Pressingthe’ALT’keywillactivatetheso-calledblock-selectmodeandarectangleselectioncanberaisedwiththeleftmousebutton.IftheAltkeyisreleasedthisselectioncanbecopiedorpasted.Thisfeatureishelpfulifyouwanttoselectsomecolumnse.g.ofanarrayandcopyandpastethecontent.

3. Inthemenu’Settings’/’Editor’/’MarginsundCaret’so-called’VirtualSpaces’canbeactivated.Thisoptionenablesthataselectionintheblockselectmodecanstartorendwithinanemptyline.

4. Inthemenu’Settings’/’Editor’/’MarginsundCaret’the’MultipleSelection’canbeactivated.WhileholdingtheCtrl-keytheusercanselectdifferentlinesintheactiveeditorviatheleftmousebutton.TheselectionswillbeappendedintheclipboardviatheshortcutCtrl-CorCtrl-X.Ctrl-Vwillinsertthecontentatthecurrentcursorposition.Anadditionaloptioncalled’Enabletyping(anddeleting)’canbeactivatedformultipleselections.Thisfeatureisusefulifyouwanttoaddapre-processordirectivelike#ifdefatdifferentsourcelinesorifyouwanttooverwriteorreplaceatextatseveralpositions.

Note:MostLinuxwindowmanagersuseALT-LeftClickDragtomoveawindow,soyouwillhavetodisablethiswindowmanagerbehaviorfirstforblock

selecttowork.

1.11.8WrapMode1.11.10Codefolding

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.10Codefolding

CodeBlockssupportssocalledcodefolding.Withthisfeatureyoucanfolde.g.functionswithintheCodeBlockseditor.Afoldingpointismarkedbyminussymbolintheleftmarginoftheeditorview.Inthemarginthebeginningandtheendofafoldingpointisvisibleasverticalline.Ifyouclicktheminussymbolwiththeleftmousebuttonthecodesnippetwillbefoldedorunfolded.Viathemenu’Edit’/’Folding’youcanselectthefolding.Intheeditoryouseefoldedcodeascontinoushorizontalline.

Note:Thefoldingstyleandthefoldingdepthlimitcanbeconfiguredviamenu

’Settings’/’Editor’/’Folding’.CodeBlocksprovidesthefoldingfeaturealsoforpreprocessordirectives.Toenablethisfeatureselect’Foldpreprocessorcommands’viathemenu’Settings’/’Editor’inthefoldingentry.Anotherpossibilityistosetuserdefinedfoldingpoints.Thestartoffoldingpointisenteredascommentwithaopeningbracketandtheendismarketwithacommentwithaclosingbracket.

//{codewithuserdefinedfolding//}

1.11.9Selectmodesineditor1.11.11Autocomplete

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.11Autocomplete

IfyouopenaprojectinCodeBlocksthe’Searchdirectories’ofyourcompilerandtheproject,thesourcesandheadersofyourprojectareparsed.Inadditionthekeyowrdsofthecorrespondinglexerfileareparsed.TheparseinformationisusedfortheautocompletefeatureinCodeBlocks.Pleasecheckthesettingsfortheeditorifthisfeatureisenabled.TheautocompletionisaccessiblewiththeshortcutCtrl-Space.Viathemenu’Settings’/’Editor’/’Syntaxhighlighting’youcanadduserdefinedkeywordstoyourlexer.

1.11.10Codefolding1.11.12Findbrokenfiles

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.12Findbrokenfiles

Ifafileisremovedfromdisk,butisstillincludedintheprojectfile<project>.cbp,thenthis’brokenfile’willbeshownabrokensymbolintheprojectview.Youshouldusethemenu’Removefilefromproject’insteadofdeletingfiles.Inlargeprojectswithalotofsubdirectoriesthesearchforbrokenfilescanbetimeconsuming.CodeBlocksofferswiththeplug-inThreadSearch(seesection2.6)asimplesolutionforthisproblem.IfyouenterasearchexpressioninThreadSearchandselecttheoption’Projectfiles’or’Workspacefiles’,thenThreadSearchwillparseallfilesthatareincludedinaprojectorworkspace.IfabrokenfileisfoundThreadSerchwillissueanerrorwiththemissingfile.

1.11.11Autocomplete1.11.13Includinglibraries

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.13Includinglibraries

Inthebuildoptionsofaproject,youcanaddtheusedlibrariesviathe’Add’buttoninthe’Linklibraries’entryofthe’LinkerSettings’.Indoingso,youcaneitherusetheabsolutepathtothelibraryorjustgivethenamewithoutthelibprefixandfileextension.ExampleForalibrarycalled<path>\libs\lib<name>.a,justwrite<name>.Thelinkerwiththecorrespondingsearchpathswillthenincludethelibrariescorrectly.

Note:Anotherwaytoincludelibrariesisdocumentedinsection2.10.

1.11.12Findbrokenfiles1.11.14Objectlinkingorder

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.14Objectlinkingorder

Duringcompiling,objectsname.oarecreatedfromthesourcesname.c/cpp.Thelinkerthenbindstheindividualobjectsintoanapplicationname.exeorfortheembeddedsystemsname.elf.Insomecases,itmightbedesirabletopredefinetheorderinwhichtheobjectswillbelinked.InCodeBlocks,thiscanbeachievedbyassigningpriorities.Inthecontextmenu’Properties’,youcandefinetheprioritiesofafileintheBuildtab.Alowprioritywillcausethefiletobelinkedearlier.

1.11.13Includinglibraries1.11.15Autosave

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.15Autosave

CodeBlocksofferswaysofautomaticallystoringprojectsandsourcefiles,orofcreatingbackupcopies.Thisfeaturecanbeactivatedinthemenu’Settings’/’Environment’/’Autosave’.Indoingso,’Saveto.savefile’shouldbespecifiedasthemethodforcreatingthebackupcopy.

1.11.14Objectlinkingorder1.11.16Settingsforfileextensions

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.11.16Settingsforfileextensions

InCodeBlocks,youcanchoosebetweenseveralwaysoftreatingfileextensions.Thesettingsdialoguecanbeopenedvia’Settings’/’Filesextensionhandling’.YoucaneitherusetheapplicationsassignedbyWindowsforeachfileextension(openitwiththeassociatedapplication),orchangethesettingforeachextensionsinsuchawaythateitherauser-definedprogramwillstart(launchanexternalprogram),orthefilewillbeopenedintheCodeBlockseditor(openitinsideCode::Blockseditor).

Note:Ifauser-definedprogramisassignedtoacertainfileextension,thesetting’DisableCode::Blockswhiletheexternalprogramisrunning’shouldbedeactivatedbecauseotherwiseCodeBlockswillbeclosedwheneverafile

withthisextensionisopened.

1.11.15Autosave1.12CodeBlocksatthecommandline

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.12CodeBlocksatthecommandline

IDECodeBlockscanbeexecutedfromthecommandlinewithoutagraphicinterface.Insuchacase,thereareseveralswitchesavailableforcontrollingthebuildprocessofaproject.SinceCodeBlocksisthusscriptable,thecreationofexecutablescanbeintegratedintoyourownworkprocesses.codeblocks.exe/na/nd--no-splash-screen--built<name>.cbp--

target='Release'<filename>

Specifiestheproject*.cbpfilenameorworkspace*.workspacefilename.Forinstance,<filename>maybeproject.cbp.Placethisargumentattheendofthecommandline,justbeforetheoutputredirectionifthereisany.

--file=<filename>[:line]OpenfileinCode::Blocksandoptionallyjumptoaspecificline.

/h,--helpShowsahelpmessageregardingthecommandlinearguments.

/na,--no-check-associations

Don’tperformanyfileassociationchecks(Windowsonly)./nd,--no-dde

Don’tstartaDDEserver(Windowsonly)./ni,--no-ipc

Don’tstartanIPCserver(LinuxandMaconly)./ns,--no-splash-screen

Hidesthesplashscreenwhiletheapplicationisloading./d,--debug-log

Displaythedebuglogoftheapplication.

--prefix=<str>Setstheshareddatadirectoryprefix.

/p,--personality=<str>,--profile=<str>Setsthepersonalitytouse.Youcanuseaskastheparametertolistallavailablepersonalities.

--rebuildCleanandbuildtheprojectorworkspace.

--buildBuildtheprojectorworkspace.

--target=<str>Setstargetforbatchbuild.Forexample--target=’Release’.

--no-batch-window-close

Keepsthebatchlogwindowvisibleafterthebatchbuildiscompleted.--batch-build-notify

Showsamessageafterthebatchbuildiscompleted.--safe-mode

Allpluginsaredisabledonstartup.><buildlogfile>

Placedintheverylastpositionofthecommandline,thismaybeusedtoredirectstandardoutputtologfile.Thisisnotacodeblockoptionassuch,butjustastandardDOS/*nixshelloutputredirection.

1.11.16Settingsforfileextensions1.13Shortcuts

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.13Shortcuts

EvenifanIDEsuchasCodeBlocksismainlyhandledbymouse,keyboardshortcutsareneverthelessaveryhelpfulwayofspeedingupandsimplifyingworkprocesses.Inthebelowtable,wehavecollectedsomeoftheavailablekeyboardshortcuts.

1.12CodeBlocksatthecommandline1.13.1Editor

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.13.1Editor

ThisisalistofshortcutsprovidedbytheCodeBlockseditorcomponent.Theseshortcutscannotberebound.

1.13Shortcuts1.13.2Files

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.13.2Files

1.13.1Editor1.13.3View

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.13.3View

1.13.2Files1.13.4Search

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.13.4Search

1.13.3View1.13.5Build

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

1.13.5Build

1.13.4Search2Plugins

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2Plugins

2.1Astyle

ArtisticStyleisasourcecodeindenter,sourcecodeformatter,andsourcecodebeautifierfortheC,C++,C#programminglanguages.ItcanbeusedtoselectdifferentstylesofcodingruleswithinCodeBlocks.

Figure2.1:Formatingyoursourcecode

Whenindentingsourcecode,weasprogrammershaveatendencytousebothspacesandtabcharacterstocreatethewantedindentation.Moreover,someeditorsbydefaultinsertspacesinsteadoftabswhenpressingthetabkey,andothereditorshavetheabilitytoprettifylinesbyautomaticallysettingupthewhitespacebeforethecodeontheline,possiblyinsertingspacesinacodethatuptonowusedonlytabsforindentation.Sincethenumberofspacecharactersshownonscreenforeachtabcharacterinthesourcecodechangesbetweeneditors,oneofthestandardproblemsprogrammersarefacingwhenmovingfromoneeditortoanotheristhatcodecontainingbothspacesandtabsthatwasuptonowperfectlyindented,suddenlybecomesamesstolookatwhenchangingtoanothereditor.EvenifyouasaprogrammertakecaretoONLYusespacesortabs,lookingatotherpeople’ssourcecodecanstillbeproblematic.Toaddressthisproblem,ArtisticStylewascreated-afilterwritteninC++thatautomaticallyre-indentsandre-formatsC/C++/C#sourcefiles.

Note:Whencopyingcode,forexamplefromtheinternetoramanual,thiscode

willautomaticallybeadaptedtothecodingrulesinCodeBlocks.

1.13.5Build2.2CodeSnippets

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.2CodeSnippets

TheCodeSnippetsplug-inmakesitpossibletostructuretextmodulesandlinkstofilesaccordingtocategoriesinatreeview.Themodulesareusedforstoringoftenusedfilesandconstructsintextmodulesandmanagingtheminacentralplace.Imaginethefollowingsituation:Anumberoffrequentlyusedsourcefilesarestoredindifferentdirectoriesofthefilesystem.TheCodeSnippetswindowprovidestheopportunitytocreatecategories,andbelowthecategories,linkstotherequiredfiles.Withthesefeatures,youcancontroltheaccesstothefilesindependentlyfromwheretheyarestoredwithinthefilesystem,andyoucannavigatequicklybetweenthefileswithouttheneedtosearchthewholesystem.

Note:YoucanuseCodeBlocksvariablesorenvironmentvariablesinfilelinkse.g.

$(VARNAME)/name.pdftoparametrisealinkintheCodeSnippetsbrowser.

ThelistoftextmodulesandlinkscanbestoredintheCodeSnippetswindowbyright-clickingandselecting’SaveIndex’fromthecontextmenu.Thefilecodesnippets.xmlwhichwillbecreatedbythisprocedure,canthenbefoundinthecodeblockssubdirectoryofyourDocumentsandSettings\Applicationdatadirectory.UnderLinux,thisinformationisstoredinthe.codeblockssubdirectoryofyourHOMEdirectory.TheCodeBlocksconfigurationfileswillbeloadedduringthenextstart-up.IfyouwishtosavethecontentofCodeSnippetsatadifferentlocation,selectthe’SaveIndexAs’entry.Toloadthisfile,select’LoadIndexFile’duringthenextstart-upofCodeBlocksorincludethedirectoryinthe’Settings’contextmenuunder’SnippetFolder’.Thesettingsaresavedinthecorrespondingfilecodesnippets.iniinyourapplicationdata.Forincludingacategory,usethe’AddSubCategory’menu.AcategorycancontainSnippets(textmodules)orFileLinks.Atextmoduleiscreatedviathe’AddSnippet’commandinthecontextmenu.Thecontentisintegratedintothetextmoduleas’Newsnippet’byselectingthetextpassageintheCodeBlocks

editoranddragginganddroppingitontothemoduleandthepropertiesdialogpopsup.Double-clickingthenewlyincludedentryorselecting’EditText’willopenaneditorforthecontent.

Figure2.2:Editingatextmodule

OutputofatextmoduleishandledinCodeBlocksviathecontextmenucommand’Apply’orbydragginganddroppingintotheeditor.UnderWindows,thecontentsofaSnippetcanalsobedraggedanddroppedintootherapplications.IntheCodeSnippetsBrowseryoucancopyaselecteditemwithdraganddroptoadifferentcategory.Beyondthis,textmodulescanbeparametrisedby<name>variableswhichcanbeaccessedvia$(name)(seeFigure2.2).Thevaluesofthevariablescanberetrievedinanentryfieldifthetextmoduleiscalledviathecontextmenucommand’Apply’.Besidesthetextmodules,linkstofilescanalsobecreated.If,afterhavingcreatedatextmodule,youclickthecontextmenucommand’Properties’,thenyoucanselectthelinktargetbyclickingthe’Linktarget’button.Thisprocedurewillautomaticallyconvertthetextmoduleintoalinktoafile.InCodeSnippets,alltextmoduleswillbemarkedbyaTsymbol,linkstoafilebyanFsymbolandurlsbyanUsymbol.Ifyouwanttoopenaselectedfile(link)inthecodesnippetsviewjustselectthecontextmenu’OpenFile’orholdthe’Alt’keyandmakeadoubleclickonthefile.

Note:Youcanaddevenurl(e.g. http://www.codeblocks.org)intextmodules.Theurlcanbeopenedusingthecontextmenu’OpenUrl’orusingdragand

droptoyourfavoritewebbrowser.Withthissetting,ifopenalinktoapdffilefromthecodesnippetsviewapdfviewerwillbestartedautomatically.Thismethodmakesitpossibleforauserto

accessfileswhicharespreadoverthewholenetwork,suchascaddata,layouts,documentationsetc.,withthecommonapplications,simplyviathelink.Thecontentofthecodesnippetsisstoredinthefilecodesnippets.xml,theconfigurationisstoredinthefilecodesnippets.iniinyourapplicationdatadirectory.Thisinifilewill,forexample,containthepathofthefilecodesnippets.xml.CodeBlockssupportstheusageofdifferentprofiles.Theseprofilesarecalledpersonalities.StartingCodeBlockswiththecommandlineoption--personality=<profile>willcreateaneworuseanexistingprofile.Thenthesettingswillnotbestoredinthefiledefault.conf,butin<personality>.confinyourapplicationdatadirectoryinstead.TheCodesnippetspluginwillthenstoreitssettingsinthefile<personality>.codesnippets.ini.Now,ifyouloadanewcontent<name.xml>intheCodesnippetssettingsvia’LoadIndexFile’,thiscontentwillbestoredinthecorrespondinginifile.Theadvantageofthismethodliesinthefactthatincaseofdifferentprofiles,differentconfigurationsfortextmodulesandlinkscanbemanaged.Theplug-inoffersanadditionalsearchfunctionfornavigatingbetweenthecategoriesandSnippets.ThescopeforsearchingSnippets,categoriesorSnippetsandcategoriescanbeadjusted.Byenteringtherequiredsearchexpression,thecorrespondingentryisautomaticallyselectedintheview.Figure2.3showsatypicaldisplayintheCodeSnippetswindow.

Figure2.3:CodeSnippetsView

Note:Whenusingvoluminoustextmodules,thecontentofthesemodulesshouldbesavedinfilesvia’ConverttoFileLink’inordertoreducememoryusagewithinthesystem.Ifyoudeleteacodesnippetorfilelinkitwillbemovedtothecategory.trash;ifyouholdtheShiftkeytheitemwillbedeleted.

2.1Astyle2.3IncrementalSearch

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.3IncrementalSearch

Foranefficientsearchinopenfiles,CodeBlocksprovidestheso-calledIncrementalSearch.Thissearchmethodisinitiatedforanopenfileviathemenu’Search’/’IncrementalSearch’orbythekeyboardshortcutCtrl-I.Thefocusisthenautomaticallysettothesearchmaskofthecorrespondingtoolbar.Assoonasyoubeginenteringthesearchterm,thebackgroundofthesearchmaskwillbeadjustedinaccordancewiththeoccurrenceoftheterm.Ifahitisfoundintheactiveeditor,therespectivepositioninthetextismarkedincolour.Bydefaultthecurrenthitwillbehighlightedingreen.Thissettingcanbechangedvia’Settings’/’Editor’/’IncrementalSearch’(see??).PressingtheReturnkeyinducesthesearchtoproceedtothenextoccurrenceofthesearchstringwithinthefile.WithShift-Returnthepreviousoccurrencecanbeselected.ThisfunctionalityisnotsupportedbyScintillaiftheincrementalsearchusesregularexpressions.

Ifthesearchstringcannotbefoundwithintheactivefile,thisfactishighlightedbythebackgroundofthesearchmaskbeingdisplayedinred.ESC

LeavetheIncrementalSearchmodus.ALT-DELETE

Cleartheinputoftheincrementalsearchfield.TheiconsintheIncrementalSearchtoolbarhavethefollowingmeanings:

DeletingthetextwithinthesearchmaskoftheIncrementalSearchtoolbar.

, Navigatingbetweentheoccurrencesofasearchstring.

Clickingthisbuttonresultsinalltheoccurrencesofthesearchstringwithintheeditorbeinghighlightedincolour,insteadofonlytheinitialoccurrence.

Activatingthisoptionrestrictsthesearchtothetextpassagemarkedwithintheeditor.

Thisoptionmeansacasesensitivesearchisperformed.

Regularexpressioncanbeusedintheinputfieldofincrementalsearch.

Note:Thestandardsettingsofthistoolbarcanbeconfiguredin’Settings’/’Editor’

/’IncrementalSearch’.

2.2CodeSnippets2.4ToDoList

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.4ToDoList

Incomplexsoftwareprojects,wheredifferentusersareinvolved,thereisoftentherequirementofdifferenttaskstobeperformedbydifferentusers.Forthispurpose,CodeBlocksoffersaTodoList.Thislistcanbeopenedvia’View’/’To-Dolist’,andcontainsthetaskstobeperformed,togetherwiththeirpriorities,typesandtheresponsibleusers.Thelistcanbefilteredfortasks,usersand/orsourcefiles.Asortingbycolumnscanbeachievedbyclickingthecaptionofthecorrespondingcolumn.

Figure2.4:DisplayingtheToDoList

Note:TheTo-Dolistcanbedockedinthemessageconsole.Selecttheoption’IncludetheTo-Dolistinthemessagepane’viathemenu’Settings’

/’Environment’.IfthesourcesareopenedinCodeBlocks,aTodocanbeaddedtothelistviathecontextmenucommand’AddTo-Doitem’.Acommentwillbeaddedintheselectedlineofthesourcecode.

//TODO(user#1#):addnewdialogfornextreleaseWhenaddingaTo-Do,adialogueboxwillappearwherethefollowingsettings

canbemade(seeFigure2.5).

Figure2.5:DialogueforaddingaToDo

UserUsername<user>intheoperatingsystem.Tasksforotheruserscanalsobecreatedhere.Indoingso,thecorrespondingusernamehastobecreatedbyAddnew.TheassignmentofaTodoisthenmadeviatheselectionofentrieslistedfortheUser.

Note:NotethattheUsershavenothingtodowiththePersonalitiesusedin

CodeBlocks.Type

Bydefault,typeissettoTodo.Priority

Theimportanceoftaskscanbeexpressedbypriorities(1-9)inCodeBlocks.

PositionThissettingspecifieswhetherthecommentistobeincludedbefore,afterorattheexactpositionofthecursor.

CommentStyleAselectionofformatsforcomments(e.g.doxygen).

2.3IncrementalSearch2.5SourceCodeExporter

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.5SourceCodeExporter

Thenecessityoccursfrequentlyoftransferringsourcecodetootherapplicationsortoe-mails.Ifthetextissimplycopied,formattingwillbelost,thusrenderingthetextveryunclear.TheCodeBlocksexportfunctionservesasaremedyforsuchsituations.Therequiredformatfortheexportfilecanbeselectedvia’File’/’Export’.Theprogramwillthenadoptthefilenameandtargetdirectoryfromtheopenedsourcefileandproposetheseforsavingtheexportfile.Theappropriatefileextensionineachcasewillbedeterminedbytheexportformat.Thefollowingformatsareavailable.html

Atext-basedformatwhichcanbedisplayedinawebbrowserorinwordprocessingapplications.

rtfTheRichTextformatisatext-basedformatwhichcanbeopenedinwordprocessingapplicationssuchasWordorOpenOffice.

odtOpenDocumentTextformatisastandardisedformatwhichwasspecifiedbySunandO’Reilly.ThisformatcanbeprocessedbyWord,OpenOfficeandotherwordprocessingapplications.

pdfThePortableDocumentFormatcanbeopenedbyapplicationssuchastheAcrobatReader.

2.4ToDoList2.6ThreadSearch

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.6ThreadSearch

Viathe’Search’/’ThreadSearch’menu,theappropriateplug-incanbeshownorhiddenasatabintheMessagesConsole.InCodeBlocks,apreviewcanbedisplayedfortheoccurrenceofacharacterstringinafile,workspaceordirectory.Indoingso,thelistofsearchresultswillbedisplayedontheright-handsideoftheThreadSearchConsole.Byclickinganentryinthelist,apreviewisdisplayedontheleft-handside.Bydouble-clickinginthelist,theselectedfileisopenedintheCodeBlockseditor.

Note:Thescopeoffileextensionstobeincludedinthesearch,ispresetandmight

havetobeadjusted.

2.5SourceCodeExporter2.6.1Features

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.6.1Features

ThreadSearchpluginoffersthefollowingfeatures:

Multi-threaded’Searchinfiles’Internalread-onlyeditortopreviewtheresultsFileopenineditorsnotebookContextualmenu’Findoccurrences’tostartasearchinfileswiththewordundercursor

Figure2.6:ThreadSearchPanel

2.6ThreadSearch2.6.2Usage

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.6.2Usage

1. Configureyoursearchpreferences(seeFigure2.7)

Oncethepluginisinstalled,thereare4waystorunasearch:

a. Type/SelectawordinthesearchcomboboxandpressenterorclickonSearchontheThreadsearchpaneloftheMessagesnotebook.

b. Type/SelectawordinthetoolbarsearchcomboboxandpressenterorclickonSearchbutton.

c. Rightclickonany’word’inactiveeditorandclickon’Findoccurrences’.

d. ClickonSearch/Threadsearchtofindthecurrentwordinactiveeditor.

Note:Items1,2and3maynotbeavailableaccordingtocurrent

configuration.

2. Clickagainonthesearchbuttontocancelcurrentsearch.3. Asingleclickonaresultitemdisplaysitontheprevieweditoratright

location.4. Adoubleclickonaresultitemopensorsetaneditorineditors

notebookatrightlocation.

2.6.1Features2.6.3Configuration

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbH

Copyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.6.3Configuration

ToaccessThreadSearchpluginconfigurationpanelclickon(seeFigure2.7):

Figure2.7:Configuration

ofThreadSearch

1. OptionsbuttononMessagesnotebookThreadsearchpanel.2. OptionsbuttononThreadsearchtoolbar.3. Settings/EnvironmentmenuitemandthenontheThreadsearch

itemontheleftcolumns.

Note:Items1,2and3maynotbeavailableaccordingtocurrentconfiguration.

Searchinpartdefinesthesetoffilesthatwillbeanalysed.

ProjectandWorkspacecheckboxesaremutuallyexclusive.DirectorypathcanbeeditedorsetwithSelectbutton.Maskisthesetafilespecificationsseparatedby’;’.Forexample:*.cpp;*.c;*.h.

2.6.2Usage2.6.4Options

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.6.4Options

Wholewordifchecked,linematchessearchexpressionifsearchexpressionisfoundwithnoalpha-numeric+’_’beforeandafter.

Startwordifchecked,linematchessearchexpressionifsearchexpressionisfoundatthebeginningofaword,ienoalpha-numeric+’_’beforesearchexpression.

Matchcaseifchecked,thesearchiscasesensitive.

Regularexpressionthesearchexpressionisaregularexpression.

Note:Ifyouwanttosearchforregularexpressionslikenyouwillhavetosettheoption’UseAdvancedRegExsearches’viathemenu’Settings’/’Editor’

/’GeneralSettings’.

2.6.3Configuration2.6.5Threadsearchoptions

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.6.5Threadsearchoptions

Enable’Findoccurrencescontextualmenuitem’Ifchecked,theFindoccurrencesof’Focusedword’entryisaddedtotheeditorcontextualmenu.

Usedefaultoptionswhenrunning’Findoccurrences’Ifchecked,asetofdefaultoptionsisappliedtothesearcheslaunchedwiththe’Findoccurrences’contextualmenuitem.Perdefautoption’Wholeword’and’Matchcase’isenabled.

DeletepreviousresultsatsearchbeginIfThreadSearchisconfiguredwith’TreeView’thenthesearchresultswillbelistethierarchically,

thefirstnodecontainsthesearchtermabovethefileswhichcontainthesearchtermarelistedwithinthislistthelinenumberandthecorrespondingcontentoftheoccurenceisdisplayed

Ifyousearchdifferenttermsthelistwillbecomeconfusing,thereforeprevioussearchresultscanbeclearedatsearchbeginusingthisoption.

Note:Inthelistofoccurencessingleitemsorallitemscanbedeletedviathe

contextmenu’Deleteitem’or’Deleteallitems’.

2.6.4Options2.6.6Layout

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.6.6Layout

Displayheaderinlogwindowifchecked,theheaderaredisplayedintheresultslistcontrol.

Note:Ifunchecked,thecolumnsarenolongerresizeablebutspaceis

spared.Drawlinesbetweencolumns

Drawslinesbetweencolumnsinlistmode.ShowThreadSearchtoolbar

DisplaythetoolbarofThreadSearchplugin.ShowsearchwidgetsinThreadSearchMessagespanel

Ifchecked,onlytheresultslistcontrolandtheprevieweditoraredisplayed.Allothersearchwidgetsarehidden(sparesspace).

ShowcodeprevieweditorCodepreviewcanbehiddeneitherwiththischeckboxorwithadoubleclickonthesplitterwindowmiddleborder.Thisiswhereitcanbeshownagain.

2.6.5Threadsearchoptions2.6.7PanelManagement

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.6.7PanelManagement

YoucanchoosedifferentmodeshowthetheThreadSearchwindowismanaged.Withthesetting’MessageNotebook’theThreadSearchwindowwillbeadockablewindowinthemessagepanel.Ifyouchoosethesetting’Layout’youwillbeabletoundockthewindowfromthemessagepanelandputitsomewhereelse.

2.6.6Layout2.6.8LoggerType

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.6.8LoggerType

Theviewofthesearchresultscanbedisplayedindifferentways.Thesetting’List’displaysalloccurrencesaslist.Theothermode’Tree’gathersalloccurrenceswithinafileasanode.

2.6.7PanelManagement2.6.9SplitterWindowMode

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.6.9SplitterWindowMode

Theusercanconfigureahorizontalorverticalsplittingofthepreviewwindowandtheoutputwindowofthesearchresults.

2.6.8LoggerType2.6.10SortSearchResults

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.6.10SortSearchResults

Theviewofthesearchresultsmaybesortedbypathorfilename.

2.6.9SplitterWindowMode2.7FileManagerandPowerShellPlugin

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.7FileManagerandPowerShellPlugin

TheFileExplorerFigure2.8isincludedintheFileManagerplugin,andcanbefoundinthe’Files’tab.ThecompositionoftheFileExplorerisshowninFigure2.8.Ontopyouwillfindafieldforenteringthepath.Byclickingthebuttonattheendofthisfield,thedrop-downfieldwilllistahistoryofthepastentrieswhichcanbenavigatedviaascrollbar.Theuparrowkeyontheright-handsideofthefieldmovesupthedirectorystructureonedirectory.Inthe’Wildcard’fieldyoucanenterafiltertermforthefiledisplay.Leavingthefieldemptyorentering*resultsinallfilesbeingdisplayed.Entering*.c;*.h,forexamplewillresultinsolelyCsourcesandheaderfilesbeingdisplayed.Opneingthepull-downfieldwill,again,listahistoryofthelastentries.

Figure2.8:Thefilemanager

PressingtheShiftkeyandclickingselectsagroupoffilesordirectories,pressingtheCtrlkeyandclickingselectsmultipleseparatefilesordirectories.ThefollowingoperationscanbestartedviathecontextmenuifoneormultipledirectoriesareselectedintheFileExplorer:MakeRoot

definesthecurrentdirectoryastherootdirectory.AddtoFavorites

setsamarkerforthedirectoryandstoresitasafavourite.Thisfunctionallowsyoutonavigatequicklybetweenfrequentlyuseddirectories,alsoondifferentnetworkdrives.

NewFilecreatesanewfileintheselecteddirectory.

NewDirectorycreatesanewsubdirectoryintheselecteddirectory.

Thefollowingoperationscanbestartedviathecontextmenuifoneormultiple

filesordirectoriesareselectedintheFileExplorer:Duplicate

copiesafile/directoryandrenamesit.CopyTo

opensadialogueforenteringthetargetdirectoryinwhichthecopiedfile/directoryistobestored.

MoveTomovestheselectiontothetargetlocation.

Deletedeletestheselectedfiles/directories.

ShowHiddenFilesactivates/deactivatesthedisplayofhiddensystemfiles.Whenactivated,thismenuentryischeckmarked.

Refreshupdatethedisplayofthedirectorytree.

ThefollowingoperationscanbestartedviathecontextmenuifoneormultiplefilesareselectedintheFileExplorer:OpeninCBEditor

openstheselectedfileintheCodeBlockseditor.Rename

renamestheselectedfile.Addtoactiveproject

addsthefile(s)totheactiveproject.Note:

Thefiles/directoriesselectedintheFileExplorercanbeaccessedinthePowerShellpluginviathempathsvariable.

User-definedfunctionscanbespecifiedviathemenucommand’Settings’/’Environment’/’PowerShell’.InthePowerShellmask,anewfunctionwhichcanbenamedatrandom,iscreatedviathe’New’button.Inthe’ShellCommandExecutable’field,theexecutableprogramisstated,andinthefieldatthebottomofthewindow,additionalparameterscanbepassedtotheprogram.ByclickingthefunctioninthecontextmenuorthePowerShellmenu,thefunctionisstartedandwillthenprocesstheselectedfiles/directories.Theoutputisredirectedtoaseparateshellwindow.Forexampleamenuentryin’PowerShell’/’SVN’andinthecontextmenuiscreatedfor’SVN’.$fileinthiscontextmeansthefileselectedintheFileExplorer,$mpaththeselectedfilesordirectories(seesection3.2).

Add;$interpreteradd$mpaths;;;Thisandeverysubsequentcommandwillcreateasubmenu,inthiscasecalled’Extensions’/’SVN’/’Add’.Thecontextmenuisextendedaccordingly.ClickingthecommandinthecontextmenuwillmaketheSVNcommandaddprocesstheselectedfiles/directories.TortoiseSVNisawidespreadSVNprogramwithintegrationintheexplorer.TheprogramTortoiseProc.exeofTortoiseSVNcanbestartedinthecommandlineanddispalysadialoguetocollectuserinput.Soyoucanperformthecommands,thatareavailableascontextmenuintheexploreralsointhecommandline.ThereforeyoucanintegrateitalsoashellextensioninCodeBlocks.Forexamplethecommand

TortoiseProc.exe/command:diff/path:$filewilldiffaselectedfileintheCodeBlocksfileexplorerwiththeSVNbase.SeeFigure2.9howtointegratethiscommand.

Note:ForfilesthatareunderSVNcontrolthefileexplorershowsoverlayiconsif

theyareactivedviamenu’View’/’SVNDecorators’.

Figure2.9:Addashellextensiontothecontextmenu

ExampleYoucanusethefileexplorertodifffilesordirectories.Followthesesteps:

1. Addthenameviamenu’Settings’/’Environment’/’PowerShell’.Thisisshownasentryintheinterpretermenuandthecontextmenu.

2. SelecttheabsolutepathofDiffexecutable(e.g.kdiff3).Theprogramisaccessedwiththevariable$interpreter.

3. Addparametersoftheinterpreter

Diff;$interpreter$mpaths;;;Thiscommandwillbeexecutedusingtheselectedfilesordirectoriesasparameter.Theselectionisaccessedviathevariable$mpaths.Thisisaneasywaytodifffilesordirectories.

Note:Theplug-insupportstheuseofCodeBlocksvariableswithintheshell

extension.$interpreter

Callthisexecutable.

$fnameNameofthefilewithoutextension.

$fextExtensionoftheselectedfile.

$fileNameofthefile.

$relfileNameofthefilewithoutpathinfo.

$dirNameoftheselecteddirectory.

$reldirNameofdirectorywithoutpathinfo.

$pathAbsolutepath.

$relpathRelativepathoffileordirectory.

$mpathsListofcurrentselectedfilesordirectories.

$inputstr{<msg>}Stringthatisenteredinamessagewindow.

$parentdirParentdirectory(../).

Note:Theentriesofshellextensionarealsoavailableascontextmenuinthe

CodeBlockseditor.

2.6.10SortSearchResults2.8BrowseTracker

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.8BrowseTracker

BrowseTrackerisaplug-inthathelpsnavigatingbetweenrecentlyopenedfilesinCodeBlocks.Thelistofrecentfilesissavedinahistory.Withthemenu’View’/’BrowseTracker’/’ClearAll’thehistoryiscleared.Withthewindow’BrowsedTabs’youcannavigatebetweentheitemsoftherecentlyopenedfilesusingthemenuentry’View’/’BrowseTracker’/’BackwardEd/ForwardEd’ortheshortcutAlt-Left/Alt-Right.TheBrowseTrackermenuisalsoaccessibleascontextmenu.Themarkersaresavedinthelayoutfile<projectName>.bmarksAcommonprocedurewhendevelopingsoftwareistostrugglewithasetoffunctionswhichareimplementedindifferentfiles.TheBrowseTracksplug-inwillhelpyousolvethisproblembyshowingyoutheorderinwhichthefileswereselected.Youcanthencomfortablynavigatethefunctioncalls.Theplug-inallowsevenbrowsemarkerswithineachfileintheCodeBlockseditor.Thecursorpositionismemorizedforeveryfile.Youcansetthismarkersusingthemenuitem’View’/’BrowseTracker’/’SetBrowseMarks’orwithselectingalinewiththeleftmousebutton.Amarkerwith†isshownintheleftmargin.Withthemenu’View’/’BrowseTracker’/’PrevMark/NextMark’ortheshortcutAlt-up/Alt-downyoucannavigatethroughthemarkerswithinafile.Ifyouwanttonavigateinafilebetweenmarkerssortedbylinenumbersthenjustselectthemenu’View’/’BrowseTracker’/’SortBrowseMark’.Withthe’ClearBrowseMark’themarkerinaselectedlineisremoved.Ifamarkerissetforaline,holdingleft-mousebuttondownfor1/4secondwhilepressingtheCtrlkeywilldeletethemarkerforthisline.Viathemenu’ClearAllBrowseMarks’orwithaCtrl-leftclickonanyunmarkedlinewillresetthemarkerswithinafile.Thesettingsoftheplug-incanbeconfigureviathemenu’Settings’/’Editor’/’BrowseTracker’.MarkStyle

BrowseMarksaredisplayedperdefaultas†withinthemargin.With

thesetting’Book_Marks’theywillbedisplayedlikeBookmarksasbluearrowinthemargin.WithhidethedisplayofBrowseMarksissuppressed.

ToggleBrowseMarkkeyMarkerscanbesetorremovedeitherbyaclickwiththeleftmousebuttonorwithaclickwhileholdingthecrtlkey.

ToggleDelayThedurationofholdingtheleftmousebuttontoentertheBrowseMarkermode.

ClearAllBrowseMarkswhileholdingCtrlkeyeitherbyasimpleoradoubleclickwiththeleftmousebutton.

Theconfigurationoftheplug-inisstoredinyourapplicationdatadirectoryinthefiledefault.conf.IfyouusethepersonalityfeatureofCodeBlockstheconfigurationisreadfromthefile<personality>.conf.

2.7FileManagerandPowerShellPlugin2.9SVNSupport

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.9SVNSupport

ThesupportoftheversioncontrolsystemSVNisincludedintheCodeBlockspluginTortoiseSVN.Viathemenu’TortoiseSVN’/’Pluginsettings’youcanconfiguretheaccessiblesvncommandsinthetab’Integration’.Menuintegration

AddanentryTortoiseSVNwithdifferentsettingsinthemenubar.Projectmanger

ActivatetheTortoiseSVNcommandsinthecontextmenuoftheprojectmanager.

EditorActivetheTortoiseSVNcommandsinthecontextmenuoftheeditor.

Inthepluginsettingsyoucanconfigurewhichsvncommandsareaccessibleviathemenuorthecontextmenu.Thetabintegrationprovidestheentry’Editmainmenu’and’Editpopupmenu’toconfigurethesecommands.

Note:TheFileExplorerinCodeBlocksusesdifferenticonoverlaysforindicatingthesvnstatus.TheTortoiseSVNcommandsareincludedhereinthecontext

menu.

2.8BrowseTracker2.10LibFinder

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.10LibFinder

Ifyouwanttousesomelibrariesinyourapplication,youhavetoconfigureyourprojecttousethem.Suchconfigurationprocessmaybehardandannoyingbecauseeachlibrarycanusecustomoptionsscheme.Anotherproblemisthatconfigurationdiffersonplatformswhichresultinincompatibilitybetweenunixandwindowsprojects.LibFinderprovidestwomajorfunctionalities:

SearchingforlibrariesinstalledonyoursystemIncludinglibraryinyourprojectwithjustfewmouseclicksmakingprojectplatform-independent

2.9SVNSupport2.10.1Searchingforlibraries

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.10.1Searchingforlibraries

Searchingforlibrariesisavailableunder’Plugins’/’Libraryfinder’menu.It’spurposeistodetectlibrariesinstalledonyoursystemandstoretheresultsinsideLibFinder’sdatabase(notethattheseresultsarenotwrittenintoCodeBlocksprojectfiles).Searchingstartswithdialoguewhereyoucanprovidesetofdirectorieswithinstalledlibraries.LibFinderwillscanthemrecursivelysoifyou’renotsureyoumayselectsomegenericdirectories.Youmayevenenterwholedisks-insuchcasesearchingprocesswilltakemoretimebutitmaydetectmorelibraries(seeFigure2.10).

Figure2.10:Listofdirectories

WhenLibFinderscansforlibraries,itusesspecialrulestodetectpresenceoflibrary.Eachsetofrulesislocatedinxmlfile.CurrentlyLibFindercansearchforwxWidgets2.6/2.8,CodeBlocksSDKandGLFW-thelistwillbeextendedinfuture.

Note:TogetmoredetailsonhowtoaddlibrarysupportintoLibFinder,read

src/plugins/contrib/lib_finder/lib_finder/readme.txt

inCodeBlockssources.Aftercompletingthescan,LibFindershowstheresults(seeFigure2.11).

Figure2.11:Searchresults

InthelistyouchecklibrarieswhichshouldbestoredintoLibFinder’sdatabase.Notethateachlibrarymayhavemorethanonevalidconfigurationandsettingsaddedealieraremorelikelytobeusedwhilebuildingprojects.Belowthelistyoucanselectwhattodowithresultsofpreviousscans:Donotclearpreviousresults

Thisoptionworkslikeanupdatetoexistingresults-itaddsnewonesandupdatesthosewhichalreadyexist.Thisoptionisnotrecommended.

Secondoption(Clearpreviousresultsforselectedlibraries)

willclearallresultsforlibrarieswhichareselectedbeforeaddingnewresults.Thisistherecommendedoption.

Clearallpreviouslibrarysettingswhenyouselectthisoption,LibFinder’sdatabasewillbeclearedbeforeaddingnewresults.It’susefulwhenyouwanttocleansomeinvalidLibFinder’sdatabase.

Anotheroptioninthisdialogueis’SetupGlobalVariables’.Whenyoucheckthisoption,LibFinderwilltryautomaticallyconfigureGlobalVariableswhicharealsousedtohelpdealingwithlibraries.Ifyouhavepkg-configinstalledonyoursystem(it’sinstalledautomaticallyonmostlinuxversions)LibFinderwillalsoprovidelibrariesfromthistool.Thereisnoneedtoperformscanningforthem-theyareautomaticallyloadedwhenCodeBlocksstarts.

2.10LibFinder2.10.2Includinglibrariesinprojects

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.10.2Includinglibrariesinprojects

LibFinderaddsextratabinProjectProperties’Libraries’-thistabshowslibsusedinprojectandlibsknowninLibFinder.Toaddlibraryintoyourproject,selectitinrightpaneandclick<button.Toremovelibraryfromproject,selectitontheleftpaneandclick>button(seeFigure2.12).

Figure2.12:Projectconfiguration

YoucanfilterlibrariesknowntoLibFinderbyprovidingsearchfilter.The’ShowasTree’checkboxallowstoswitchbetweencategorizedanduncategorizedview.IfyouwanttoaddlibrarywhichisnotavailableinLibFinder’sdatabase,youmayuse’UnknownLibrary’field.Notethatyoushouldenterlibrary’sshortcode(whichusuallymatchesglobalvariablename)ornameoflibraryinpkg-config.Listofsuggestedshortcodescanbefoundat GlobalVariables.UsingthisoptionisrecommendedonlywhenpreparingprojecttobebuiltonothermachineswheresuchlibraryexistsandisproperlydetectedbyLibFinder.YoucanaccessaglobalvariablewithinCodeBlockslike:$(#GLOBAL_VAR_NAME.include)Checkingthe’Don’tsetupautomatically’optionwillnotifyLibFinderthatitshouldnotaddlibrariesautomaticallywhilecompilingthisproject.Insuchcase,LibFindercanbeinvokedfrombuildscript.Exampleofsuchscriptisgeneratedandaddedtoprojectbypressing’Addmanualbuildscript’.

2.10.1Searchingforlibraries2.10.3UsingLibFinderandprojectsgeneratedfromwizards

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.10.3UsingLibFinderandprojectsgeneratedfromwizards

Wizardswillcreateprojectsthatdon’tuseLibFinder.Tointegratethemwiththisplugin,youwillhavetomanuallyupdateprojectbuildoptions.Thiscanbeeasilyachievedbyremovingalllibrary-specificsettingsandaddinglibrarythrough’Libraries’tabinprojectproperties.Suchprojectbecomescross-platform.AslongasusedlibsaredefinedinLibFinder’sdatabase,project’sbuildoptionswillbeautomaticallyupdatedtomatchplatform-specificlibrarysettings.

2.10.2Includinglibrariesinprojects2.11AutoVersioning

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11AutoVersioning

Anapplicationversioningpluginthatincrementstheversionandbuildnumberofyourapplicationeverytimeachangehasbeenmadeandstoresitinversion.hwitheasytousevariabledeclarations.AlsohaveafeatureforcommittingchangesalaSVNstyle,aversionschemeeditor,achangeloggeneratorandmore†

2.10.3UsingLibFinderandprojectsgeneratedfromwizards2.11.1Introduction

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11.1Introduction

TheideaoftheAutoVersioningpluginwasmadeduringthedevelopmentofapre-alphasoftwarethatrequiredtheversioninfoandstatus.Beentobusycoding,withouttimetomaintaintheversionnumber,justdecidedtodevelopapluginthatcoulddothejobwithlittleinterventionaspossible.

2.11AutoVersioning2.11.2Features

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11.2Features

Hereisthelistoffeaturestheplugincoverssummarized:

SupportsCandC++.Generatesandautoincrementversionvariables.Softwarestatuseditor.Integratedschemeeditorforchangingthebehavioroftheautoincrementationofversionvalues.Datedeclarationsasmonth,dateandyear.Ubuntustyleversion.Svnrevisioncheck.Changeloggenerator.WorksonWindowsandLinux.

2.11.1Introduction2.11.3Usage

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11.3Usage

Justgoto’Project’/’Autoversioning’menu.Apopupwindowlikethiswillappear:

Figure2.13:ConfigureprojectforAutoversioning

Whenhittingyesontheasktoconfiguremessagebox,themainautoversioningconfigurationdialogwillopen,toletyouconfiguretheversioninfoofyourproject.Afterconfiguringyourprojectforautoversioning,thesettingsthatyouenteredontheconfigurationdialogwillbestoredontheprojectfile,andaversion.hfilewillbecreated.Fornow,everytimethatyouhitthe’Project’/’Autoversioning’menutheconfigurationdialogwillpopuptoletyouedityourprojectversionandversioningrelatedsettings,unlessyoudon’tsavethenewchangesmadebytheplugintotheprojectfile.

2.11.2Features2.11.4Dialognotebooktabs

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11.4Dialognotebooktabs

2.11.4.1VersionValues

Hereyoujustenterthecorrespondingversionvaluesorlettheautoversioningpluginincrementthemforyou(seeFigure2.14).Major

Incrementsby1whentheminorversionreachesitsmaximumMinor

Incrementsby1whenthebuildnumberpassthebarrierofbuildtimes,thevalueisresetto0whenitreachitsmaximumvalue.

BuildNumber(alsoequivalenttoRelease)-Incrementsby1everytimethattherevisionnumberisincremented.

RevisionIncrementsrandomlywhentheprojecthasbeenmodifiedandthencompiled.

Figure2.14:SetVersionValues

2.11.3Usage2.11.4.2Status

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11.4.2Status

Somefieldstokeeptrackofyoursoftwarestatuswithalistofpredefinedvaluesforconvenience(seeFigure2.15).SoftwareStatus

Thetypicalexampleshouldbev1.0AlphaAbbreviation

Sameassoftwarestatusbutlikethis:v1.0a

Figure2.15:SetStatusofAutoversioning

2.11.4.1VersionValues

2.11.4.3Scheme

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11.4.3Scheme

Letsyouedithowthepluginwillincrementtheversionvalues(seeFigure2.16).

Figure2.16:Schemeofautoversioning

MinormaximumThemaximumnumberthattheMinorvaluecanreach,afterthisvalueisreachedtheMajorisincrementedby1andnexttimeprojectiscompiledtheMinorissetto0.

BuildNumbermaximumWhenthevalueisreached,thenexttimetheprojectiscompiledissetto0.Puta0forunlimited.

RevisionmaximumSameasBuildNumbermaximum.Puta0forunlimited

RevisionrandommaximumTherevisionincrementsbyrandomnumbersthatyoudecide,ifyouputhere1,therevisionobviouslywillincrementby1.

BuildtimesbeforeincrementingMinorAftersuccessfulchangestocodeandcompilationthebuildhistorywillincrement,andwhenitreachesthisvaluetheMinorwillincrement.

2.11.4.2Status2.11.4.4Settings

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11.4.4Settings

Hereyoucansetsomesettingsoftheautoversioningbehavior(seeFigure2.17).

Figure2.17:SettingsofAutoversioning

AutoincrementMajorandMinorLetsthepluginincrementsthisvaluesbyyouusingthescheme.IfnotmarkedonlytheBuildNumberandRevisionwillincrement.

CreatedatedeclarationsCreateentriesintheversion.hfilewithdatesandubuntustyleversion.

DoAutoIncrementThistellstheplugintoautomaticallyincrementthechangeswhenamodificationismade,thisincrementationwilloccurbeforecompilation.

HeaderlanguageSelectthelanguageoutputofversion.h

AsktoincrementIfmarked,DoAutoIncrement,itaskyoubeforecompilation(ifchangeshasbeenmade)toincrementtheversionvalues.

svnenabledSearchforthesvnrevisionanddateinthecurrentfolderandgeneratesthecorrectentriesinversion.h

2.11.4.3Scheme2.11.4.5ChangesLog

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11.4.5ChangesLog

ThisletsyouentereverychangemadetotheprojecttogenerateaChangesLog.txtfile(seeFigure2.18).

Figure2.18:ChangelogofAutoversioning

ShowchangeseditorwhenincrementingversionWillpopupthechangeslogeditorwhenincrementingtheversion.

TitleFormatAformatabletitlewithalistofpredefinedvalues.

2.11.4.4Settings2.11.5Includinginyourcode

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11.5Includinginyourcode

Tousethevariablesgeneratedbythepluginjust#include<version.h>.Anexamplecodewouldbelikethefollowing:

#include<iostream>#include"version.h"voidmain(){std::cout<<AutoVersion::Major<<endl;}

2.11.4.5ChangesLog2.11.5.1Outputofversion.h

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11.5.1Outputofversion.h

Thegeneratedheaderfile.Hereisasamplecontentofthefileonc++mode:

#ifndefVERSION_H#defineVERSION_HnamespaceAutoVersion{//DateVersionTypesstaticconstcharDATE[]="15";staticconstcharMONTH[]="09";staticconstcharYEAR[]="2007";staticconstdoubleUBUNTU_VERSION_STYLE=7.09;//SoftwareStatusstaticconstcharSTATUS[]="Pre-alpha";staticconstcharSTATUS_SHORT[]="pa";//StandardVersionTypestaticconstlongMAJOR=0;staticconstlongMINOR=10;staticconstlongBUILD=1086;staticconstlongREVISION=6349;//MiscellaneousVersionTypesstaticconstlongBUILDS_COUNT=1984;#defineRC_FILEVERSION0,10,1086,6349

#defineRC_FILEVERSION_STRING"0,10,1086,6349\0"staticconstcharFULLVERSION_STRING[]="0.10.1086.6349";}#endif//VERSION_hOnCmodeisthesameasC++butwithoutthenamespace:#ifndefVERSION_H#defineVERSION_H//DateVersionTypesstaticconstcharDATE[]="15";staticconstcharMONTH[]="09";staticconstcharYEAR[]="2007";staticconstdoubleUBUNTU_VERSION_STYLE=7.09;//SoftwareStatusstaticconstcharSTATUS[]="Pre-alpha";staticconstcharSTATUS_SHORT[]="pa";//StandardVersionTypestaticconstlongMAJOR=0;staticconstlongMINOR=10;staticconstlongBUILD=1086;staticconstlongREVISION=6349;//MiscellaneousVersionTypesstaticconstlongBUILDS_COUNT=1984;#defineRC_FILEVERSION0,10,1086,6349#defineRC_FILEVERSION_STRING"0,10,1086,6349\0"staticconstcharFULLVERSION_STRING[]="0.10.1086.6349";#endif//VERSION_h

2.11.5Includinginyourcode2.11.6Changeloggenerator

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11.6Changeloggenerator

Thisdialogisaccessiblefromthemenu’Project’/’ChangesLog’.AlsoifcheckedShowchangeseditorwhenincrementingversiononthechangeslogsettings,thewindowwillopentoletyouenterthelistofchangesafteramodificationtotheprojectsourcesoranincrementationevent(seeFigure2.19).

Figure2.19:Changesforaproject

2.11.5.1Outputofversion.h2.11.6.1ButtonsSummary

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.11.6.1ButtonsSummary

AddAppendsarowintothedatagrid

EditEnablesthemodificationoftheselectedcell

DeleteRemovesthecurrentrowfromthedatagrid

SaveStoresintoatemporaryfile(changes.tmp)theactualdataforlaterprocesingintothechangeslogfile

WriteProcessthedatagriddatatothechangeslogfile

CancelJustclosesthedialogwithouttakinganyaction

HereisanexampleoftheoutputgeneratedbytheplugintotheChangesLog.txtfile:

03September2007releasedversion0.7.34ofAutoVersioning-LinuxChangelog:-Fixed:pointerdeclaration-Bug:blahblah02September2007releasedversion0.7.32ofAutoVersioning-LinuxChangelog:-Documentedsomeareasofthecode

-Reorganizedthecodeforreadability01September2007releasedversion0.7.30ofAutoVersioning-LinuxChangelog:-Editedthechangelogwindow-

Ifthechangelogwindowsisleaveblanknochanges.txtismodified

2.11.6Changeloggenerator2.12Codestatistics

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.12Codestatistics

Figure2.20:KonfigurationfürCodeStatistik

Basedontheentriesintheconfigurationmask,thissimpleplugindetectstheproportionsofcode,commentariesandblanklinesforaproject.Theevaluationiscalledviathemenucommand’Plugins’/’Codestatistics’.

2.11.6.1ButtonsSummary2.13SearchingAvailableSourceCode

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.13SearchingAvailableSourceCode

Thispluginmakesitpossibletoselectatermwithintheeditorandtosearchforthistermviathecontextmenu’SearchatKoders’inthe[?]database.Thedialogueofferstheadditionalpossibilitiestooffilteringforprogramlanguagesandlicences.Thisdatabasesearchwillhelpyoufindsourcecodeoriginatingfromotherworld-wideprojectsofuniversities,consortiumsandorganisationssuchasApache,Mozilla,NovellForge,SourceForgeandmanyothers,whichcanbere-usedwithouthavingtoreinventthewheeleverytime.Pleaseobservethelicenceofthesourcecodeineachindividualcase.

2.12Codestatistics2.14Codeprofiler

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.14Codeprofiler

AsimplegraphicalinterfacetotheGNUGProfProfiler.

2.13SearchingAvailableSourceCode2.15SymbolTablePlugin

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

2.15SymbolTablePlugin

Thispluginmakesitpossibletosearchforsymbolsinobjectsandlibraries.TheoptionsandthepathforthecommandlineprogramnmaredefinedintheOptionstab.

Figure2.21:ConfiguringtheSymbolTable

Clickingthe’Search’statsthesearch,theresultsoftheNMprogramaredisplayedinaseparatewindowcaleld’SymTabsResult’.Thenameoftheobjectsorlibrariescontainingthesymbolarelistedunderthetitle’NM’sOutput’.

2.14Codeprofiler3VariableExpansion

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3VariableExpansion

CodeBlocksdifferentiatesbetweenseveraltypesofvariables.Thesetypesservethepurposeofconfiguringtheenvironmentforcreatingaprogram,andatthesameofimprovingthemaintainabilityandportability.AccesstotheCodeBlocksvariablesisachievedvia$<name>.EnvrionmentVariable

aresetduringthestartupofCodeBlocks.TheycanmodifysystemenvironmentvariablessuchasPATH.Thiscanbeusefulincaseswhereadefinedenvironmentisnecessaryforthecreationofprojects.ThesettingsforenvironmentvariablesinCodeBlocksaremadeat’Settings’/’Environment’/’EnvironmentVariables’.

BuiltinVariablesarepredefinedinCodeBlocks,andcanbeaccessedviatheirnames(seesection3.2fordetails).

CommandMacrosThistypeofvariablesisusedforcontrollingthebuildprocess.Forfurtherinformationpleaserefertosection3.4.

CustomVariablesareuser-definedvariableswhichcanbespecifiedinthebuildoptionsofaproject.Hereyoucan,forexampledefineyourderivativeasavariableMCUandassignacorrespondingvaluetoit.Thensetthecompileroption-mcpu=$(MCU),andCodeBlockswillautomaticallyreplacethecontent.Bythismethod,thesettingsforaprojectcanbefurtherparametrised.

GlobalVariablesaremainlyusedforcreatingCodeBlocksfromthesourcesordevelopmentsofwxWidgetsapplications.Thesevariableshaveaveryspecialmeaning.Incontrasttoallothersifyousetupsuchavariablesandshareyourprojectfilewithothersthathave*not*setupthisGVCodeBlockswillasktheusertosetupthevariable.Thisisaveryeasywaytoensurethe’otherdeveloper’knowswhattosetupeasily.CodeBlockswillaskforallpath’susuallynecessary.

2.15SymbolTablePlugin3.1Syntax

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.1Syntax

CodeBlockstreatsthefollowingfunctionallyidenticalcharactersequencesinsidepre-build,post-build,orbuildstepsasvariables:

$VARIABLE$(VARIABLE)${VARIABLE}%VARIABLE%

Variablenamesmustconsistofalphanumericcharactersandarenotcase-sensitive.Variablesstartingwithasinglehashsign(#)areinterpretedasglobaluservariables(seesection3.7fordetails).Thenameslistedbelowareinterpretedasbuilt-intypes.Variableswhichareneitherglobaluservariablesnorbuilt-intypes,willbereplacedwithavalueprovidedintheprojectfile,orwithanenvironmentvariableifthelattershouldfail.

Note:Per-targetdefinitionshaveprecedenceoverper-projectdefinitions.

3VariableExpansion3.2Listofavailablebuilt-ins

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.2Listofavailablebuilt-ins

Thevariableslistedherearebuilt-invariablesofCodeBlocks.Theycannotbeusedwithinsourcefiles.

3.1Syntax3.2.1CodeBlocksworkspace

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.2.1CodeBlocksworkspace

$(WORKSPACE_FILENAME),$(WORKSPACE_FILE_NAME),$(WORKSPACEFILE),$(WORKSPACEFILENAME)

Thefilenameofthecurrentworkspaceproject(.workspace).$(WORKSPACENAME),$(WORKSPACE_NAME)

ThenameoftheworkspacethatisdisplayedintabProjectsoftheManagementpanel.

$(WORKSPACE_DIR),$(WORKSPACE_DIRECTORY),$(WORKSPACEDIR),$(WORKSPACEDIRECTORY)

Thelocationoftheworkspacedirectory.

3.2Listofavailablebuilt-ins3.2.2Filesanddirectories

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.2.2Filesanddirectories

$(PROJECT_FILENAME),$(PROJECT_FILE_NAME),$(PROJECT_FILE),$(PROJECTFILE)

Thefilenameofthecurrentlycompiledproject.$(PROJECT_NAME)

Thenameofthecurrentlycompiledproject.$(PROJECT_DIR),$(PROJECTDIR),$(PROJECT_DIRECTORY)

Thecommontop-leveldirectoryofthecurrentlycompiledproject.$(ACTIVE_EDITOR_FILENAME)

Thefilenameofthefileopenedinthecurrentlyactiveeditor.$(ACTIVE_EDITOR_LINE)

Returnthecurrentlineintheactiveeditor.$(ACTIVE_EDITOR_COLUMN

Returnthecolumnofthecurrentlineintheactiveeditor.$(ACTIVE_EDITOR_DIRNAME)

thedirectorycontainingthecurrentlyactivefile(relativetothecommontoplevelpath).

$(ACTIVE_EDITOR_STEM)

Thebasename(withoutextension)ofthecurrentlyactivefile.$(ACTIVE_EDITOR_EXT)

Theextensionofthecurrentlyactivefile.$(ALL_PROJECT_FILES)

Astringcontainingthenamesofallfilesinthecurrentproject.

$(MAKEFILE)Thefilenameofthemakefile.

$(CODEBLOCKS),$(APP_PATH),$(APPPATH),$(APP-PATH)

ThepathtothecurrentlyrunninginstanceofCodeBlocks.$(DATAPATH),$(DATA_PATH),$(DATA-PATH)

The’shared’directoryofthecurrentlyrunninginstanceofCodeBlocks.

$(PLUGINS)ThepluginsdirectoryofthecurrentlyrunninginstanceofCodeBlocks.

$(TARGET_COMPILER_DIR)

Thecompilerinstallationdirectoryso-calledmasterpath.

3.2.1CodeBlocksworkspace3.2.3Buildtargets

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.2.3Buildtargets

$(FOOBAR_OUTPUT_FILE)

Theoutputfileofaspecifictarget.$(FOOBAR_OUTPUT_DIR)

Theoutputdirectoryofaspecifictarget.$(FOOBAR_OUTPUT_BASENAME)

Theoutputfile’sbasename(nopath,noextension)ofaspecifictarget.$(TARGET_OUTPUT_DIR)

Theoutputdirectoryofthecurrenttarget.$(TARGET_OBJECT_DIR)

Theobjectdirectoryofthecurrenttarget.$(TARGET_NAME)

Thenameofthecurrenttarget.$(TARGET_OUTPUT_FILE)

Theoutputfileofthecurrenttarget.$(TARGET_OUTPUT_BASENAME)

Theoutputfile’sbasename(nopath,noextension)ofthecurrenttarget.$(TARGET_CC),$(TARGET_CPP),$(TARGET_LD),$(TARGET_LIB)

Thebuildtoolexecutable(compiler,linker,etc)ofthecurrenttarget.

3.2.2Filesanddirectories3.2.4Languageandencoding

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.2.4Languageandencoding

$(LANGUAGE)

Thesystemlanguageinplainlanguage.$(ENCODING)

Thecharacterencodinginplainlanguage.

3.2.3Buildtargets3.2.5Timeanddate

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.2.5Timeanddate

$(TDAY)

CurrentdateintheformYYYYMMDD(forexample20051228)$(TODAY)

CurrentdateintheformYYYY-MM-DD(forexample2005-12-28)

$(NOW)TimestampintheformYYYY-MM-DD-hh.mm(forexample2005-12-28-07.15)

$(NOW_L)]TimestampintheformYYYY-MM-DD-hh.mm.ss(forexample2005-12-28-07.15.45)

$(WEEKDAY)Plainlanguagedayoftheweek(forexample’Wednesday’)

$(TDAY_UTC),$(TODAY_UTC),$(NOW_UTC),$(NOW_L_UTC),$(WEEKDAY_UTC)

Theseareidenticaltotheprecedingtypes,butareexpressedrelativetoUTC.

$(DAYCOUNT)Thenumberofthedayspassedsinceanarbitrarilychosendayzero(January1,2009).Usefulaslastcomponentofaversion/buildnumber.

3.2.4Languageandencoding3.2.6Randomvalues

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.2.6Randomvalues

$(COIN)

Thisvariabletossesavirtualcoin(onceperinvocation)andreturns0or1.$(RANDOM)

A16-bitpositiverandomnumber(0-65535)

3.2.5Timeanddate3.2.7OperatingSystemCommands

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.2.7OperatingSystemCommands

Thevariablearesubstitutedthroughthecommandoftheoperatingsystem.

$(CMD_CP)Copycommandforfiles.

$(CMD_RM)Removecommandforfiles.

$(CMD_MV)Movecommandforfiles.

$(CMD_MKDIR)

Makedirectorycommand.

$(CMD_RMDIR)Removedirectorycommand.

3.2.6Randomvalues3.2.8ConditionalEvaluation

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.2.8ConditionalEvaluation

$if(condition){trueclause}{falseclause}

Conditionalevaluationwillresolvetoitstrueclauseif

conditionisanon-emptycharactersequenceotherthan0orfalseconditionisanon-emptyvariablethatdoesnotresolveto0orfalseconditionisavariablethatevaluatestotrue(implicitbypreviouscondition)

Conditionalevaluationwillresolvetoitsfalseclauseif

conditionisemptyconditionis0orfalseconditionisavariablethatisemptyorevaluatesto0orfalse

Note:Pleasedonotethatneitherthevariablesyntaxvariants%if(...)nor$(if)(...)

aresupportedforthisconstruct.ExampleForexampleifyouareusingseveralplatformsandyouwanttosetdifferentparametersdependingontheoperatingsystem.Inthefollowingcodethescriptcommandsof[[]]areevaluatedandthe<command>willbeexecuted.Thiscouldbeusefulinapost-builtstep.[[if(PLATFORM==PLATFORM_MSW){print(_T("cmd/c"));}else{print(_T("sh"));}]]<command>

3.2.7OperatingSystemCommands3.3Scriptexpansion

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbH

Copyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.3Scriptexpansion

Formaximumflexibility,youcanembedscriptsusingthe[[]]operatorasaspecialcaseofvariableexpansion.Embeddedscriptshaveaccesstoallstandardfunctionalitiesavailabletoscripsandworkprettymuchlikebashbackticks(exceptforhavingaccesstoCodeBlocksnamespace).Assuch,scriptsarenotlimitedtoproducingtextoutput,butcanalsomanipulateCodeBlocksstate(projects,targets,etc.).

Note:ManipulatingCodeBlocksstateshouldbeimplementedratherwithapre-

buildscriptthanwithascript.ExamplewithBackticksobjdump-D‘find.-name*.elf‘>name.disTheexpressioninbackticksreturnsalistofallexecutables*.elfinanysubdirectories.Theresultofthisexpressioncanbeuseddirectlybyobjdump.Finallytheoutputispipedtoafilenamedname.dis.Thus,processescanbeautomattedinasimplewaywithouthavingtoprogramanyloops.ExampleusingScriptThescripttextisreplacedbyanyoutputgeneratedbyyourscript,ordiscardedincaseofasyntaxerror.Sinceconditionalevaluationrunspriortoexpandingscripts,conditionalevaluationcanbeusedforpreprocessorfunctionalities.Built-invariables(anduservariables)areexpandedafterscripts,soitispossibletoreferencevariablesintheoutputofascript.[[print(GetProjectManager().GetActiveProject().GetTitle());]]insertsthetitleoftheactiveprojectintothecommandline.

3.2.8ConditionalEvaluation

3.4CommandMacros

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.4CommandMacros

$compiler

Accesstonameofthecompilerexecutable.$linker

Accesstonameofthelinkerexecutable.

$optionsCompilerflags

$link_optionsLinkerflags

$includesCompilerincludepaths

$cLinkerincludepaths

$libsLinkerlibraries

$fileSourcefile(fullname)

$file_dirSourcefiledirectorywithoutfilenameandfilenameextension.

$file_nameSourcefilenamewithoutpathinfoandfilenameextension.

$exe_dirDirectoryofexecutablewithoutfilenameandfilenameextension.

$exe_name

Filenameofexecutablewithoutpathandfilenameextension.

$exe_extFilenameextensionofexecutablewithoutpathandfilename.

$objectObjectfile

$exe_outputExecutableoutputfile

$objects_output_dir

ObjectOutputDirectory

3.3Scriptexpansion3.5Compilesinglefile

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.5Compilesinglefile

$compiler$options$includes-c$file-o$object

3.4CommandMacros3.6Linkobjectfilestoexecutable

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.6Linkobjectfilestoexecutable

$linker$libdirs-

o$exe_output$link_objects$link_resobjects$link_options$libs

3.5Compilesinglefile3.7Globalcompilervariables

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.7Globalcompilervariables

3.8Synopsis

Workingasadeveloperonaprojectwhichrelieson3rdpartylibrariesinvolvesalotofunnecessaryrepetitivetasks,suchassettingupbuildvariablesaccordingtothelocalfilesystemlayout.Inthecaseofprojectfiles,caremustbetakentoavoidaccidentiallycommittingalocallymodifiedcopy.Ifonedoesnotpayattention,thiscanhappeneasilyforexampleafterchangingabuildflagtomakeareleasebuild.TheconceptofglobalcompilervariablesisauniquenewsolutionforCodeBlockswhichaddressesthisproblem.Globalcompilervariablesallowyoutosetupaprojectonce,withanynumberofdevelopersusinganynumberofdifferentfilesystemlayoutsbeingabletocompileanddevelopthisproject.Nolocallayoutinformationeverneedstobechangedmorethanonce.

3.6Linkobjectfilestoexecutable3.9NamesandMembers

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.9NamesandMembers

GlobalcompilervariablesinCodeBlocksarediscriminatedfromper-projectvariablesbyaleadinghashsign.Globalcompilervariablesarestructured;everyvariableconsistsofanameandanoptionalmember.Namesarefreelydefinable,whilesomeofthemembersarebuiltintotheIDE.Althoughyoucanchooseanythingforavariablenameinprinciple,itisadvisabletopickaknownidentifierforcommonpackages.Thustheamountofinformationthattheuserneedstoprovideisminimised.TheCodeBlocksteamprovidesalistofrecommendedvariablesforknownpackages.Thememberbaseresolvestothesamevalueasthevariablenameuseswithoutamember(alias).Themembersincludeandlibarebydefaultaliasesforbase/includeandbase/lib,respectively.However,ausercanredefinethemifanothersetupisdesired.Itisgenerallyrecommendedtousethesyntax$(#variable.include)insteadof$(#variable)/include,asitprovidesadditionalflexibilityandisotherwiseexactlyidenticalinfunctionality(seesubsection3.12.1andFigure3.1fordetails).Thememberscflagsandlflagsareemptybydefaultandcanbeusedtoprovidetheabilitytofeedthesameconsistentsetofcompiler/linkerflagstoallbuildsononemachine.CodeBlocksallowsyoutodefinecustomvariablemembersinadditiontothebuilt-inones.

Figure3.1:GlobalVariableEnvironment

3.8Synopsis3.10Constraints

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.10Constraints

Bothsetandglobalcompilervariablenamesmaynotbeempty,theymustnotcontainwhitespace,muststartwithaletterandmustconsistofalphanumericcharacters.CyrillicorChineselettersarenotalphanumericcharacters.IfCodeBlocksisgiveninvalidcharactersequencesasnames,itmightreplacethemwithoutasking.Everyvariablerequiresitsbasetobedefined.Everythingelseisoptional,butthebaseisabsolutelymandatory.Ifyoudon’tdefineathebaseofavariable,itwillnotbesaved(nomatterwhatotherfieldsyouhavedefined).Youmaynotdefineacustommemberthathasthesamenameasabuilt-inmember.Currently,thecustommemberwilloverwritethebuilt-inmember,butingeneral,thebehaviourforthiscaseisundefined.Variableandmembervaluesmaycontainarbitrarycharactersequences,subjecttothefollowingthreeconstraints:

YoumaynotdefineavariablebyavaluethatreferencesthesamevariableoranyofitsmembersYoumaynotdefineamemberbyavaluethatreferencesthesamememberYoumaynotdefineamemberorvariablebyavaluethatreferencesthesamevariableormemberthroughacyclicdependency.

CodeBlockswilldetectthemostobviouscasesofrecursivedefinitions(whichmayhappenbyaccident),butitwillnotperformanin-depthanalysisofeverypossibleabuse.Ifyouentercrap,thencrapiswhatyouwillget;youarewarnednow.Examples

Definingwx.includeas$(#wx)/includeisredundant,butperfectlylegalDefiningwx.includeas$(#wx.include)isillegalandwillbedetectedbyCodeBlocksDefiningwx.includeas$(#cb.lib)whichagainisdefinedas$(#wx.include)willcreateaninfiniteloop

3.9NamesandMembers3.11UsingGlobalCompilerVariables

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.11UsingGlobalCompilerVariables

Allyouneedtodoforusingglobalcompilervariablesistoputtheminyourproject!Yes,it’sthateasy.WhentheIDEdetectsthepresenceofanunknownglobalvariable,itwillpromptyoutoenteritsvalue.Thevaluewillbesavedinyoursettings,soyouneverneedtoentertheinformationtwice.Ifyouneedtomodifyordeleteavariableatalatertime,youcandosofromthesettingsmenu.Example

Figure3.2:GlobalVariables

Theaboveimageshowsbothper-projectandglobalvariables.WX_SUFFIXisdefinedintheproject,butWXisaglobaluservariable.

3.10Constraints3.12VariableSets

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.12VariableSets

Sometimes,youwanttousedifferentversionsofthesamelibrary,oryoudeveloptwobranchesofthesameprogram.Althoughitispossibletogetalongwithaglobalcompilervariable,thiscanbecometedious.Forsuchapurpose,CodeBlockssupportsvariablesets.Avariablesetisanindependentcollectionofvariablesidentifiedbyaname(setnameshavethesameconstraintsasvariablenames).Ifyouwishtoswitchtoadifferentsetofvariables,yousimplyselectadifferentsetfromthemenu.Differentsetsarenotrequiredtohavethesamevariables,andidenticalvariablesindifferentsetsarenotrequiredtohavethesamevalues,oreventhesamecustommembers.Anotherpositivethingaboutsetsisthatifyouhaveadozenvariablesandyouwanttohaveanewsetwithoneofthesevariablespointingtoadifferentlocation,youarenotrequiredtore-enterallthedataagain.Youcansimplycreateacloneofyourcurrentset,whichwillthenduplicateallofyourvariables.Deletingasetalsodeletesallvariablesinthatset(butnotinanotherset).Thedefaultsetisalwayspresentandcannotbedeleted.

3.11UsingGlobalCompilerVariables3.12.1CustomMembersMini-Tutorial

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

3.12.1CustomMembersMini-Tutorial

Asstatedabove,writing$(#var.include)and$(#var)/includeisexactlythesamethingbydefault.Sowhywouldyouwanttowritesomethingasunintuitiveas$(#var.include)?Let’stakeastandardBoostinstallationunderWindowsforanexample.Generally,youwouldexpectafictionalpackageACMEtohaveitsincludefilesunderACME/includeanditslibrariesunderACME/lib.Optionally,itmightplaceitsheadersintoyetanothersubfoldercalledacme.Soafteraddingthecorrectpathstothecompilerandlinkeroptions,youwouldexpectto#include<acme/acme.h>andlinktolibacme.a(orwhateverithappenstobe).

3.12VariableSets

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual

Search

Stichwort: Suchen

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

Tableofcontents Search

CodeBlocksManualVersion1.1

1CodeBlocksProjectManagement

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

CodeBlocksManual Search

ABCDEFGHIJKLMNOPRSTUVWYZ

A

Abbreviation2.11.4.2Status

Access1.11.3Configuringenvironmentalvariables3VariableExpansion3.4CommandMacros

ACME3.12.1CustomMembersMini-Tutorial

ACME/include3.12.1CustomMembersMini-Tutorial

ACME/lib3.12.1CustomMembersMini-Tutorial

Acrobat2.5SourceCodeExporter

Activate2.9SVNSupport

Activates1.11.5Switchingbetweenprojects

Activating2.3IncrementalSearch

Active2.9SVNSupport

Add;$interpreter2.7FileManagerandPowerShellPlugin

Additionally1.11.3Configuringenvironmentalvariables

Advanced1.9IncludingAssemblerfiles2.6.4Options

After1.6Pre-andPostbuildsteps2.10.1Searchingforlibraries2.11.3Usage2.11.4.3Scheme

Alpha2.11.4.2Status

ALT-DELETE2.3IncrementalSearch

Alt-End1.11.8WrapMode

Alt-F51.11.5Switchingbetweenprojects

Alt-F61.11.5Switchingbetweenprojects

Alt-G1.10.5NavigateandSearch

Alt-Home1.11.8WrapMode

Although3.9NamesandMembers3.12VariableSets

Alt-Left/Alt-Right2.8BrowseTracker

ALT-LeftClickDrag1.11.9Selectmodesineditor

Alt-PgDn1.10.5NavigateandSearch

Alt-PgUp1.10.5NavigateandSearch

Alt-up/Alt-down2.8BrowseTracker

Another1.11.4Switchingbetweenperspectives1.11.10Codefolding1.11.13Includinglibraries2.10LibFinder2.10.1Searchingforlibraries3.12VariableSets

Apache2.13SearchingAvailableSourceCode

Apart1.11.4Switchingbetweenperspectives

Appends2.11.6.1ButtonsSummary

Application1.3ProjectTemplates1.10.4ConfigurationFiles2.2CodeSnippets

Apply2.2CodeSnippets

Archive1.6Pre-andPostbuildsteps

Archiving1.6Pre-andPostbuildsteps

Artistic2.1Astyle

As1.10.6Symbolview2.2CodeSnippets2.3IncrementalSearch2.10.3UsingLibFinderandprojectsgeneratedfromwizards3.3Scriptexpansion3.12.1CustomMembersMini-Tutorial

Ask2.11.4.4Settings

ASM1.1ProjectView1.9IncludingAssemblerfiles

Assembler1.9IncludingAssemblerfiles

Auto2.11.4.4Settings

Autoincrement2.11.4.4Settings

Autosave1.11.15Autosave

AutoVersion{2.11.5.1Outputofversion.h

AutoVersioning

2.11.1Introduction2.11.3Usage2.11.4.2Status2.11.4.4Settings2.11.4.5ChangesLog

AutoVersioning-Linux2.11.6.1ButtonsSummary

B

Backticks3.3Scriptexpansion

Backward2.8BrowseTracker

Based2.12Codestatistics

Been2.11.1Introduction

Below2.10.1Searchingforlibraries

Besides2.2CodeSnippets

Beyond2.2CodeSnippets

Blocks1.11.16Settingsforfileextensions1.12CodeBlocksatthecommandline

Book_Marks2.8BrowseTracker

Bookmarks

2.8BrowseTracker

Boost3.12.1CustomMembersMini-Tutorial

Both3.10Constraints

Browse1.10.5NavigateandSearch2.8BrowseTracker

Browsed2.8BrowseTracker

BrowseMark2.8BrowseTracker

BrowseMarks2.8BrowseTracker

Browser1.10.6Symbolview2.2CodeSnippets

BrowseTracks2.8BrowseTracker

Bug2.11.6.1ButtonsSummary

Build1.4CreateProjectsfromBuildTargets1.5VirtualTargets1.6Pre-andPostbuildsteps1.7AddingScriptsinBuildTargets1.9IncludingAssemblerfiles1.11.6Extendedsettingsforcompilers1.11.14Objectlinkingorder1.12CodeBlocksatthecommandline

2.11.4.1VersionValues2.11.4.3Scheme2.11.4.4Settings2.11.5.1Outputofversion.h

BUILDS_COUNT2.11.5.1Outputofversion.h

Built-in1.6Pre-andPostbuildsteps1.10.8Includingexternaltools3VariableExpansion3.3Scriptexpansion

By1.2NotesforProjects1.5VirtualTargets1.8WorkspaceandProjectDependencies1.10.3Personalities1.11.4Switchingbetweenperspectives2.2CodeSnippets2.3IncrementalSearch2.4ToDoList2.6ThreadSearch2.7FileManagerandPowerShellPlugin3VariableExpansion

C

C#2.1Astyle

C/C++1.1ProjectView1.10.1DefaultCode1.10.6Symbolview

C++1.1ProjectView

1.10.1DefaultCode1.10.6Symbolview2.1Astyle2.11.2Features2.11.5.1Outputofversion.h

Call2.7FileManagerandPowerShellPlugin

Cancel2.11.6.1ButtonsSummary

Caret1.11.9Selectmodesineditor

Categorize1.1ProjectView

CB2.7FileManagerandPowerShellPlugin

CC1.9IncludingAssemblerfiles

Change2.11.2Features2.11.6.1ButtonsSummary

Changebar1.11.1TrackingofModifications

Changelog2.11.4.5ChangesLog

Changes2.11.6Changeloggenerator

ChangesLog.txt2.11.4.5ChangesLog2.11.6.1ButtonsSummary

Checking2.10.2Includinglibrariesinprojects

Chinese3.10Constraints

Class1.10.6Symbolview

Clean1.12CodeBlocksatthecommandline

Clear1.11.1TrackingofModifications2.3IncrementalSearch2.8BrowseTracker2.10.1Searchingforlibraries

Click2.6.2Usage

Clicking2.3IncrementalSearch2.7FileManagerandPowerShellPlugin2.15SymbolTablePlugin

Code1.10.1DefaultCode1.10.6Symbolview2.6.6Layout2.12Codestatistics

CodeBlocks1CodeBlocksProjectManagement1.1ProjectView1.2NotesforProjects1.3ProjectTemplates1.5VirtualTargets1.6Pre-andPostbuildsteps1.7AddingScriptsinBuildTargets

1.8WorkspaceandProjectDependencies1.9IncludingAssemblerfiles1.10.1DefaultCode1.10.2Abbreviation1.10.3Personalities1.10.4ConfigurationFiles1.10.5NavigateandSearch1.10.6Symbolview1.10.7Includingexternalhelpfiles1.10.8Includingexternaltools1.11TipsforworkingwithCodeBlocks1.11.1TrackingofModifications1.11.2DataExchangewithotherapplications1.11.3Configuringenvironmentalvariables1.11.4Switchingbetweenperspectives1.11.5Switchingbetweenprojects1.11.6Extendedsettingsforcompilers1.11.7Zoomingwithintheeditor1.11.8WrapMode1.11.9Selectmodesineditor1.11.10Codefolding1.11.11Autocomplete1.11.12Findbrokenfiles1.11.14Objectlinkingorder1.11.15Autosave1.11.16Settingsforfileextensions1.12CodeBlocksatthecommandline1.13Shortcuts1.13.1Editor2.1Astyle2.2CodeSnippets2.3IncrementalSearch2.4ToDoList2.5SourceCodeExporter2.6ThreadSearch2.7FileManagerandPowerShellPlugin2.8BrowseTracker2.9SVNSupport2.10.1Searchingforlibraries

2.10.2Includinglibrariesinprojects3VariableExpansion3.1Syntax3.2Listofavailablebuilt-ins3.2.2Filesanddirectories3.3Scriptexpansion3.8Synopsis3.9NamesandMembers3.10Constraints3.12VariableSets

CodeSnippets1CodeBlocksProjectManagement2.2CodeSnippets

Coding1.10.1DefaultCode

Command3VariableExpansion

Comment2.4ToDoList

Compile1.9IncludingAssemblerfiles

Compiler1.9IncludingAssemblerfiles1.11.6Extendedsettingsforcompilers3.4CommandMacros

Completion1.10.6Symbolview

Complex1.8WorkspaceandProjectDependencies

Conditional3.2.8ConditionalEvaluation

Configuration2.6.3Configuration

Configure1.10.8Includingexternaltools2.6.2Usage2.11.3Usage

Configuring2.15SymbolTablePlugin

Console2.6ThreadSearch

Contextual2.6.1Features

Convert2.2CodeSnippets

Copy1.10.4ConfigurationFiles2.7FileManagerandPowerShellPlugin3.2.7OperatingSystemCommands

Copyright1.10.1DefaultCode

Create1.4CreateProjectsfromBuildTargets1.11.3Configuringenvironmentalvariables2.11.4.4Settings

Creating1.6Pre-andPostbuildsteps

Crtl-key1.10.5NavigateandSearch

Ctrl

1.10.5NavigateandSearch1.11.7Zoomingwithintheeditor2.7FileManagerandPowerShellPlugin2.8BrowseTracker

Ctrl-Alt-G1.10.5NavigateandSearch

Ctrl-B1.10.5NavigateandSearch

Ctrl-C1.11.9Selectmodesineditor

Ctrl-F1.10.5NavigateandSearch

Ctrl-F31.11.1TrackingofModifications

Ctrl-G1.10.5NavigateandSearch

Ctrl-I2.3IncrementalSearch

Ctrl-J1.10.2Abbreviation

Ctrl-key1.10.5NavigateandSearch1.11.9Selectmodesineditor

Ctrl-left2.8BrowseTracker

Ctrl-Numepad-/1.11.7Zoomingwithintheeditor

Ctrl-PgDn

1.10.5NavigateandSearch

Ctrl-PgUp1.10.5NavigateandSearch

Ctrl-Shift-F1.10.5NavigateandSearch

Ctrl-Shift-F31.11.1TrackingofModifications

Ctrl-Space1.11.11Autocomplete

Ctrl-Tab1.10.5NavigateandSearch

Ctrl-V1.11.9Selectmodesineditor

Ctrl-X1.11.9Selectmodesineditor

Current1CodeBlocksProjectManagement3.2.5Timeanddate

Currently2.10.1Searchingforlibraries3.10Constraints

Custom3VariableExpansion

Cyrillic3.10Constraints

D

Data

1.3ProjectTemplates1.10.4ConfigurationFiles1.11.2DataExchangewithotherapplications

Date2.11.2Features2.11.5.1Outputofversion.h

DATE[]2.11.5.1Outputofversion.h

DDE1.11.2DataExchangewithotherapplications1.12CodeBlocksatthecommandline

Debug1.5VirtualTargets

Debugger1.11.6Extendedsettingsforcompilers

Decorators2.7FileManagerandPowerShellPlugin

Default1.10.1DefaultCode1.10.4ConfigurationFiles

Defining1.10.2Abbreviation3.10Constraints

Delay2.8BrowseTracker

Delete2.6.5Threadsearchoptions2.7FileManagerandPowerShellPlugin2.11.6.1ButtonsSummary

Deleting2.3IncrementalSearch3.12VariableSets

Depending1.10.8Includingexternaltools1.11.4Switchingbetweenperspectives

Dialogue2.4ToDoList

Diff2.7FileManagerandPowerShellPlugin

Diff;$interpreter2.7FileManagerandPowerShellPlugin

Different1.11.3Configuringenvironmentalvariables3.12VariableSets

Directory2.6.3Configuration2.7FileManagerandPowerShellPlugin3.4CommandMacros

Disable1.11.16Settingsforfileextensions

Disassembly1.6Pre-andPostbuildsteps

Display1.11.6Extendedsettingsforcompilers1.12CodeBlocksatthecommandline2.6.6Layout

Displaying2.4ToDoList

Displays1.10.6Symbolview

Do2.4ToDoList2.10.1Searchingforlibraries2.11.4.4Settings

Document2.5SourceCodeExporter

Documented2.11.6.1ButtonsSummary

Documents1.3ProjectTemplates1.10.4ConfigurationFiles2.2CodeSnippets

Don1.12CodeBlocksatthecommandline2.10.2Includinglibrariesinprojects

DOS/*nix1.12CodeBlocksatthecommandline

Double-clicking1.10.6Symbolview2.2CodeSnippets

Draw2.6.6Layout

Draws2.6.6Layout

Duplicate2.7FileManagerandPowerShellPlugin

During

1.10.4ConfigurationFiles1.11.6Extendedsettingsforcompilers1.11.14Objectlinkingorder

Dynamic1.11.2DataExchangewithotherapplications

E

Each2.10.1Searchingforlibraries

Ed2.8BrowseTracker

Ed/Forward2.8BrowseTracker

Edit1.1ProjectView1.11.1TrackingofModifications1.11.7Zoomingwithintheeditor1.11.10Codefolding2.2CodeSnippets2.9SVNSupport2.11.6.1ButtonsSummary

Edited2.11.6.1ButtonsSummary

Editing1.11.4Switchingbetweenperspectives2.2CodeSnippets

Editor1CodeBlocksProjectManagement1.10.1DefaultCode1.10.2Abbreviation1.10.6Symbolview1.11.1TrackingofModifications

1.11.4Switchingbetweenperspectives1.11.8WrapMode1.11.9Selectmodesineditor1.11.10Codefolding1.11.11Autocomplete2.3IncrementalSearch2.6.4Options2.7FileManagerandPowerShellPlugin2.8BrowseTracker2.9SVNSupport

Embedded1.10.7Includingexternalhelpfiles3.3Scriptexpansion

Enable1.10.6Symbolview1.11.9Selectmodesineditor2.6.5Threadsearchoptions

Enables2.11.6.1ButtonsSummary

Entering1.10.6Symbolview2.7FileManagerandPowerShellPlugin

Environment1.10.7Includingexternalhelpfiles1.11.3Configuringenvironmentalvariables1.11.15Autosave2.4ToDoList2.6.3Configuration2.7FileManagerandPowerShellPlugin3VariableExpansion3.9NamesandMembers

Environmental1.11.3Configuringenvironmentalvariables

Envrionment3VariableExpansion

EnvVars1.11.3Configuringenvironmentalvariables

ESC2.3IncrementalSearch

Even1.13Shortcuts2.1Astyle

Every3.10Constraints

Everything3.10Constraints

Example1.6Pre-andPostbuildsteps1.8WorkspaceandProjectDependencies1.10.1DefaultCode1.11.3Configuringenvironmentalvariables1.11.13Includinglibraries2.7FileManagerandPowerShellPlugin2.10.2Includinglibrariesinprojects3.2.8ConditionalEvaluation3.3Scriptexpansion3.11UsingGlobalCompilerVariables

Examples3.10Constraints

Exchange1.11.2DataExchangewithotherapplications

Executable2.7FileManagerandPowerShellPlugin3.4CommandMacros

Explorer2.7FileManagerandPowerShellPlugin2.9SVNSupport

Export2.5SourceCodeExporter

Extension2.7FileManagerandPowerShellPlugin

Extensions2.7FileManagerandPowerShellPlugin

F

F11.10.7Includingexternalhelpfiles

F111.11.5Switchingbetweenprojects

Favorites2.7FileManagerandPowerShellPlugin

Figure1CodeBlocksProjectManagement1.4CreateProjectsfromBuildTargets1.10.2Abbreviation1.10.5NavigateandSearch1.10.6Symbolview1.10.7Includingexternalhelpfiles1.11.1TrackingofModifications1.11.3Configuringenvironmentalvariables1.11.6Extendedsettingsforcompilers2.1Astyle2.2CodeSnippets2.4ToDoList2.6.1Features2.6.3Configuration2.7FileManagerandPowerShellPlugin

2.10.1Searchingforlibraries2.10.2Includinglibrariesinprojects2.11.3Usage2.11.4.1VersionValues2.11.4.2Status2.11.4.3Scheme2.11.4.4Settings2.11.4.5ChangesLog2.11.6Changeloggenerator2.12Codestatistics2.15SymbolTablePlugin3.9NamesandMembers3.11UsingGlobalCompilerVariables

Figure1.111.11.1TrackingofModifications

Figure1.121.11.3Configuringenvironmentalvariables

Figure1.21.4CreateProjectsfromBuildTargets

Figure1.31.10.2Abbreviation

Figure1.41.10.5NavigateandSearch

Figure1.51.10.5NavigateandSearch

Figure1.61.10.5NavigateandSearch

Figure1.71.10.6Symbolview

Figure1.81.10.6Symbolview

Figure1.91.10.7Includingexternalhelpfiles

Figure2.102.10.1Searchingforlibraries

Figure2.112.10.1Searchingforlibraries

Figure2.122.10.2Includinglibrariesinprojects

Figure2.142.11.4.1VersionValues

Figure2.152.11.4.2Status

Figure2.162.11.4.3Scheme

Figure2.172.11.4.4Settings

Figure2.182.11.4.5ChangesLog

Figure2.192.11.6Changeloggenerator

Figure2.22.2CodeSnippets

Figure2.32.2CodeSnippets

Figure2.52.4ToDoList

Figure2.7

2.6.2Usage2.6.3Configuration

Figure2.82.7FileManagerandPowerShellPlugin

Figure2.92.7FileManagerandPowerShellPlugin

Figure3.13.9NamesandMembers

File1CodeBlocksProjectManagement1.1ProjectView1.8WorkspaceandProjectDependencies1.10.1DefaultCode2.2CodeSnippets2.5SourceCodeExporter2.6.1Features2.7FileManagerandPowerShellPlugin2.9SVNSupport3.4CommandMacros

FileManager2.7FileManagerandPowerShellPlugin

Files1.10.5NavigateandSearch1.10.7Includingexternalhelpfiles1.11.16Settingsforfileextensions2.7FileManagerandPowerShellPlugin

Finally3.3Scriptexpansion

Find1.10.5NavigateandSearch2.6.1Features2.6.2Usage

2.6.5Threadsearchoptions

Focused2.6.5Threadsearchoptions

Fold1.11.10Codefolding

Folder2.2CodeSnippets

Folding1.11.10Codefolding

Follow2.7FileManagerandPowerShellPlugin

For1.1ProjectView1.5VirtualTargets1.6Pre-andPostbuildsteps1.9IncludingAssemblerfiles1.10.6Symbolview1.11.2DataExchangewithotherapplications1.11.3Configuringenvironmentalvariables1.11.6Extendedsettingsforcompilers1.11.13Includinglibraries1.12CodeBlocksatthecommandline2.2CodeSnippets2.3IncrementalSearch2.4ToDoList2.6.3Configuration2.7FileManagerandPowerShellPlugin2.11.3Usage3VariableExpansion3.2.8ConditionalEvaluation3.3Scriptexpansion3.12VariableSets

Forge

2.13SearchingAvailableSourceCode

Format2.5SourceCodeExporter2.11.4.5ChangesLog

Formating2.1Astyle

Full1.11.4Switchingbetweenperspectives1.11.6Extendedsettingsforcompilers

FULLVERSION_STRING[]2.11.5.1Outputofversion.h

Function1.10.1DefaultCode

Furthermore1.8WorkspaceandProjectDependencies1.10.8Includingexternaltools1.11.6Extendedsettingsforcompilers

G

General1CodeBlocksProjectManagement1.10.5NavigateandSearch2.6.4Options

Generally3.12.1CustomMembersMini-Tutorial

Generates2.11.2Features

Generating1.6Pre-andPostbuildsteps

GLFW2.10.1Searchingforlibraries

GlobalVariables2.10.2Includinglibrariesinprojects

GNU2.14Codeprofiler

Google1.10.5NavigateandSearch

Goto1.10.5NavigateandSearch1.11.1TrackingofModifications

GProf2.14Codeprofiler

GV3VariableExpansion

H

Header2.11.4.4Settings

Headers1.1ProjectView

Help1.10.7Includingexternalhelpfiles

Here1CodeBlocksProjectManagement1.1ProjectView2.11.2Features2.11.4.1VersionValues2.11.4.4Settings2.11.5.1Outputofversion.h

2.11.6.1ButtonsSummary3VariableExpansion

Hexformat1.6Pre-andPostbuildsteps

Hidden2.7FileManagerandPowerShellPlugin

Hides1.12CodeBlocksatthecommandline

Home1.11.8WrapMode2.2CodeSnippets

However1.3ProjectTemplates1.11.3Configuringenvironmentalvariables3.9NamesandMembers

HTML1.10.7Includingexternalhelpfiles1.11.6Extendedsettingsforcompilers

I

IDE1CodeBlocksProjectManagement1.12CodeBlocksatthecommandline1.13Shortcuts3.9NamesandMembers3.11UsingGlobalCompilerVariables

Imagine2.2CodeSnippets

Include1.10.7Includingexternalhelpfiles2.4ToDoList

Including1.10.8Includingexternaltools2.10LibFinder

Increment2.11.4.4Settings

Incremental2.3IncrementalSearch

Increments2.11.4.1VersionValues

Index2.2CodeSnippets

Insert1CodeBlocksProjectManagement1.10.6Symbolview

Installed1.11.3Configuringenvironmentalvariables

Integrated2.11.2Features

Integration2.9SVNSupport

Intel1.6Pre-andPostbuildsteps

Internal2.6.1Features

IPC1.12CodeBlocksatthecommandline

It2.1Astyle

2.10.1Searchingforlibraries3.9NamesandMembers

Items2.6.2Usage2.6.3Configuration

J

January3.2.5Timeanddate

K

Keeps1.12CodeBlocksatthecommandline

Keyboard1.11.4Switchingbetweenperspectives

Koders2.13SearchingAvailableSourceCode

Konfiguration2.12Codestatistics

L

Launch1.10.8Includingexternaltools

Layout2.6.7PanelManagement

Leave2.3IncrementalSearch

Leaving2.7FileManagerandPowerShellPlugin

Let3.12.1CustomMembersMini-Tutorial

Lets2.11.4.3Scheme2.11.4.4Settings

LibFinder2.10LibFinder2.10.1Searchingforlibraries2.10.2Includinglibrariesinprojects2.10.3UsingLibFinderandprojectsgeneratedfromwizards

Libraries2.10.2Includinglibrariesinprojects2.10.3UsingLibFinderandprojectsgeneratedfromwizards

Library2.10.1Searchingforlibraries2.10.2Includinglibrariesinprojects

Link1.9IncludingAssemblerfiles1.11.13Includinglibraries2.2CodeSnippets

Linux1.11.3Configuringenvironmentalvariables1.11.9Selectmodesineditor1.12CodeBlocksatthecommandline2.2CodeSnippets2.11.2Features2.11.6.1ButtonsSummary

List2.4ToDoList2.6.8LoggerType2.7FileManagerandPowerShellPlugin2.10.1Searchingforlibraries2.10.2Includinglibrariesinprojects

Lists1.10.6Symbolview

Load2.2CodeSnippets

Locate1.10.7Includingexternalhelpfiles

Log1.11.6Extendedsettingsforcompilers2.11.6Changeloggenerator

Logging1.11.6Extendedsettingsforcompilers

Logs1CodeBlocksProjectManagement

M

Mac1.12CodeBlocksatthecommandline

Macros3VariableExpansion

Major2.11.4.1VersionValues2.11.4.3Scheme2.11.4.4Settings2.11.5Includinginyourcode2.11.5.1Outputofversion.h

Make2.7FileManagerandPowerShellPlugin3.2.7OperatingSystemCommands

Management1CodeBlocksProjectManagement

1.1ProjectView1.9IncludingAssemblerfiles1.10.6Symbolview3.2.1CodeBlocksworkspace

Manangement1.1ProjectView

Manipulating1.6Pre-andPostbuildsteps3.3Scriptexpansion

ManualCodeBlocksManual

Margins1.11.1TrackingofModifications1.11.9Selectmodesineditor

Mark2.8BrowseTracker

Mark/Next2.8BrowseTracker

Marker2.8BrowseTracker

Markers2.8BrowseTracker

Marks2.8BrowseTracker

Mask2.6.3Configuration

Match2.6.4Options2.6.5Threadsearchoptions

MCU3VariableExpansion

Menu2.9SVNSupport

Message2.6.7PanelManagement

Messages1.11.6Extendedsettingsforcompilers2.6ThreadSearch2.6.2Usage2.6.3Configuration2.6.6Layout

Minor2.11.4.1VersionValues2.11.4.3Scheme2.11.4.4Settings2.11.5.1Outputofversion.h

Modifications1.11.1TrackingofModifications

Modified1CodeBlocksProjectManagement

MONTH[]2.11.5.1Outputofversion.h

Moreover2.1Astyle

Most1.11.9Selectmodesineditor

Move2.7FileManagerandPowerShellPlugin3.2.7OperatingSystemCommands

Mozilla2.13SearchingAvailableSourceCode

Multiple1.11.9Selectmodesineditor

Multi-threaded2.6.1Features

N

Name1.10.1DefaultCode2.7FileManagerandPowerShellPlugin

Names3.9NamesandMembers

Navigating2.3IncrementalSearch

NM2.15SymbolTablePlugin

No3.8Synopsis

Note1CodeBlocksProjectManagement1.1ProjectView1.3ProjectTemplates1.7AddingScriptsinBuildTargets1.10.3Personalities1.10.5NavigateandSearch1.10.6Symbolview1.10.7Includingexternalhelpfiles1.11.1TrackingofModifications1.11.3Configuringenvironmentalvariables1.11.4Switchingbetweenperspectives1.11.7Zoomingwithintheeditor

1.11.9Selectmodesineditor1.11.10Codefolding1.11.13Includinglibraries1.11.16Settingsforfileextensions2.1Astyle2.2CodeSnippets2.3IncrementalSearch2.4ToDoList2.6ThreadSearch2.6.2Usage2.6.3Configuration2.6.4Options2.6.5Threadsearchoptions2.6.6Layout2.7FileManagerandPowerShellPlugin2.9SVNSupport2.10.1Searchingforlibraries2.10.2Includinglibrariesinprojects3.1Syntax3.2.8ConditionalEvaluation3.3Scriptexpansion

Notebook2.6.7PanelManagement

Notes1.2NotesforProjects

Novell2.13SearchingAvailableSourceCode

Now1.8WorkspaceandProjectDependencies1.9IncludingAssemblerfiles1.10.7Includingexternalhelpfiles2.2CodeSnippets

Number2.11.4.1VersionValues

2.11.4.3Scheme2.11.4.4Settings

O

Object3.4CommandMacros

Once2.6.2Usage

One1.11.3Configuringenvironmentalvariables

ONLY2.1Astyle

Open1CodeBlocksProjectManagement1.10.5NavigateandSearch1.10.7Includingexternalhelpfiles1.11.2DataExchangewithotherapplications1.12CodeBlocksatthecommandline2.2CodeSnippets2.5SourceCodeExporter2.7FileManagerandPowerShellPlugin

Opening1.10.5NavigateandSearch

OpenLine1.11.2DataExchangewithotherapplications

OpenOffice2.5SourceCodeExporter

Opneing2.7FileManagerandPowerShellPlugin

Options

1.11.8WrapMode2.6.3Configuration2.15SymbolTablePlugin

Other1.11.6Extendedsettingsforcompilers1.11.8WrapMode

Output2.2CodeSnippets2.15SymbolTablePlugin3.4CommandMacros

Overwrite1CodeBlocksProjectManagement

P

Panel2.6.1Features

Parametrisation1.10.2Abbreviation

Parent2.7FileManagerandPowerShellPlugin

PATH1.11.3Configuringenvironmentalvariables3VariableExpansion3.2.2Filesanddirectories

Personalities2.4ToDoList

Perspectives1.11.4Switchingbetweenperspectives

Per-target3.1Syntax

Piping1.6Pre-andPostbuildsteps

Place1.12CodeBlocksatthecommandline

Placed1.12CodeBlocksatthecommandline

Plain3.2.5Timeanddate

PLATFORM3.2.8ConditionalEvaluation

PLATFORM_MSW3.2.8ConditionalEvaluation

Please1.10.4ConfigurationFiles1.11.11Autocomplete2.13SearchingAvailableSourceCode3.2.8ConditionalEvaluation

Plugin2.9SVNSupport

Plugins2.10.1Searchingforlibraries2.12Codestatistics

Portable2.5SourceCodeExporter

Position2.4ToDoList

Postbuilt1.6Pre-andPostbuildsteps

PowerShell2.7FileManagerandPowerShellPlugin

Pre-alpha2.11.5.1Outputofversion.h

Prebuilt1.6Pre-andPostbuildsteps

Preprocessor1.10.6Symbolview

Pressing1.11.9Selectmodesineditor2.3IncrementalSearch2.7FileManagerandPowerShellPlugin

Prev2.8BrowseTracker

Priority2.4ToDoList

Process2.11.6.1ButtonsSummary

Profiler2.14Codeprofiler

Project1.1ProjectView1.3ProjectTemplates1.4CreateProjectsfromBuildTargets1.5VirtualTargets1.8WorkspaceandProjectDependencies1.9IncludingAssemblerfiles1.10.1DefaultCode1.11.12Findbrokenfiles2.6.3Configuration2.9SVNSupport

2.10.2Includinglibrariesinprojects2.11.3Usage2.11.6Changeloggenerator

Projects1CodeBlocksProjectManagement1.5VirtualTargets3.2.1CodeBlocksworkspace

Properties1.2NotesforProjects1.4CreateProjectsfromBuildTargets1.5VirtualTargets1.8WorkspaceandProjectDependencies1.9IncludingAssemblerfiles1.11.3Configuringenvironmentalvariables1.11.14Objectlinkingorder2.2CodeSnippets2.10.2Includinglibrariesinprojects

Put2.11.4.3Scheme

R

Raise1.11.2DataExchangewithotherapplications

RC_FILEVERSION2.11.5.1Outputofversion.h

RC_FILEVERSION_STRING2.11.5.1Outputofversion.h

Read1CodeBlocksProjectManagement

Reader2.5SourceCodeExporter

Refresh2.7FileManagerandPowerShellPlugin

RegEx2.6.4Options

Regular2.3IncrementalSearch2.6.4Options

Reilly2.5SourceCodeExporter

Release1.5VirtualTargets1.12CodeBlocksatthecommandline2.11.4.1VersionValues

Releasing1.10.5NavigateandSearch

Remove1.11.12Findbrokenfiles3.2.7OperatingSystemCommands

Removes2.11.6.1ButtonsSummary

Rename2.7FileManagerandPowerShellPlugin

Reorganized2.11.6.1ButtonsSummary

Reset1.11.7Zoomingwithintheeditor

Resources1.1ProjectView

Result2.15SymbolTablePlugin

Revision2.11.4.1VersionValues2.11.4.3Scheme2.11.4.4Settings2.11.5.1Outputofversion.h

Rich2.5SourceCodeExporter

Right2.6.2Usage2.8BrowseTracker

Right-clicking1.9IncludingAssemblerfiles

Root2.7FileManagerandPowerShellPlugin

Row1CodeBlocksProjectManagement

Rules1.10.1DefaultCode

S

Same2.11.4.2Status2.11.4.3Scheme

Save1.8WorkspaceandProjectDependencies1.11.4Switchingbetweenperspectives1.11.6Extendedsettingsforcompilers1.11.15Autosave2.2CodeSnippets

2.11.6.1ButtonsSummary

Scheme2.11.4.3Scheme

Scintilla2.3IncrementalSearch

Screen1.11.4Switchingbetweenperspectives

Script3.3Scriptexpansion

Scripting1.6Pre-andPostbuildsteps

SDK2.10.1Searchingforlibraries

Search1.10.5NavigateandSearch1.10.6Symbolview1.11.1TrackingofModifications1.11.11Autocomplete2.3IncrementalSearch2.6ThreadSearch2.6.1Features2.6.2Usage2.6.3Configuration2.6.6Layout2.10.1Searchingforlibraries2.11.4.4Settings2.13SearchingAvailableSourceCode2.15SymbolTablePlugin

Search/Thread2.6.2Usage

Searching

1.10.5NavigateandSearch2.10LibFinder2.10.1Searchingforlibraries

Second2.10.1Searchingforlibraries

See2.7FileManagerandPowerShellPlugin

Select1.9IncludingAssemblerfiles1.10.5NavigateandSearch2.4ToDoList2.6.2Usage2.6.3Configuration2.7FileManagerandPowerShellPlugin2.11.4.4Settings

Selection1.11.9Selectmodesineditor

September2.11.6.1ButtonsSummary

Set1.9IncludingAssemblerfiles1.10.5NavigateandSearch1.11.2DataExchangewithotherapplications2.8BrowseTracker2.10.1Searchingforlibraries2.11.4.1VersionValues2.11.4.2Status

Sets1.12CodeBlocksatthecommandline

Setting1.10.5NavigateandSearch1.11.6Extendedsettingsforcompilers

Settings1.3ProjectTemplates1.6Pre-andPostbuildsteps1.10.1DefaultCode1.10.2Abbreviation1.10.4ConfigurationFiles1.10.5NavigateandSearch1.10.6Symbolview1.10.7Includingexternalhelpfiles1.11.1TrackingofModifications1.11.3Configuringenvironmentalvariables1.11.4Switchingbetweenperspectives1.11.6Extendedsettingsforcompilers1.11.8WrapMode1.11.9Selectmodesineditor1.11.10Codefolding1.11.11Autocomplete1.11.13Includinglibraries1.11.15Autosave1.11.16Settingsforfileextensions2.2CodeSnippets2.3IncrementalSearch2.4ToDoList2.6.4Options2.7FileManagerandPowerShellPlugin2.8BrowseTracker2.11.4.4Settings3VariableExpansion

Settings/Environment2.6.3Configuration

ShellCommand2.7FileManagerandPowerShellPlugin

Shift-Return2.3IncrementalSearch

Show

1.10.5NavigateandSearch2.6.6Layout2.7FileManagerandPowerShellPlugin2.10.2Includinglibrariesinprojects2.11.4.5ChangesLog2.11.6Changeloggenerator

Shows1.12CodeBlocksatthecommandline

Since1.12CodeBlocksatthecommandline2.1Astyle3.3Scriptexpansion

Snippet2.2CodeSnippets

Snippets2.2CodeSnippets

Software2.11.2Features2.11.4.2Status2.11.5.1Outputofversion.h

Some2.11.4.2Status

Sometimes3.12VariableSets

Sort2.8BrowseTracker

Source3.4CommandMacros

SourceForge2.13SearchingAvailableSourceCode

Sources1.1ProjectView1.9IncludingAssemblerfiles

Spaces1.11.9Selectmodesineditor

Special1.11.7Zoomingwithintheeditor

Specifies1.12CodeBlocksatthecommandline

Start2.6.4Options

Starting2.2CodeSnippets

Statistik2.12Codestatistics

Status2.11.4.2Status2.11.5.1Outputofversion.h

STATUS[]2.11.5.1Outputofversion.h

STATUS_SHORT[]2.11.5.1Outputofversion.h

Step1.6Pre-andPostbuildsteps1.11.3Configuringenvironmentalvariables

Steps1.6Pre-andPostbuildsteps

Stettings

1.10.1DefaultCode

Stores2.11.6.1ButtonsSummary

String2.7FileManagerandPowerShellPlugin

Structures1.10.6Symbolview

Style2.1Astyle2.4ToDoList2.8BrowseTracker

SubCategory2.2CodeSnippets

Such2.10LibFinder2.10.3UsingLibFinderandprojectsgeneratedfromwizards

Sun2.5SourceCodeExporter

Supports2.11.2Features

SVN2.7FileManagerandPowerShellPlugin2.9SVNSupport2.11AutoVersioning2.11.2Features

Swap1.10.5NavigateandSearch

Switches1.11.5Switchingbetweenprojects

Symbol1.10.6Symbolview2.15SymbolTablePlugin

Symbols1CodeBlocksProjectManagement

SymTabs2.15SymbolTablePlugin

Syntax1.11.11Autocomplete

T

Tab-key1.10.5NavigateandSearch

Table2.15SymbolTablePlugin

Tabs2.8BrowseTracker

Take1.11.6Extendedsettingsforcompilers

Target1.4CreateProjectsfromBuildTargets1.5VirtualTargets1.6Pre-andPostbuildsteps1.7AddingScriptsinBuildTargets

Targets1.4CreateProjectsfromBuildTargets1.5VirtualTargets

Tasks2.4ToDoList

TCP1.11.2DataExchangewithotherapplications

Text2.2CodeSnippets2.5SourceCodeExporter

The1CodeBlocksProjectManagement1.1ProjectView1.2NotesforProjects1.3ProjectTemplates1.7AddingScriptsinBuildTargets1.8WorkspaceandProjectDependencies1.9IncludingAssemblerfiles1.10.1DefaultCode1.10.3Personalities1.10.4ConfigurationFiles1.10.5NavigateandSearch1.10.6Symbolview1.10.7Includingexternalhelpfiles1.11.1TrackingofModifications1.11.2DataExchangewithotherapplications1.11.3Configuringenvironmentalvariables1.11.4Switchingbetweenperspectives1.11.6Extendedsettingsforcompilers1.11.8WrapMode1.11.9Selectmodesineditor1.11.10Codefolding1.11.11Autocomplete1.11.13Includinglibraries1.11.14Objectlinkingorder1.11.16Settingsforfileextensions2.2CodeSnippets2.3IncrementalSearch2.4ToDoList2.5SourceCodeExporter2.6ThreadSearch2.6.8LoggerType

2.6.9SplitterWindowMode2.6.10SortSearchResults2.7FileManagerandPowerShellPlugin2.8BrowseTracker2.9SVNSupport2.10.2Includinglibrariesinprojects2.11.1Introduction2.11.4.2Status2.11.4.3Scheme2.11.5.1Outputofversion.h2.12Codestatistics2.13SearchingAvailableSourceCode2.15SymbolTablePlugin3VariableExpansion3.1Syntax3.2Listofavailablebuilt-ins3.2.1CodeBlocksworkspace3.2.2Filesanddirectories3.2.3Buildtargets3.2.4Languageandencoding3.2.5Timeanddate3.2.7OperatingSystemCommands3.3Scriptexpansion3.8Synopsis3.9NamesandMembers3.11UsingGlobalCompilerVariables3.12VariableSets

There2.10.1Searchingforlibraries

Therefore2.7FileManagerandPowerShellPlugin

These1.1ProjectView1.2NotesforProjects1.3ProjectTemplates1.6Pre-andPostbuildsteps

1.11.2DataExchangewithotherapplications1.13.1Editor2.2CodeSnippets3VariableExpansion3.2.5Timeanddate

They1.4CreateProjectsfromBuildTargets1.9IncludingAssemblerfiles3VariableExpansion3.2Listofavailablebuilt-ins

This1CodeBlocksProjectManagement1.10.1DefaultCode1.10.2Abbreviation1.10.3Personalities1.11.1TrackingofModifications1.11.2DataExchangewithotherapplications1.11.4Switchingbetweenperspectives1.11.7Zoomingwithintheeditor1.11.9Selectmodesineditor1.11.15Autosave1.12CodeBlocksatthecommandline1.13.1Editor2.2CodeSnippets2.3IncrementalSearch2.4ToDoList2.5SourceCodeExporter2.6.6Layout2.7FileManagerandPowerShellPlugin2.10.1Searchingforlibraries2.10.3UsingLibFinderandprojectsgeneratedfromwizards2.11.4.4Settings2.11.4.5ChangesLog2.11.6Changeloggenerator2.13SearchingAvailableSourceCode2.15SymbolTablePlugin3VariableExpansion

3.2.6Randomvalues3.2.8ConditionalEvaluation

Thread2.6ThreadSearch2.6.1Features2.6.2Usage2.6.3Configuration2.6.6Layout

ThreadSearch1.11.12Findbrokenfiles2.6ThreadSearch2.6.1Features2.6.3Configuration2.6.5Threadsearchoptions2.6.6Layout2.6.7PanelManagement

ThreadSerch1.11.12Findbrokenfiles

Thus3.3Scriptexpansion3.9NamesandMembers

Timestamp3.2.5Timeanddate

Title2.11.4.5ChangesLog

To1.4CreateProjectsfromBuildTargets1.8WorkspaceandProjectDependencies1.10.4ConfigurationFiles1.11.4Switchingbetweenperspectives1.11.10Codefolding2.1Astyle2.2CodeSnippets

2.6.3Configuration2.7FileManagerandPowerShellPlugin2.10.1Searchingforlibraries2.10.2Includinglibrariesinprojects2.10.3UsingLibFinderandprojectsgeneratedfromwizards2.11.5Includinginyourcode

Todo2.4ToDoList

Toggle2.8BrowseTracker

Tools1.10.8Includingexternaltools

TortoiseProc.exe2.7FileManagerandPowerShellPlugin

TortoiseSVN2.7FileManagerandPowerShellPlugin2.9SVNSupport

Tracker1.10.5NavigateandSearch2.8BrowseTracker

Tracking1.11.1TrackingofModifications

Tree2.6.5Threadsearchoptions2.6.8LoggerType2.10.2Includinglibrariesinprojects

Type2.4ToDoList2.11.5.1Outputofversion.h

Type/Select

2.6.2Usage

Types2.11.5.1Outputofversion.h

Typical1.6Pre-andPostbuildsteps

U

Ubuntu2.11.2Features

UBUNTU_VERSION_STYLE2.11.5.1Outputofversion.h

Under2.2CodeSnippets

Unknown2.10.2Includinglibrariesinprojects

Url2.2CodeSnippets

USB1.10.4ConfigurationFiles

Use1.9IncludingAssemblerfiles1.11.1TrackingofModifications2.6.4Options2.6.5Threadsearchoptions

Useful3.2.5Timeanddate

User1.3ProjectTemplates1.10.4ConfigurationFiles

2.4ToDoList

User-defined2.7FileManagerandPowerShellPlugin

Users2.4ToDoList

UserTemplates1.3ProjectTemplates

Using2.10.2Includinglibrariesinprojects

UTC3.2.5Timeanddate

V

Values2.11.4.1VersionValues

Variants1.4CreateProjectsfromBuildTargets

Varibales1.11.3Configuringenvironmentalvariables

VersionCodeBlocksManual2.11.4.1VersionValues2.11.5.1Outputofversion.h

VERSION_H2.11.5.1Outputofversion.h

View1CodeBlocksProjectManagement1.9IncludingAssemblerfiles1.11.4Switchingbetweenperspectives

2.2CodeSnippets2.4ToDoList2.6.5Threadsearchoptions2.7FileManagerandPowerShellPlugin2.8BrowseTracker

Viewer1.10.7Includingexternalhelpfiles

Virtual1.5VirtualTargets1.11.9Selectmodesineditor

W

Wednesday3.2.5Timeanddate

When1.10.2Abbreviation1.10.4ConfigurationFiles1.11.8WrapMode2.1Astyle2.2CodeSnippets2.4ToDoList2.7FileManagerandPowerShellPlugin2.10.1Searchingforlibraries2.11.3Usage2.11.4.3Scheme3.11UsingGlobalCompilerVariables

While1.11.9Selectmodesineditor

Whole2.6.4Options2.6.5Threadsearchoptions

Wiki1CodeBlocksProjectManagement

Wildcard2.7FileManagerandPowerShellPlugin

Windows1.6Pre-andPostbuildsteps1.11.16Settingsforfileextensions1.12CodeBlocksatthecommandline2.2CodeSnippets2.11.2Features3.12.1CustomMembersMini-Tutorial

With1.6Pre-andPostbuildsteps1.10.5NavigateandSearch1.11.2DataExchangewithotherapplications1.11.7Zoomingwithintheeditor1.11.9Selectmodesineditor1.11.10Codefolding2.2CodeSnippets2.3IncrementalSearch2.6.7PanelManagement2.8BrowseTracker

Wizard1.3ProjectTemplates

Wizards2.10.3UsingLibFinderandprojectsgeneratedfromwizards

Word1.11.8WrapMode2.5SourceCodeExporter

Working3.8Synopsis

Works2.11.2Features

Workspace1.11.12Findbrokenfiles2.6.3Configuration

Write2.11.6.1ButtonsSummary

WX3.11UsingGlobalCompilerVariables

WX_SUFFIX3.11UsingGlobalCompilerVariables

Y

YEAR[]2.11.5.1Outputofversion.h

Yes3.11UsingGlobalCompilerVariables

You1.6Pre-andPostbuildsteps1.10.5NavigateandSearch1.11.1TrackingofModifications1.11.3Configuringenvironmentalvariables1.11.4Switchingbetweenperspectives1.11.12Findbrokenfiles1.11.16Settingsforfileextensions1.12CodeBlocksatthecommandline2.2CodeSnippets2.6.7PanelManagement2.7FileManagerandPowerShellPlugin2.8BrowseTracker2.10.1Searchingforlibraries2.10.2Includinglibrariesinprojects3.10Constraints3.12VariableSets

YYYYMMDD

3.2.5Timeanddate

YYYY-MM-DD-hh.mm3.2.5Timeanddate

YYYY-MM-DD-hh.mm.ss3.2.5Timeanddate

Z

Zoom1.11.7Zoomingwithintheeditor

Created:2010/25/0511:52Updated:2010/25/0511:52Author:HighTecEDV-SystemeGmbHCopyright©2010HighTecEDV-SystemeGmbH

Recommended