{"id":15134535,"url":"https://github.com/ksprojects/protobuf-jetbrains-plugin","last_synced_at":"2025-04-09T22:18:48.648Z","repository":{"id":84256753,"uuid":"54786166","full_name":"ksprojects/protobuf-jetbrains-plugin","owner":"ksprojects","description":"Protobuf Support for JetBrains IDEs","archived":false,"fork":false,"pushed_at":"2020-06-20T10:08:07.000Z","size":746,"stargazers_count":261,"open_issues_count":5,"forks_count":45,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-09T22:18:42.606Z","etag":null,"topics":["intellij","jetbrains-plugin","protobuf"],"latest_commit_sha":null,"homepage":"https://plugins.jetbrains.com/plugin/8277","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ksprojects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2016-03-26T15:46:32.000Z","updated_at":"2025-03-30T19:09:28.000Z","dependencies_parsed_at":"2024-06-20T04:23:11.724Z","dependency_job_id":"94bef1fd-6a39-435f-9d0b-74ad371cf7b1","html_url":"https://github.com/ksprojects/protobuf-jetbrains-plugin","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksprojects%2Fprotobuf-jetbrains-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksprojects%2Fprotobuf-jetbrains-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksprojects%2Fprotobuf-jetbrains-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksprojects%2Fprotobuf-jetbrains-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksprojects","download_url":"https://codeload.github.com/ksprojects/protobuf-jetbrains-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119285,"owners_count":21050755,"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":["intellij","jetbrains-plugin","protobuf"],"created_at":"2024-09-26T05:22:34.152Z","updated_at":"2025-04-09T22:18:48.607Z","avatar_url":"https://github.com/ksprojects.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Protobuf Support for JetBrains IDEs\n\n[![Join the chat at https://gitter.im/protostuff/protobuf-jetbrains-plugin](https://badges.gitter.im/protostuff/protobuf-jetbrains-plugin.svg)](https://gitter.im/protostuff/protobuf-jetbrains-plugin?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n[Protobuf Support Plugin](https://plugins.jetbrains.com/plugin/8277) for IntelliJ IDEA \u0026 other JetBrains products.\n\n## THIS PLUGIN IS NOT SUPPORTED SINCE 2019 \n\nPLEASE SWITCH TO https://github.com/jvolkman/intellij-protobuf-editor\n\n## Releases\n\nLatest plugin release is compatible with IntelliJ IDEA 2018.2 (older releases are compatible with IDEA 13+). \nOther JetBrains IDEs of the same or higher version should be supported as well. \n\nCompatibility Matrix:\n\n| Plugin Version  | IDE Version Range  |\n|-----------------|--------------------|\n| 0.11.0          | IDEA 2018.2        |\n| 0.9.0           | IDEA 2017.1        |\n| 0.8.0           | IDEA 2016.1        |\n| 0.6.0           | IDEA 13 - IDEA 15  |\n\n\n### Installation\n\nIntelliJ IDEA should suggest you to install plugin automatically \nwhen you open `.proto` file.\nYou can install plugin manually by opening \"Plugins\" settings, \n\"Browse repositories...\" - search for \"Protobuf Support\".\n\nPlugin page: https://plugins.jetbrains.com/plugin/8277-protobuf-support\n\n### Configuration\n\nThe plugin does not require configuration by default, for majority of projects it should work out of the box.\n\n#### Imports\n\nIf you see 'File not found' error mark for the import statement, it means plugin cannot resolve target file within current set of source (or resource) roots.\n\nIn order to fix it, you should tell to plugin where is the \"sources root\" for your proto files.\n\nThere are a couple ways of doing that:\n\n1. Mark directory as a source/resources root (right click on folder in project structure, \"Mark forlder as....\"):\n\n![image](https://user-images.githubusercontent.com/4040120/28202383-c96d6f08-687d-11e7-905d-53dfcf6e0799.png)\n\n2. Configure directory as source/resources folder in `maven`/`gradle` or other build system (if IDEA has support for that build system). \n\n   For gradle you can do it like this:\n   ```gradle\n   idea {\n       module {\n           sourceDirs += file(\"${projectDir}/src/main/proto\")\n       }\n   }\n   ```\n   for maven, you can add as a resource directory: \n   ```xml\n   \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n   \u003cproject xmlns=\"http://maven.apache.org/POM/4.0.0\"\n            xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n            xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\"\u003e\n\n       \u003cmodelVersion\u003e4.0.0\u003c/modelVersion\u003e\n\n       \u003cgroupId\u003egroupId\u003c/groupId\u003e\n       \u003cartifactId\u003eartifactId\u003c/artifactId\u003e\n       \u003cversion\u003e1.0.0-SNAPSHOT\u003c/version\u003e\n\n       \u003cdependencies\u003e\n         ...\n       \u003c/dependencies\u003e\n\n       \u003cbuild\u003e\n           \u003cresources\u003e\n               \u003cresource\u003e\n                   \u003cdirectory\u003esrc/main/proto\u003c/directory\u003e\n               \u003c/resource\u003e\n           \u003c/resources\u003e\n       \u003c/build\u003e\n   \u003c/project\u003e\n   ```\n\n3. You can go to plugin settings, and add source roots there (this is also useful for external imports):\n\n   ![image](https://user-images.githubusercontent.com/4040120/28202438-0fbe29ca-687e-11e7-964a-bb1f10dfcd4f.png)\n\n### Roadmap\n\nhttps://github.com/protostuff/protobuf-jetbrains-plugin/wiki/Roadmap\n\n### Build\n\nRun following command in the shell:\n\n```\n./gradlew build\n```\n\nIt should be possible to run build on any platform (Linux, Windows, MacOS) where\n[Gradle](https://gradle.org/) is supported.\n\nJDK 8 must be installed and available on PATH in order to build plugin.\n\n### Run IntelliJ IDEA with enabled plugin (for development)\n\n```\n./gradlew runIdea\n```\n\n### Screenshots\n\n![image](https://github.com/protostuff/protostuff-jetbrains-plugin/wiki/sample-2016-04-11.png)\n\n## For the sake of history\n\n![image](https://user-images.githubusercontent.com/4040120/85199284-06dc7980-b2f7-11ea-9ec8-d1b6ce0d3580.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksprojects%2Fprotobuf-jetbrains-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksprojects%2Fprotobuf-jetbrains-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksprojects%2Fprotobuf-jetbrains-plugin/lists"}