{"id":13638723,"url":"https://github.com/monogon-dev/intellij-cue","last_synced_at":"2025-04-27T00:31:10.321Z","repository":{"id":42080646,"uuid":"337099617","full_name":"monogon-dev/intellij-cue","owner":"monogon-dev","description":"IntelliJ support for the CUE language.","archived":false,"fork":false,"pushed_at":"2024-03-13T09:34:49.000Z","size":779,"stargazers_count":38,"open_issues_count":18,"forks_count":4,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-26T02:07:38.939Z","etag":null,"topics":["cue-language","intellij","lexer","parser"],"latest_commit_sha":null,"homepage":"","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/monogon-dev.png","metadata":{"files":{"readme":".github/readme/draft-release.png","changelog":"CHANGELOG.md","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":"2021-02-08T14:18:24.000Z","updated_at":"2025-03-01T12:05:03.000Z","dependencies_parsed_at":"2024-01-14T09:12:50.114Z","dependency_job_id":"dd9b98a8-6264-4797-b9d8-795a83da4fbe","html_url":"https://github.com/monogon-dev/intellij-cue","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monogon-dev%2Fintellij-cue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monogon-dev%2Fintellij-cue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monogon-dev%2Fintellij-cue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monogon-dev%2Fintellij-cue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monogon-dev","download_url":"https://codeload.github.com/monogon-dev/intellij-cue/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251072279,"owners_count":21532004,"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":["cue-language","intellij","lexer","parser"],"created_at":"2024-08-02T01:00:52.478Z","updated_at":"2025-04-27T00:31:09.004Z","avatar_url":"https://github.com/monogon-dev.png","language":"Java","funding_links":[],"categories":["Projects"],"sub_categories":[],"readme":"# CUE Language Support\n\n**CUE Language** support for the IntelliJ platform, https://plugins.jetbrains.com/plugin/16126-cue.\n\n## Usage\n\nThe CUE plugin is compatible with **any JetBrains IDE 2020.3** or later. \nOnly IntelliJ-based IDEs are supported, i.e. it's incompatible with ReSharper.\n\n### Features\n\n**Please note that this plugin is in an early state.**\n\n- Complete support for the current language specification\n- Syntax highlighting with settings\n- Code folding\n- Brace matching\n- Formatting with `cue fmt`\n- Language injection\n\n#### Formatter\n\nFormatting of CUE files with `cue fmt` is supported.\n\nPlease make sure that `cue` is available in `$PATH`. If the executable can't be found, then no content is modified.\n\nOnly complete files can be supported. If content is selected before invoking the format action, then no content is modified.\n\n#### Settings\nThe application settings allow to configure the path to the `cue` binary. You can download it at [github.com/cuelang](https://github.com/cuelang/cue/releases).\n\n### Bug Reports \u0026 Feature Requests\n\nPlease report your issues at [github.com/monogon-dev/intellij-cue](https://github.com/monogon-dev/intellij-cue).\n\n## Development\n\n- Java JDK 11 is required\n\n### IDE\n\nDevelopment is best in IntelliJ IDEA.\n\nThe following plugins are required for development:\n\n- [GrammarKit 2021.1.2](https://plugins.jetbrains.com/plugin/6606-grammar-kit)\n- Gradle\n- Kotlin, for Gradle build file support\n\n### Building\n\nAfter a build, the plugin is available as a ZIP file at `build/distributions/`.\n\nBuilding with tests:\n\n```bash\n./gradlew clean build\n```\n\nBuilding without tests:\n\n```bash\n./gradlew clean build -x test\n```\n\n### Executing\n\nYou could build the plugin (see above) and install it into your IDE of choice. Alternatively, you can run the plugin in a sandbox:\n\n```bash\n./gradlew runIde\n```\n\n### Lexer\n\nThe lexer is generated by JFlex. The definition is at `src/grammar/cue.flex`.\n\nThe following command regenerates the lexer:\n\n```bash\n./gradlew generateLexer\n```\n\n### Parser\n\nThe parser is generated with JetBrains' GrammarKit. GrammarKit is a plugin for IntelliJ IDEA. The definition is at `src/grammar/cue.bnf`.\n\nTo update the parser and all related classes, open the `cue.bnf` file in your IDE and choose `Generate Parser` in the context menu of the\neditor.\n\n## Useful Link\n\n- [CUE on the JetBrains Marketplace](https://plugins.jetbrains.com/plugin/16126-cue)\n- [CUE Language Website](https://cuelang.org/)\n- [The CUE Language Specification](https://cuelang.org/docs/references/spec/)\n\n## Copyright\n\n\u0026copy; 2021 Nexantic GmbH / Monogon\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonogon-dev%2Fintellij-cue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonogon-dev%2Fintellij-cue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonogon-dev%2Fintellij-cue/lists"}