Buck for IDEA

The plugin update is pending JetBrains approval
Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
Dec 15, 2017
15 664
An IntelliJ plugin for Buck build system.
Features:
  • 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

3.4
  • 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.
3.3
  • "Optimize Imports" now removes duplicate dependencies.
  • The paste code will not transform text if within a non-empty string.
3.2
  • 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.
3.1
  • Detect new package creation, and mark it as a source folder.
  • Remove the default folding of large arrays.
3.0
  • Make plugin compatible with IntelliJ 2017.1.
2.9
  • Add an ability to run tests from editor.
  • Find adb based on ANDROID_SDK environment variable.
  • Fold BUCK files.
2.8
  • Detect resource creation in a Project View's /res directory, and moves the new file to an Android resource module.
2.7.8
  • Fixed issues with Buck files showing syntax errors when using the glob function.
2.7.7
  • 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).
2.7.6
  • Change pasting formatting to have double-quotes and four-space indents.
2.7.5
  • Fix go-to-definition to recognize both single- and double-quoted strings.
  • Fix how the icon gets initialized for the buck tool window.
2.7.4
  • Added support for pasting multiple targets in a Buck file.
  • Fixed issues with whitespace when pasting target(s) in a Buck file.
2.7.3
  • Removed restriction on IDEA version.
  • Added test run configuration.
2.7.2
  • Fixed a bug with NullPointerException in BuckEventsQueue.
  • Fixed multiple edge cases with autodeps logic.
2.7.1
  • Updated upper-bound of plugin to 2016.2.
2.7.0
  • Sending events for Buck plugin IntelliJ actions.
  • Added adb select path to Tools.
2.6
  • Improved server connect/disconnect.
  • Moved actions from the UI thread.
  • Fixed some compatibility issues.
2.5
  • 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.
2.4
  • Added the plugin to the toolbar.
  • Show successful/failed notification on action finished.
  • Automatically find buck executable.
  • Added install debugging.
  • Minor bug fixes.
2.3
  • Updated with the new buck API.
  • Fixed old commands to work with Buck.
2.2
  • Fetch build status via websocket.
  • Publish build status notifications.
1.1
  • Formatter for buck file.
  • Buck dependencies sorter.
  • Annotator for wrong buck dependency target.
  • Line commenter.