CodeLite, a cross platform C/C++/PHP and Node.js IDE written in C++
Clone or download
Permalink
Failed to load latest commit information.
AutoSave Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
CMakePlugin Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
CallGraph Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
ClangOutputParser Renamed `gnu g++` compiler needed by CodeLite to `g++-64` Jul 22, 2018
CodeCompletionsTests Windows: remove the '-s' bit passed to the linker. This will allows a… Sep 8, 2018
CodeDesigner Windows: remove the '-s' bit passed to the linker. This will allows a… Sep 8, 2018
CodeFormatter Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
CodeLite Fixed: launching terminal with arguments should now be working on Lin… Oct 22, 2018
CodeLiteDiff Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
CommentParser Renamed `gnu g++` compiler needed by CodeLite to `g++-64` Jul 22, 2018
ContinuousBuild Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
Copyright Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 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 reuse the bitmaps allocated by CodeLite once and dont create extra co… Sep 24, 2018
Debugger Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
Docker Terminal handling in CodeLite is now centered in one location Oct 22, 2018
EditorConfigPlugin Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
ExternalTools External plugin: don't wrap the tool with an extra double quotes Oct 3, 2018
File2Hex Windows: don't link against wxWidgets built in debug mode when buildi… Jul 27, 2018
FileCrawler/trunk Fixed: when "crawling" to header files from an #include statement, ke… Jun 19, 2014
FileGrep Renamed `gnu g++` compiler needed by CodeLite to `g++-64` Jul 22, 2018
Gizmos Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
HelpPlugin Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
InnoSetup Removed Tweaks plugin from Windows build Sep 7, 2018
Interfaces use clTreeCtrl for the C++ workspace Sep 10, 2018
LLDBDebugger Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
LiteEditor Fixed: launching terminal with arguments should now be working on Lin… Oct 22, 2018
MacBundler Windows: don't link against wxWidgets built in debug mode when buildi… Jul 27, 2018
MemCheck Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
Outline Outline tab: Removed obsolete border style "wxBORDER_THEME" Oct 7, 2018
PCH Windows: remove the '-s' bit passed to the linker. This will allows a… Sep 8, 2018
PHPLint Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
PHPRefactoring Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
Plugin Fixed: launching terminal with arguments should now be working on Lin… Oct 22, 2018
PreProcessor Renamed `gnu g++` compiler needed by CodeLite to `g++-64` Jul 22, 2018
QmakePlugin Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
Runtime Some dark themes icons update Oct 19, 2018
SFTP Code refactoring: moved the TreeCtrl + ListCtrl built-in search into … Oct 7, 2018
ScopeOptimizer Minor fixes prompted by CppCheck Oct 28, 2016
SmartCompletion Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
SnipWiz Fixed: #2083 Oct 12, 2018
SpellChecker Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
Subversion2 Subversion: use the "Unchanged" view now uses auto-size column width Oct 3, 2018
Tail Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
TestDir Windows: remove the '-s' bit passed to the linker. This will allows a… Sep 8, 2018
Tweaks Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
UnitTest++ Renamed `gnu g++` compiler needed by CodeLite to `g++-64` Jul 22, 2018
UnitTestCPP Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
WebTools Node JS debugger uses clThemedListCtrl and clThemedTreeCtrl Oct 20, 2018
WordCompletion Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
ZoomNavigator Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
abbreviation Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
art Updated CodeLite version to 12.0.0 Feb 15, 2018
bitmaps-dark Some dark themes icons update Oct 19, 2018
bitmaps-light Updated Git plugin toolbar Oct 18, 2018
cmake/Modules Fix Mac build Oct 17, 2018
codelite-cli codelite-cli: code-complete: support passing optional 'dirty buffer' … Jul 25, 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 Windows: remove the '-s' bit passed to the linker. This will allows a… Sep 8, 2018
codelite_make Windows: remove the '-s' bit passed to the linker. This will allows a… Sep 8, 2018
codelite_terminal Fixed: build errors on wxWidgets 3.0 Sep 13, 2018
codelite_utils Renamed `gnu g++` compiler needed by CodeLite to `g++-64` Jul 22, 2018
codelite_vim Event wxEVT_ACTIVE_EDITOR_CHANGED no longer sends the editor pointer,… Sep 18, 2018
codelitegcc Renamed `gnu g++` compiler needed by CodeLite to `g++-64` Jul 22, 2018
codelitephp Terminal handling in CodeLite is now centered in one location Oct 22, 2018
cppchecker Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 2018
cscope reuse the bitmaps allocated by CodeLite once and dont create extra co… Sep 24, 2018
formbuilder Generate Setters Dialog - UI update Oct 8, 2018
gdbparser Renamed `gnu g++` compiler needed by CodeLite to `g++-64` Jul 22, 2018
git Updated Git plugin toolbar Oct 18, 2018
icons Removed obsolte file Jun 9, 2016
le_exec Renamed `gnu g++` compiler needed by CodeLite to `g++-64` Jul 22, 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 Windows: remove the '-s' bit passed to the linker. This will allows a… Sep 8, 2018
sqlite3 Removed obsolete files Apr 3, 2015
svgs Some dark themes icons update Oct 19, 2018
translations Add Russian translation (see http://codelite.org/forum/viewtopic.php?… Jan 7, 2018
wxformbuilder Windows: reverted commits: 9e2fcd4 and db016c2 Sep 9, 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 clTreeCtrl: use GTK API to grab the focus Sep 7, 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 Fixed: launching terminal with arguments should now be working on Lin… Oct 22, 2018
README.md State the wxWidget 3.1 is the version supported Aug 24, 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 Linux packaging: removed exit call Aug 6, 2018
make-weekly.bat Fixed: Windows build script: command line arguments are now similar t… Aug 5, 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.1 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.1 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.1 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).