CodeLite, a cross platform C/C++/PHP and Node.js IDE written in C++
C++ C PHP CMake Lex HTML Other
Permalink
Failed to load latest commit information.
AutoSave Make sure that the new plugins AutoSave, Tail and EditorConfig are bu… Jan 4, 2017
CMakePlugin Fixed: wrong variables defined by the CMake plugin makes it impossibl… Feb 26, 2017
CallGraph Added new logging API in addition to the old C-Style printf like macr… May 4, 2016
ClangOutputParser Minor fixes prompted by CppCheck Oct 28, 2016
CodeCompletionsTests Fixed class member variables + added unit tests to cover this Jul 21, 2016
CodeDesigner Merge pull request #774 from jcowgill/duplicate-rpath May 15, 2015
CodeFormatter Fixed: use '-assume-filename' switch when formatting source file usin… Mar 11, 2017
CodeLite Fixed: #1598 Mar 17, 2017
CodeLiteDiff Diff plugin: remember the last path used for the diff comparison and … Jul 18, 2016
CommentParser added support for project level environment variables + project level… Sep 18, 2010
ContinuousBuild Changed the "Builder" interface to support custom user arguments to p… Apr 16, 2016
Copyright Fixed: replace in files panel: disable the replace-all button while a… Dec 4, 2015
CxxParser Fixed: assertion in Open Resource dialgot due to wx3.1 changes Apr 23, 2015
DatabaseExplorer Fixed: when passing a buffer for formatting always pass the filename … Dec 20, 2016
Debugger Fixed: possible crash in GDB when debugger log is enabled Mar 22, 2017
EditorConfigPlugin Fixed (editorconfig): dont use wildcard match if the filename in the … Dec 3, 2016
ExternalTools Sort the external tools before creating the toolbar or the menu Feb 22, 2017
File2Hex Changing branch scintilla 2.0 into trunk Sep 3, 2009
FileCrawler/trunk Fixed: when "crawling" to header files from an #include statement, ke… Jun 19, 2014
FileGrep git-svn-id: https://codelite.svn.sourceforge.net/svnroot/codelite/tru… Jun 18, 2011
Gizmos Fixed: when passing a buffer for formatting always pass the filename … Dec 20, 2016
HelpPlugin Preparing the code base to support codelite-lldb on Windows Apr 3, 2016
InnoSetup Updated Windows installer to copy jsctags.zip Mar 1, 2017
Interfaces CodeLite now supports .editorconfig files Dec 1, 2016
LLDBDebugger Fixed assertion Feb 16, 2017
LiteEditor Fixed: Distinguishing enabled projects in workspace window Mar 22, 2017
MacBundler Fixed: replace in files panel: disable the replace-all button while a… Dec 4, 2015
MemCheck Windows: OutputDebugString: only report these messages when the debug… Feb 20, 2017
Outline Outline view: allow the user to change the sorting from line to alpha… Dec 6, 2016
PCH Fixed: replace in files panel: disable the replace-all button while a… Dec 4, 2015
Plugin Fixed: CodeLite is calling a warning an error Mar 25, 2017
PreProcessor - regenerated PP files using the correct yacc Jul 2, 2011
QmakePlugin No (intentional) real changes; just fixes to multiple files for wx3.1… May 18, 2016
Runtime Fixed: php: $_COOKIE is missing in autocomplete list Feb 7, 2017
SFTP SFTP: when saving a remote file, keep its original file permissions Feb 14, 2017
ScopeOptimizer Minor fixes prompted by CppCheck Oct 28, 2016
SnipWiz Preparing the code base to support codelite-lldb on Windows Apr 3, 2016
SpellChecker SpellChecker plugin: help cmake find the fedora 25 version of hunspell Nov 28, 2016
Subversion2 Subversion: add extra space after the commit message file Mar 19, 2017
Tail Make sure that the new plugins AutoSave, Tail and EditorConfig are bu… Jan 4, 2017
TestDir Created new Release configuration for the codelite_utils Jan 4, 2017
Tweaks Fixed: replace in files panel: disable the replace-all button while a… Dec 4, 2015
UnitTest++ Added more CMake files Feb 6, 2013
UnitTestCPP Fixed: replace in files panel: disable the replace-all button while a… Dec 4, 2015
WebTools Use thread to extract the zip file for jsctags Mar 5, 2017
WordCompletion Compilation fix for --enable-stl builds Oct 25, 2016
ZoomNavigator Fixed: crash on Linux / Ubuntu during CodeLite startup Mar 22, 2017
abbreviation Mass spelling fixes Feb 7, 2016
art Updated splash screen to 2017 Jan 2, 2017
bitmaps Tail plugin: the tail panel can now detach from the output notebook i… Nov 7, 2016
cmake/Modules Cmake FindLibLLDB module: Add detection for llvb-3.9, which is in deb… Feb 10, 2017
codelite-icons-dark Removed obsolete icons Nov 4, 2015
codelite-icons-fresh-farm Removed obsolete icons Nov 4, 2015
codelite-icons Removed obsolete icons Nov 4, 2015
codelite_echo Fixed: build error on Windows due to cppcheck source files update Apr 3, 2015
codelite_launcher Mass spelling fixes Feb 7, 2016
codelite_make fixed codelite-make to support the new builder changes Apr 16, 2016
codelite_terminal Fixed build error on OSX Oct 31, 2016
codelite_utils Configuration update Jan 29, 2017
codelitegcc Minor fixes prompted by CppCheck Oct 28, 2016
codelitephp PHP: added context menu to folder items that allows re-sync of the fo… Feb 25, 2017
cppchecker No (intentional) real changes; just fixes to multiple files for wx3.1… May 18, 2016
cscope Fixed crash on MSW debug build Jun 8, 2016
formbuilder Fixed: build warning Feb 15, 2017
gdbparser Minor fixes prompted by CppCheck Oct 28, 2016
git Git: prompt the user before reverting a commit from the "Commit Histo… Feb 16, 2017
icons Removed obsolte file Jun 9, 2016
le_exec Fixed: build error on Windows due to cppcheck source files update Apr 3, 2015
lib/gcc_lib added dummy .gitignore file to so the folder lib/gcc_lib is kept in git Feb 24, 2015
patches When creating new project of type 'wxCrafter' prompt the user if the … Dec 6, 2012
sdk Created new Release configuration for the codelite_utils Jan 4, 2017
sqlite3 Removed obsolete files Apr 3, 2015
svgs Tail plugin: the tail panel can now detach from the output notebook i… Nov 7, 2016
translations Updated codelite.pot Jan 1, 2017
wxformbuilder Fixed: replace in files panel: disable the replace-all button while a… Dec 4, 2015
.editorconfig Added CodeLite .editorconfig file Dec 3, 2016
AUTHORS SFTP: mark the remote files with a unique icon + tooltip Oct 6, 2016
BuildInfo.txt Renamed project 'LiteEditor' to 'CodeLiteIDE' Nov 26, 2014
CMakeLists.txt Version bump to 10.0.4 Mar 1, 2017
COPYING Updated COPYING license file Apr 15, 2014
DESC Linux: generate a more standard deb packages using cmake (Part III) Sep 14, 2015
LICENSE cmake: added support for 'install' target Feb 9, 2013
LiteEditor.workspace Fixed: No auto complete after math operation Mar 11, 2017
README.md README.md: apt-get install libwxbase3.0-dev libsqlite3-dev libwxsqlit… Apr 9, 2016
TODO.TXT Fixed: #1135 Feb 8, 2016
about.html Changing branch scintilla 2.0 into trunk Sep 3, 2009
codelite.spec - Changed version number from 2.3 to 2.5 as preparation for the new c… Mar 29, 2010
codelite.xml - Applied patch to register .project / .workspace mime types as codel… Jan 9, 2011
codelite_prefix.h Auto-Save plugin is now functional and can be configured from: Plugin… Sep 13, 2016
compilers.json Startup wizard: fetch the compilers suggestion list to install from t… Jul 27, 2015
mac-build.sh added exec permissions Aug 11, 2013
make-weekly more debug messages to the Windows packaging script Jan 4, 2017
make_repo.txt added post install step to .deb file Mar 24, 2008
make_src_targz.sh Produce a Linux .xz tarball as well as the current .tar.gz Jul 20, 2013
pack-icons-all.bat Added new icons packaging script Mar 31, 2013

