{"id":13711248,"url":"https://github.com/sebastiencs/company-box","last_synced_at":"2025-04-04T23:09:32.422Z","repository":{"id":37390946,"uuid":"125305533","full_name":"sebastiencs/company-box","owner":"sebastiencs","description":"A company front-end with icons","archived":false,"fork":false,"pushed_at":"2024-03-20T09:21:54.000Z","size":611,"stargazers_count":570,"open_issues_count":63,"forks_count":65,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-01T23:52:15.312Z","etag":null,"topics":["company","completion","emacs","front-end"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sebastiencs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-15T03:09:42.000Z","updated_at":"2025-03-10T18:06:50.000Z","dependencies_parsed_at":"2023-02-15T12:31:25.875Z","dependency_job_id":"b87bf662-4776-44a4-afce-f94cd95276ec","html_url":"https://github.com/sebastiencs/company-box","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiencs%2Fcompany-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiencs%2Fcompany-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiencs%2Fcompany-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiencs%2Fcompany-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebastiencs","download_url":"https://codeload.github.com/sebastiencs/company-box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247261612,"owners_count":20910108,"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":["company","completion","emacs","front-end"],"created_at":"2024-08-02T23:01:06.144Z","updated_at":"2025-04-04T23:09:32.389Z","avatar_url":"https://github.com/sebastiencs.png","language":"Emacs Lisp","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"\n# company-box\n[![MELPA](http://melpa.org/packages/company-box-badge.svg)](http://melpa.org/#/company-box)\n\nA company front-end with icons.  \n\n![company-box](company-box.png)\n\nDifferences with the built-in front-end:  \n- Differents colors for differents backends.\n- Icons associated to functions/variables/.. and their backends\n- Display candidate's documentation (support `quickhelp-string`)\n- Not limited by the current window size, buffer's text properties, .. (it's better than you might think)\n\nThis package requires emacs 26.  \nAlso, not compatible with emacs in a tty.  \n\n### Installation\n``` el\n;; With use-package:\n(use-package company-box\n  :hook (company-mode . company-box-mode))\n\n;; Or:\n(require 'company-box)\n(add-hook 'company-mode-hook 'company-box-mode)\n```\n\nTo customize:  \n`M-x customize-group [RET] company-box [RET]`   \n\n### Backends colors\n\nSee the docstring of the variable `company-box-backends-colors`:  \n`C-h v company-box-backends-colors`\n\n### Themes\n\nYou can select different themes with `company-box-icons-alist`\n\n### Icons\n\nSee the variable `company-box-icons-functions`  \n\nFor now, there are customs icons for 4 backends only: `company-lsp`, `company-elisp`, `company-yasnippet` and `company-php`.  \nYou can customize their icons with the variables:  \n`company-box-icons-lsp`, `company-box-icons-elisp`, `company-box-icons-yasnippet` and `company-box-icons-acphp`.\n\nNotes:  \nBy default, images are used to display icons.  \nYou can also use [font icons](https://github.com/sebastiencs/company-box/wiki/icons)  \nWith images, you can't change icons colors\n\n### Top margin\n\nYou can position the frame downwards by setting the variable `company-box-frame-top-margin` to a positive number. This is useful if your base code/text has an enlarged line height, and company box is intruding into the line above. It's also useful, if you're using copilot and want to see a few lines of suggested code unobscured by the company box. See [PR #205](https://github.com/sebastiencs/company-box/pull/205) for details.\n\nYou can set the top margin mode-dependent via mode hooks, if you want. E.g. in Doom Emacs:\n\n``` el\n(use-package! company-box\n  :defer t\n  :config\n  (setq-hook! 'prog-mode-hook\n    company-box-frame-top-margin 20)\n  (setq-hook! 'text-mode-hook\n    company-box-frame-top-margin 75)\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastiencs%2Fcompany-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebastiencs%2Fcompany-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastiencs%2Fcompany-box/lists"}