CodeLite, a cross platform C/C++/PHP and Node.js IDE written in C++
C++ C PHP HTML CMake Lex Other
Clone or download
Latest commit bb7b649 Jul 19, 2018
Permalink
Failed to load latest commit information.
AutoSave Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
CMakePlugin Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
CallGraph Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
ClangOutputParser Minor fixes prompted by CppCheck Oct 28, 2016
CodeCompletionsTests C++ code completion: fixed some rare cases of local variables not rec… Nov 28, 2017
CodeDesigner Fixed: twin include Oct 24, 2017
CodeFormatter Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
CodeLite Add #include <wx/setup.h> so the default macro wxUSE_GUI=1 is defined… Jul 19, 2018
CodeLiteDiff Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
CommentParser added support for project level environment variables + project level… Sep 18, 2010
ContinuousBuild Git: prompt the user to enter email/username instead of doing this fr… Jun 26, 2018
Copyright Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
CxxParser Fixed: assertion in Open Resource dialgot due to wx3.1 changes Apr 23, 2015
CxxParserTests C++ code completion: fixed some rare cases of local variables not rec… Nov 28, 2017
DatabaseExplorer Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
Debugger Remove all calls to wxLogMessage from CodeLite. Instead, use the clLo… Mar 5, 2018
EditorConfigPlugin Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
ExternalTools External tools: create a new tool is enabled after all the mandatory … Jun 21, 2018
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 Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
HelpPlugin Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
InnoSetup Version bump to 12.0.5 Jul 12, 2018
Interfaces Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
LLDBDebugger wxTermainl update Jul 19, 2018
LiteEditor wxTermainl update Jul 19, 2018
MacBundler Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
MemCheck Fixed build error on linux Jul 17, 2018
Outline Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
PCH libcodelite can not be built with wxUSE_GUI=0 Jul 9, 2018
PHPLint Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
PHPRefactoring Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
Plugin wxTermainl update Jul 19, 2018
PreProcessor - regenerated PP files using the correct yacc Jul 2, 2011
QmakePlugin Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
Runtime Version bump to 12.0.5 Jul 12, 2018
SFTP SFTP view now uses clToolBar Jul 8, 2018
ScopeOptimizer Minor fixes prompted by CppCheck Oct 28, 2016
SmartCompletion Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
SnipWiz Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
SpellChecker Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
Subversion2 Svn & Tail plugins both are using the new clToolBar Jun 21, 2018
Tail Tail: wrong icon used for the "Continue" button Jul 11, 2018
TestDir Created new Release configuration for the codelite_utils Jan 4, 2017
Tweaks Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
UnitTest++ Added more CMake files Feb 6, 2013
UnitTestCPP Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
WebTools NodeJS: when launching the debugger, use ther built-in conosle tab to… Jul 8, 2018
WordCompletion Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
ZoomNavigator Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
abbreviation Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
art Updated CodeLite version to 12.0.0 Feb 15, 2018
bitmaps Fixed: when opening a file using the built-in SFTP, display the "clou… Mar 5, 2018
cmake/Modules Support building with libclang6/5 and liblldb6/5 May 7, 2018
codelite-cli wxTermainl update Jul 19, 2018
codelite-icons-dark Remove unneeded stepi icons added by PR #1815 Nov 19, 2017
codelite-icons-fresh-farm Remove unneeded stepi icons added by PR #1815 Nov 19, 2017
codelite-icons Remove unneeded stepi icons added by PR #1815 Nov 19, 2017
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 [codelite-make] Need to make working dir first in custom build Feb 7, 2018
codelite_terminal CMakeLists.txt: add `std` and `stc` to COMPONENTS Nov 12, 2017
codelite_utils MSW: support build with latest wxWidgets as multi-dll version Sep 21, 2017
codelite_vim Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
codelitegcc Minor fixes prompted by CppCheck Oct 28, 2016
codelitephp Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
cppchecker Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
cscope Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
formbuilder External tools: create a new tool is enabled after all the mandatory … Jun 21, 2018
gdbparser Minor fixes prompted by CppCheck Oct 28, 2016
git Git: prompt the user to enter email/username instead of doing this fr… Jun 26, 2018
icons Removed obsolte file Jun 9, 2016
le_exec Prepend a line end before printing the 'Time elapsed' message in the … Jun 7, 2018
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 Fixed build warning Jun 26, 2018
sqlite3 Removed obsolete files Apr 3, 2015
svgs Updated the "modified" icon Feb 7, 2018
translations Add Russian translation (see http://codelite.org/forum/viewtopic.php?… Jan 7, 2018
wxformbuilder Use clToolBar instead of wxToolBar / wxAuiToolbar Jun 15, 2018
.clang-format Updated .clang-format (was not working with older clang-format) + rem… Jul 2, 2017
.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 12.0.5 Jul 12, 2018
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 wxTermainl update Jul 19, 2018
README.md Removed Tux and Windows & Apple logo Feb 13, 2018
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 Weekly script fixed to be more flexiable Dec 25, 2017
make-weekly.bat Make the Windows weekly script working again Apr 16, 2018
make_repo.txt added post install step to .deb file Mar 24, 2008
make_src_targz.sh Make the 'make_src_targz.sh' script work correctly with tar 1.29 Aug 20, 2017
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 a free, open source, cross platform IDE specialized in C, C++, PHP and JavaScript (mainly for backend developers using Node.js) programming languages, which runs best on all major platforms (Windows, macOS and Linux).

You can download pre-built binaries for Windows, macOS and Linux from our Download Page.

More information can be found here:


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)
  • CMake
  • Git.

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 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

Building CodeLite on macOS

Prerequisites:

  • wxWidgets 3.0 or later
  • CMake
  • Git
  • Xcode
  • Xcode command-line tools
  • Homebrew.

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


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's 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 update64.bat OR update.bat (again, depending on your selected arch).