README.md

What is CodeLite?

Join the chat at https://gitter.im/eranif/codelite

CodeLite is an open source, free, cross platform IDE for the C/C++ programming languages which runs on all major Platforms ( OSX, Windows and Linux )

You can download pre-built binaries for Windows / OSX and Linux from our main Download Page

More information can be found here:


Linux logo Building CodeLite on Linux

To build CodeLite on your computer you will need these packages:

  • wxWidgets 3.0 or later
  • The gtk development package: often called libgtk2.0-dev or wxGTK-devel or similar
  • pkg-config (which usually comes with the gtk dev package)
  • The build-essential package (or the relevant bit of it: g++, make etc)
  • git
  • cmake

You should have wxWidgets 3.0 or later built on your machine. If you don't know how to build (or you're just lazy ...) you can download it install wxWidgets from CodeLite's repository

On Ubuntu / Debian you can install all of the above (except for wxWidgets 3.0) by typing:

sudo apt-get install libgtk2.0-dev pkg-config build-essential git cmake libssh-dev libwxbase3.0-dev libsqlite3-dev libwxsqlite3-3.0-dev

Git clone the sources:

git clone https://github.com/eranif/codelite.git

Run cmake and build codelite:

cd codelite
mkdir build-release
cd build-release
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
sudo make install

