Quantcast
Channel: News - Marketplace | JetBrains
Viewing all articles
Browse latest Browse all 72158

News for Go

$
0
0
<p><strong>Gogland EAP 15</strong> is out!</p><ul><li>The following cases are now reported by new <strong>inspections</strong>:<ul><li>A variable is assigned to its own value.</li><li>Explicit conversion is not possible.</li><li>The address operator is used on a non-addressable operand.</li><li>A type used in a switch case mismatches the type of the switch condition.</li><li>A 0 wrongly used as an argument for <strong>string.Replace</strong>.</li><li>A comment is missing a leading space (disabled by default).</li><li>Snake_case in identifiers.</li><li>A variable declaration used as value in a switch condition</li><li>An exported function that returns an unexported type.</li></ul> </li><li>The following code now can be generated for you by <strong>intention actions</strong>:<ul><li>The code that initializes structs.</li><li>Getters and setters for struct fields.</li></ul> </li><li>The <strong>gutter icons</strong> that navigate to the interface (that the struct at the caret implements), <br> or to the structs (implemented by the interface at the caret), have gotten faster and <br>now are enabled by default. </li><li>The <strong>type</strong> keyword is suggested in type-assertions.</li><li>Among other improvements:<ul><li>The go-setup information is now collapsed in the execution output.</li><li>The <strong>Copyright</strong> plugin now works for Go files.</li><li>The maximum size of Go files that can be opened in the IDE has increased <br>from 2.5 MB to 4 MB.</li><li>In the <strong>Project</strong> tool window, calling the context menu on a folder now <br> offers two new items: <strong>Open directory as a project</strong>, and <br> <strong>Add directory to the project</strong> (as a content root)</li></ul> </li><li>The IDE has switched its platform to the <a href="https://www.jetbrains.com/idea/nextversion/" rel="nofollow">new version</a>.</li></ul><p>For more details, read the <a href="https://blog.jetbrains.com/go/2017/09/28/gogland-eap-15-inspections-intentions-performance-intellij-2017-3-and-more/" rel="nofollow">blog post</a>.</p>

Viewing all articles
Browse latest Browse all 72158

Trending Articles