{"id":15026738,"url":"https://github.com/komodo/komodoedit","last_synced_at":"2025-05-15T06:05:49.931Z","repository":{"id":38712515,"uuid":"11802259","full_name":"Komodo/KomodoEdit","owner":"Komodo","description":"Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.","archived":false,"fork":false,"pushed_at":"2023-11-15T00:18:20.000Z","size":501524,"stargazers_count":2179,"open_issues_count":1187,"forks_count":304,"subscribers_count":97,"default_branch":"master","last_synced_at":"2025-05-15T06:04:55.952Z","etag":null,"topics":["activestate","cross-platform","debugger","debugger-visualizer","editor","go","ide","javascript","komodo-edit","komodo-ide","lua","mozilla","nodejs","perl","php","python","ruby","tcl","xul","xulrunner"],"latest_commit_sha":null,"homepage":"http://www.komodoide.com/komodo-edit","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Komodo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2013-07-31T21:57:20.000Z","updated_at":"2025-05-12T03:38:33.000Z","dependencies_parsed_at":"2024-01-16T10:50:26.239Z","dependency_job_id":null,"html_url":"https://github.com/Komodo/KomodoEdit","commit_stats":{"total_commits":14617,"total_committers":42,"mean_commits":348.0238095238095,"dds":0.6262570978997057,"last_synced_commit":"d6e6447bd906bc91c2e91b0bf9a1f070c6976559"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Komodo%2FKomodoEdit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Komodo%2FKomodoEdit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Komodo%2FKomodoEdit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Komodo%2FKomodoEdit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Komodo","download_url":"https://codeload.github.com/Komodo/KomodoEdit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254283339,"owners_count":22045140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activestate","cross-platform","debugger","debugger-visualizer","editor","go","ide","javascript","komodo-edit","komodo-ide","lua","mozilla","nodejs","perl","php","python","ruby","tcl","xul","xulrunner"],"created_at":"2024-09-24T20:04:59.956Z","updated_at":"2025-05-15T06:05:44.923Z","avatar_url":"https://github.com/Komodo.png","language":"Python","readme":"# Komodo Edit\n\nThis readme explains how to get started building, using and developing with\nthe Komodo Edit source base.\n\nWhilst the main Komodo Edit source is hosted under this repository you may also\nwant to check out the individual component/addon repositories under\nhttps://github.com/Komodo in case you only want to contribute to a specific\ncomponent. This'll save you some time and hassle as you would not have to build\nthe entire project.\n\n## Table of Contents\n\n- [Screenshot](#screenshot)\n- [Download](#download)\n- [Feedback](#feedback)\n- [Building Komodo](#building-komodo)\n    - [Building on Windows](#building-on-windows)\n    - [Building on Mac](#building-on-mac)\n    - [building on Linux](#building-on-linux)\n    - [Building with Docker](#building-with-docker)\n    - [Building Complications](#building-complications)\n\n## Screenshot\n\n![Screenshot](screenshot.png)\n\n## Download\n\nYou can [download Komodo Edit here](https://downloads.activestate.com/Komodo/releases/12.0.1/index.html).\n\n## Feedback\n\nThere are several ways to get in contact with the Komodo devs:\n\nGithub: \u003chttps://github.com/Komodo/KomodoEdit\u003e\n\nForums: \u003chttp://forum.komodoide.com/\u003e\n\nBug Tracker: \u003chttps://github.com/Komodo/KomodoEdit/issues\u003e\n\nIRC: \u003circ://irc.mozilla.org/#komodo\u003e\n\nMailing Lists: [komodo-discuss](http://code.activestate.com/lists/komodo-discuss/) \u0026 [komodo-beta](http://code.activestate.com/lists/komodo-beta/) \u0026 [komodo-announce](http://code.activestate.com/lists/komodo-announce/)\n\n## Building Komodo\nNote that these are simplified steps of the building process, for a more in-depth\nguide check (outdated) [BUILD.txt](docs/BUILD.txt). \n\n### Building on Windows\n\n- [Prerequisites](#prerequisites)\n- [Building Steps](#building-steps)\n\n#### Prerequisites\n\n * Python \u003e=2.7 (but not Python 3.x yet). You can [install ActivePython from here](http://downloads.activestate.com/ActivePython/releases).\n\n * Visual C++ 11.0 (aka Visual Studio 2012) and all the Platform SDKs for\n   building Mozilla with vc11 [as described here](http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites).\n   \n * Install [version 1.9.0 of \"MozillaBuild-$ver.exe\"](http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/) package into *the default dir*\n   (i.e. \"C:\\mozilla-build\").\n\n   * Once installed remove the wget and hg directories\n   * Download version 2.2.0 and install it to a temp directory, then copy the wget directory from 2.2 to the 1.9 install directory\n\n * Install the Perl \u003c= 5.22\n\n * Install Mercurial\n\nSee \u003chttp://developer.mozilla.org/en/docs/Windows_Build_Prerequisites\u003e for\nmore details on Windows build prerequisites. However, following the above\nsteps is *meant to be sufficient* to get Komodo building.\n\n#### Building Steps\n\n * Checkout Komodo Edit: `git clone https://github.com/Komodo/KomodoEdit.git`\n\n * Using the command line, enter your checkout directory and run:\n\n   ```\n    cd mozilla\n    setenv-moz-msvc11.bat\n    python build.py configure -k 11.10\n    python build.py distclean all\n   ```\n\n   This will configure and build mozilla and can take anywhere from 30 minutes\n   to several hours to complete (depending on your specs). For most modern\n   machines it should be about an hour.\n\n * After mozilla is built successfully go back to the main repo directory and\n   build komodo:\n\n   ```\n    cd ..\n    set PATH=util\\black;%PATH%\n    bk configure -V 11.10.0-devel # --without-binary-dbgp-clients\n    bk build\n   ```\n\n   This should take significantly less time than building Mozilla.\n\n * Once the build has completed you can simply run Komodo by executing `bk run`\n   \nUpon making any modifications to the source you will again have to run `bk build`,\nor simply `bk build \u0026\u0026 bk run` to quickly get back into Komodo. Subsequent builds\nshould be a lot faster as much of the compiled data is cached.\n\n### Building on Mac\n\n- [Mac Prerequisites](#mac-prerequisites)\n- [Building Steps](#building-steps-1)\n\n#### Mac Prerequisites\n\n * Python \u003e=2.7 (but not Python 3.x yet). You can\n   [install ActivePython from here](http://downloads.activestate.com/ActivePython/releases).\n\n   If you prefer the Python builds from python.org should be sufficient as well.\n\n * Xcode 6.4(SDK 10.9 \u0026 10.10). For 8.0 see below. You can get version 6.4 from [the developer downloads site](https://developer.apple.com/downloads/).\n  \n  * MacOSX10.10.sdk or older  \n  * *IDE ONLY* SDK 10.8 for Code Intel. Can be found in Xcode 5.1.1\n  * If you have/need other versions of Xcode installed then you can use `xcode-select` to change the active Xcode:\n  \n     `$ xcode-select -s /Path/To/Xcode\\ 6.4.app/`\n \n * Xcode Command Line Tools.\n\n   Open the Xcode preferences, then in the Downloads tab, select and install the\n   Command Line Tools.\n\n * [MacPorts](http://www.macports.org/). (Note: Fink may work too but most of the\n   build testing and instructions is done with MacPorts.)\n\n * autoconf v2.13. Once you have MacPorts installed you need just run\n   `sudo port install autoconf213`\n\n * ensure you are using clang or gcc 4.2 (or higher)\n\nSee \u003chttp://developer.mozilla.org/en/docs/Mac_OS_X_Build_Prerequisites\u003e\nfor more details on Mac OS X build prerequisites. However, following the\nabove steps is *meant to be sufficient* to get Komodo building.\n\n### Xcode 8 Prerequisites\n\nOfficially we do not support Xcode 8, however it is possible to build Komodo\nunder Xcode 8 using a new extra steps.\n\n * Copy over the 10.8 and 10.9 SDK's from an older XCode install, they should be in:\n   Xcode.app/Contents/Developer/Platforms/macOSX.platform/\n * Set MinimumSDKVersion to 10.9 in Xcode.app/Contents/Developer/Platforms/macOSX.platform/Info.plist\n * Ensure you are using ccache 3.1 (later versions will break)\n * Configure Mozilla with `--options=disable-webrtc`\n\n\n#### Building Steps\n\n * Checkout Komodo Edit: `git clone https://github.com/Komodo/KomodoEdit.git`\n\n * Using the terminal, enter your checkout directory and run:\n\n   ```\n    1) cd komodo/mozilla\n    \n    2) python build.py configure -k 10.10\n    \n    3) python build.py all\n    \n       or \n    \n       python build.py distclean all\n       (to delete and re-download Mozilla again)\n   ```\n\n   This will configure and build mozilla and can take anywhere from 30 minutes\n   to several hours to complete (depending on your specs). For most modern\n   machines it should be about an hour.\n   \n##### ** Building with GCC 5.0 and higher **\n   If you are using GCC 5.0, the build may fail. If it does,\n   there are changes that need to be made to two files. However, if you are running\n   a clean build for the first time, you need to allow this part of the build to fail\n   first. This is because the files are in the Mozilla part of the build which has to\n   be downloaded first.\n   \n###### These files need to be changed:\n   1) /KomodoEdit/mozilla/build/moz3500-ko9.10/mozilla/configure.in\n   \n   ```\n    @@ -7509,8 +7509,6 @@\n    eval $(CXX=\"$CXX\" HOST_CXX=\"$HOST_CXX\" $PYTHON -m mozbuild.configure.libstdcxx)\n    AC_SUBST(MOZ_LIBSTDCXX_TARGET_VERSION)\n    AC_SUBST(MOZ_LIBSTDCXX_HOST_VERSION)\n+   CXXFLAGS=\"$CXXFLAGS -D_GLIBCXX_USE_CXX11_ABI=0\"\n+   HOST_CXXFLAGS=\"$HOST_CXXFLAGS -D_GLIBCXX_USE_CXX11_ABI=0\"\n fi\n   ```\n   \n   See [bug #1153109](https://bugzilla.mozilla.org/show_bug.cgi?id=1153109) in Mozilla's bug database for more information.\n   \n   2) /KomodoEdit/mozilla/build/moz3500-ko9.10/mozilla/dom/ipc/Blob.cpp\n\n   ```\n   @@ -3874,7 +3874,7 @@\n   // Make sure we can't overflow.\n   if (NS_WARN_IF(UINT64_MAX - aLength \u003c aStart)) {\n     ASSERT_UNLESS_FUZZING();\n-    return nullptr;\n+    return false;\n   }\n \n   ErrorResult errorResult;\n   @@ -3883,7 +3883,7 @@\n \n   if (NS_WARN_IF(aStart + aLength \u003e blobLength)) {\n     ASSERT_UNLESS_FUZZING();\n-    return nullptr;\n+    return false;\n   }\n   ```\n   \n   See [Porting to GCC 5](https://gcc.gnu.org/gcc-5/porting_to.html) for more information.\n\n * After mozilla is built successfully, go back to the main repo directory and\n   build komodo:\n\n   ```\n    cd ..\n    export PATH=`pwd`/util/black:$PATH   # Komodo's \"bk\" build tool\n    git submodule update --init\n    git submodule update --remote\n    bk configure -V 10.10.0-devel\n    bk build\n   ```\n\n   This should take significantly less time than building Mozilla.\n\n * Once the build has completed you can simply run Komodo by executing `bk run`\n\nUpon making any modifications to the source you will again have to run `bk build`,\nor simply `bk build \u0026\u0026 bk run` to quickly get back into Komodo. Subsequent builds\nshould be a lot faster as much of the compiled data is cached.\n\n### Building on Linux\n[Linux instructions](docs/Linux_build_guide.md)\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n\n### Building with Docker\n\nThe easiest way to get started is to use our Docker image, this will basically\nprovide you with a Ubuntu 12.04 based build of Komodo.\n\nAfter cloning the repository simply navigate into `{repo}/util/docker` and check\nout `./docklet --help`\n\nTo use the docker image you need to of course have Docker installed as well as\nhave X11 forwarding enabled in your SSH client (should work by default on most\nlinux distros).\n\n#### Prepare Docker Image\n\n * Build the docker image: `./util/docker/docklet image`\n * Start your container: `./util/docker/docklet start`\n * SSH into your container to start working: `./util/docker/docklet ssh`\n\nYour project files will be mounted at `/komodo/dev`\n\nNOTE - if you are updating from a previous version where your project files were\nat `/root/komodo` you will need to fix permissions on your Komodo project and\nprofile folders. Ie:\n\n```\nchown -R \u003cmy-username\u003e:\u003cmy-group\u003e \u003cmy-project-location\u003e\nchown -R \u003cmy-username\u003e:\u003cmy-group\u003e ~/.komodoide\n```\n\nYou will also need to redo your build (distclean mozilla and komodo).\n\n#### Building Steps\n\nOnce your image is prepared you can follow the building steps for linux as\ndescribed above. You will be running these from the docker container, so ssh into\nit using the command above and then run the commands from `/komodo/dev`\n\n#### Running\n\nOnce your build is complete you exit out of the container (`exit`) and can then\nrun Komodo with\n\n`./util/docker/docklet run`\n\nTo rebuild Komodo (after making changes) and run it again you can use\n\n`./util/docker/docklet build run`\n\nIf your changes are not being reflected you may need to clean your build, to do\nthis use\n\n`./util/docker/docklet clean`\n\nOr to do it all at once (clean, build and run)\n\n`./util/docker/docklet clean build run`\n\n\n### Building Complications\n\nIf any errors occur during your first built-time and it is not obvious how to fix\nthe issue on your own please refer to the [Feedback](#feedback) section on how to get in contact\nwith us.\n\nNote that if building complications arise after you updated your repo with the latest\nchanges you might need to clear your local cache as it might be conflicting with the\nnew changes, to do this run `bk distclean` before running your build steps.\n\n### Pro-Tips\n\n**Build a single piece**\n\nSometimes ```bk build``` is too much and ```bk build quick``` isn't enough.  If ```bk build quick``` doesn't appear to pickup your changes, try pointing ```bk build``` at the piece in question.  \n\n**Example**\n\n```bk build build/release/modules/places #this will build the places module only```\n\n**NOTE**: Do not rely on this method as ```bk build quick``` is faster and in some cases does some steps that the above example won't perform.  Use it as a last ditch effort before you try ```bk distclean \u0026\u0026 bk build```.\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkomodo%2Fkomodoedit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkomodo%2Fkomodoedit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkomodo%2Fkomodoedit/lists"}