Skip to content

wangyanxing/Buck-IntelliJ-Plugin

Repository files navigation

Buck Plugin for IntelliJ

Facebook 2015 Summer Intern Hackathon Project

An IntelliJ plugin for Buck build system (http://buckbuild.com/).

new buck plugin<script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>

Features

  • Syntax highlighting for BUCK files
  • Buck Build Tool Window

Plugin in action

  • Code Completion
  • Go to Buck File
  • Go to Buck Dependencies

Plugin in action

  • Reformat Buck Files

Plugin in action

  • Sort Buck Dependencies Alphabetically

Plugin in action

  • Automatically Convert to Buck Dependencies after Paste

Plugin in action

  • Error Annotation
  • Commenting and Uncommenting
  • Buck Settings / Color Settings / Code Style Settings

Key shortcuts

  • Buck install: ⇧ + ⌘ + X
  • Buck build: ⇧ + ⌘ + S
  • Buck uninstall: ⇧ + ⌘ + M
  • Buck kill: ⇧ + ⌘ + L
  • Choose buck target: ⇧ + ⌘ + D
  • Go to buck file: ⇧ + ⌘ + W
  • Reformat buck file: ⌥ + ⌘ + L
  • Sort buck dependences: ^ + ⌥ + O

Installation

  • Using IDE built-in plugin system
    • Preferences > Settings > Plugins > Browse repositories... > Search for "Buck" > Install Plugin
  • Manually

Contributors

  • Yanxing Wang
  • Long Ma

Bugs

Bug reporting and feedbacks are super welcome! Just post something here: https://github.com/wangyanxing/buck_idea_plugin/issues