Buck for IDEA

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
Dec 15, 2017
21 768
An IntelliJ plugin for Buck build system.
  • Syntax highlighting for BUCK file
  • Keywords auto completion
  • Go to buck file with one click
  • Go to to paths of dependencies with one click
  • Buck file formatter
  • Buck line commenter
  • Buck dependencies sorter

Download plugin

Recent change notes

  • Enable Layout Preview in Android projects generated by buck project.
  • Support Skylark glob API (exclude attribute).
  • Auto-complete load functions.
  • Add limited support for detecting missing extension files referenced in load function. Currently only targets from the same cell are checked.
  • Add limited load function target navigation. Currently only targets from the same cell are supported.
  • "Optimize Imports" now removes duplicate dependencies.
  • The paste code will not transform text if within a non-empty string.
  • Fix paste bugs; add unit tests so paste doesn't break again.
  • Move adb/buck configuration checks to point of use, so you no longer get Fatal Errors on opening IJ if you don't have adb installed.
  • Detect new package creation, and mark it as a source folder.
  • Remove the default folding of large arrays.
  • Make plugin compatible with IntelliJ 2017.1.
  • Add an ability to run tests from editor.
  • Find adb based on ANDROID_SDK environment variable.
  • Fold BUCK files.
  • Detect resource creation in a Project View's /res directory, and moves the new file to an Android resource module.
  • Fixed issues with Buck files showing syntax errors when using the glob function.
  • Fix a bug with buck command never finishes. This solves the problem with not showing targets in "Choose Buck Target" pop-up.
  • Use buck config to determine Buck file name (default is BUCK).
  • Change pasting formatting to have double-quotes and four-space indents.
  • Fix go-to-definition to recognize both single- and double-quoted strings.
  • Fix how the icon gets initialized for the buck tool window.
  • Added support for pasting multiple targets in a Buck file.
  • Fixed issues with whitespace when pasting target(s) in a Buck file.
  • Removed restriction on IDEA version.
  • Added test run configuration.
  • Fixed a bug with NullPointerException in BuckEventsQueue.
  • Fixed multiple edge cases with autodeps logic.
  • Updated upper-bound of plugin to 2016.2.
  • Sending events for Buck plugin IntelliJ actions.
  • Added adb select path to Tools.
  • Improved server connect/disconnect.
  • Moved actions from the UI thread.
  • Fixed some compatibility issues.
  • Updated buck icons.
  • Made all existing paths in a Buck file clickable.
  • Improved grammar.
  • Show popup on how to enable the toolbar.
  • Disable choose target if indexing not over.
  • Added the plugin to the toolbar.
  • Show successful/failed notification on action finished.
  • Automatically find buck executable.
  • Added install debugging.
  • Minor bug fixes.
  • Updated with the new buck API.
  • Fixed old commands to work with Buck.
  • Fetch build status via websocket.
  • Publish build status notifications.
  • Formatter for buck file.
  • Buck dependencies sorter.
  • Annotator for wrong buck dependency target.
  • Line commenter.