{"id":15493525,"url":"https://github.com/megaxela/qcodeeditor","last_synced_at":"2025-04-12T23:39:41.794Z","repository":{"id":41281085,"uuid":"149473639","full_name":"Megaxela/QCodeEditor","owner":"Megaxela","description":"Qt Code Editor widget.","archived":false,"fork":false,"pushed_at":"2023-08-23T19:27:58.000Z","size":262,"stargazers_count":414,"open_issues_count":17,"forks_count":137,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-12T23:39:37.619Z","etag":null,"topics":["codeeditor","qt","qt5","widget"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Megaxela.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-19T15:37:58.000Z","updated_at":"2025-04-09T01:30:08.000Z","dependencies_parsed_at":"2024-10-30T04:29:06.459Z","dependency_job_id":null,"html_url":"https://github.com/Megaxela/QCodeEditor","commit_stats":{"total_commits":36,"total_committers":8,"mean_commits":4.5,"dds":"0.41666666666666663","last_synced_commit":"dc644d41b68978ab9a5591ba891a223221570e74"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megaxela%2FQCodeEditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megaxela%2FQCodeEditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megaxela%2FQCodeEditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megaxela%2FQCodeEditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Megaxela","download_url":"https://codeload.github.com/Megaxela/QCodeEditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647255,"owners_count":21139081,"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":["codeeditor","qt","qt5","widget"],"created_at":"2024-10-02T08:07:48.510Z","updated_at":"2025-04-12T23:39:41.765Z","avatar_url":"https://github.com/Megaxela.png","language":"C++","readme":"# Qt Code Editor Widget\nIt's a widget for editing/viewing code.\n\nThis project uses a resource named `qcodeeditor_resources.qrc`. The main application\nmust not use a resource file with the same name.\n\n(It's not a project from a Qt example.)\n\n## Requirements\n0. C++11 featured compiler.\n0. Qt 5.\n\n## Abilities\n1. Auto parentheses.\n1. Different highlight rules.\n1. Auto indentation.\n1. Replace tabs with spaces.\n1. GLSL completion rules.\n1. GLSL highlight rules.\n1. C++ highlight rules.\n1. XML highlight rules.\n1. JSON highligh rules.\n1. Frame selection.\n1. Qt Creator styles.\n\n## Build\nIt's a CMake-based library, so it can be used as a submodule (see the example).\nBut here are the steps to build it as a static library (for external use for example).\n\n1. Clone the repository: `git clone https://github.com/Megaxela/QCodeEditor`\n1. Go into the repository: `cd QCodeEditor`\n1. Create a build folder: `mkdir build`\n1. Go into the build folder: `cd build`\n1. Generate a build file for your compiler: `cmake ..`\n    1. If you need to build the example, specify `-DBUILD_EXAMPLE=On` on this step.\n1. Build the library: `cmake --build .`\n\n## Example\n\nBy default, `QCodeEditor` uses the standard QtCreator theme. But you may specify\nyour own by parsing it with `QSyntaxStyle`. The example uses [Dracula](https://draculatheme.com) theme.\n(See the example for more.) \n\n\u003cimg src=\"https://github.com/Megaxela/QCodeEditor/blob/master/example/image/preview.png\"\u003e\n\n## LICENSE\n\n\u003cimg align=\"right\" src=\"http://opensource.org/trademarks/opensource/OSI-Approved-License-100x137.png\"\u003e\n\nLibrary is licensed under the [MIT License](https://opensource.org/licenses/MIT)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegaxela%2Fqcodeeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegaxela%2Fqcodeeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegaxela%2Fqcodeeditor/lists"}