Apple logo Building CodeLite on OS X

Prerequisites:

  • wxWidgets 3.x
  • CMake
  • HomeBrew
  • git
  • XCode
  • XCode command-line tools

Preparation:

  • (Optional) Make a separate folder for building if you want to get rid of all except the .app file after building
  • Install XCode from Mac App Store
  • Install XCode command-line tools xcode-select --install
  • Install HomeBrew :
 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Update HomeBrew : brew update
  • (Optional) Upgrade HomeBrew packages : brew upgrade
  • Install git : brew install git
  • Install CMake : brew install cmake
  • Install wxWidgets : brew install wxmac --dev --use-llvm

Clone the repo (lets assume that you have a folder /Users/YOU/src)

cd /Users/YOU/src
git clone https://github.com/eranif/codelite.git

the above will create the folder /Users/YOU/codelite

To build CodeLite:

cd /Users/YOU/codelite
mkdir build-release
cd build-release
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j4
make install

You should now have an app bundle /Users/YOU/codelite/build-release/codelite.app

To launch CodeLite:

open /Users/YOU/codelite/build-release/codelite.app

Windows Logo Building CodeLite on Windows

Git clone the sources

git clone https://github.com/eranif/codelite.git
  • Download codelite installer for Windows from our Download Page
  • Download wxWidgets 3.0 installer. Also from our Download Page
  • Open the workspace LiteEditor.workspace (located in the codelite folder)
  • Make sure that the project CodeLiteIDE is selected (the active project uses bold font)
  • Select the Win_x64_Release or Win_x86_Release (depending if you want to build a 32 or 64 bit version of CodeLite) and hit F7
  • When the compilation is over, close the workspace
  • Next, locate the workspace codelite_utils/codelite_utils.workspce and open it
  • Select the Win_x64_Release or Win_x86_Release (depending if you want to build a 32 or 64 bit version of CodeLite) hit F7 and wait for the compilation to end
  • Close CodeLite
  • To update your installation with the new codelite, close codelite and from a CMD.EXE window navigate to codelite-sources/Runtime/ and run the file update.bat OR update64.bat (again, depending on your selected arch)