Gogland EAP 11: Faster Indexing, Extract/Inline Constant, IntelliJ Platform 2017.2, and More
Following the recent release of IntelliJ IDEA 2017.2, we’re happy to announce a new Gogland EAP. In addition to many new platform features (VCS and JavaScript), it comes with lots of improvements specifically for Go.
First of all, we’ve changed the way Gogland indexes libraries inside GOPATH: non-Go files are now ignored, which, depending on your workspace, might make indexing up to twice as fast.
Also, the refactorings family now includes two more members: Extract a Constant and Inline a Constant:
Annoying issues have been fixed:
- Create Function quick-fix sometimes created functions in a wrong source package
- The binary wasn’t retained in the output directory after the Run Configuration finished
- The Debugger stuck on Evaluating when after clicking View to see full content of a variable
- VCS commits occurring before the Go fmt option (in the Before Commit section) has finished its work
And of course, the update brings the new platform features from IntelliJ Platform 2017.2:
- Version Control
- New Git Log actions: Revert and Reword.
- The new settings let you customize rules applied to commit messages: a blank line between subject and
body, and the maximum length. Also, there’s a quick fix and the Reformat action inside Commit Message. - Shelf tab has been reworked for better performance and ergonomics.
- Find in Path
- Preview panel now has a Gutter (a left-hand pane like that in the editor) with line
numbers, navigation icons, and local change markers. - Search results from the same lines are now merged together.
- Preview panel now has a Gutter (a left-hand pane like that in the editor) with line
- Windows 10 native UI
- Improved HiDPI support
- JavaScript & TypeScript
- Parameter Hints and Type Info
- Rearrange Code
- Move refactoring (across ES6 modules)
- CSS modules, better Webpack support, code coverage for Mocha, etc
- The indexing process now can be paused, e.g. if you need your CPU power for an urgent task.
- Excluding files from search results and indexing by a filename/directory pattern.
Note, due to certain changes, patches aren’t available for this update.
Give the new EAP build a try, and share your feedback with us. Bug reports as always are welcome in our issue tracker.
The Drive to Develop!