{"id":13621323,"url":"https://github.com/ssmolkin1/company-solidity","last_synced_at":"2026-01-25T10:32:33.305Z","repository":{"id":90905627,"uuid":"119406767","full_name":"ssmolkin1/company-solidity","owner":"ssmolkin1","description":"Company mode back-end for solidity","archived":false,"fork":false,"pushed_at":"2018-04-07T20:50:56.000Z","size":32,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-17T08:08:33.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ssmolkin1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-29T16:12:36.000Z","updated_at":"2022-06-20T07:40:48.000Z","dependencies_parsed_at":"2023-07-22T00:31:18.282Z","dependency_job_id":null,"html_url":"https://github.com/ssmolkin1/company-solidity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ssmolkin1/company-solidity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssmolkin1%2Fcompany-solidity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssmolkin1%2Fcompany-solidity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssmolkin1%2Fcompany-solidity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssmolkin1%2Fcompany-solidity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssmolkin1","download_url":"https://codeload.github.com/ssmolkin1/company-solidity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssmolkin1%2Fcompany-solidity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28751816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T10:25:12.305Z","status":"ssl_error","status_checked_at":"2026-01-25T10:25:11.933Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-08-01T21:01:04.740Z","updated_at":"2026-01-25T10:32:33.288Z","avatar_url":"https://github.com/ssmolkin1.png","language":"Emacs Lisp","funding_links":[],"categories":["Editor Plugins"],"sub_categories":[],"readme":"# company-solidity\n\n## Now fully integrated in solidity-mode, no longer independently maintained\n`company-solidity` is now fully integrated in `solidity-mode`, and will be installed automatically alongside it when you install (or upgrade) that package, and will be enabled automatically for users who have `company-mode` installed. Thus, you no longer need to, nor should you, install `company-solidity` as a stand-alone package. This repo will continue to be hosted, but will no longer be updated going forward.\n\n## Upgrade to version 2.0.0\n`company-solidity` has now been updated to:\n- pull completion targets from `solidity-mode` syntax highlighting keyword lists, for greater maintainability; and\n- add more completion targets which are new or were missing from previous versions (on top of the `solidity-mode` keyword lists).\n\nBecuase of the first change above, `company-solidity` now requires `solidity-mode`.\n\n## Overview\nThis is a simple company-mode back-end for autocompletion for the Solidity programming langauge. It is intended to be used with [solidity-mode](https://github.com/ethereum/emacs-solidity).\n\n### What it does\nGive completion suggestions for Solidity keywords, global variables, and address methods.\n\n### What it isn't\nSmart. The completion suggestions are *not context dependent*.\n\n### Something to watch out for\n`company-mode` treats `.` as the end of a word, and will cut off compeletion suggestions when you type a `.`. So, when you've typed `msg` you will get `msg.sender`, `msg.value` etc. as completion suggestions. However, as soon as you type `msg.`, the suggestions will disappear.\n\n## Installation\n\nFirst, install the package from MELPA with `M-x package-install RET company-solidity RET`, then put the following in your `init.el`:\n\n```lisp\n(require 'company-solidity)\n```\n\nAlternatively, to install with [use-package](https://github.com/jwiegley/use-package), put the following in your `init.el`:\n\n```lisp\n(use-package company-solidity\n  :ensure t\n  :after (company))\n```\n\nThat's it. Now open up a file in `solitidy-mode` and try it out!\n\n## Usage\n\nCompletion suggestions from the `company-solidity` back-end will automatically appear when `solidity-mode` is your `major-mode`.\n\n## Local Variables\n\nIf you want autocomplete suggestions to include local variables, as well as Solidity keywords, add the following to your `init.el`:\n\n```lisp\n(add-hook 'solidity-mode-hook\n\t(lambda ()\n\t(set (make-local-variable 'company-backends)\n\t\t(append '((company-solidity company-capf company-dabbrev-code))\n\t\t\tcompany-backends))))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssmolkin1%2Fcompany-solidity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssmolkin1%2Fcompany-solidity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssmolkin1%2Fcompany-solidity/lists"}