<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Machine Setup on jen20.dev</title>
    <link>https://jen20.dev/tags/machine-setup/</link>
    <description>Recent content in Machine Setup on jen20.dev</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <managingEditor>hello@jen20.com (James Nugent)</managingEditor>
    <webMaster>hello@jen20.com (James Nugent)</webMaster>
    <lastBuildDate>Thu, 02 Apr 2020 08:00:00 -0500</lastBuildDate>
    <atom:link href="https://jen20.dev/tags/machine-setup/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Completion of Generated Code in IntelliJ Rust</title>
      <link>https://jen20.dev/post/completion-of-generated-code-in-intellij-rust/</link>
      <pubDate>Thu, 02 Apr 2020 08:00:00 -0500</pubDate><author>hello@jen20.com (James Nugent)</author>
      <guid>https://jen20.dev/post/completion-of-generated-code-in-intellij-rust/</guid>
      <description>&lt;p&gt;Recently, I&amp;rsquo;ve been doing a lot of work with &lt;a href=&#34;https://github.com/hyperium/tonic&#34;&gt;Tonic&lt;/a&gt;, a Rust implementation of&#xA;the &lt;a href=&#34;https://grpc.io&#34;&gt;gRPC&lt;/a&gt; protocol. Like many implementations of gRPC, Tonic generates code from&#xA;the protocol buffers definitions at build time using the &lt;code&gt;tonic-build&lt;/code&gt; crate in a Cargo&#xA;build script, and by default puts them in the path referred to by &lt;code&gt;OUT_DIR&lt;/code&gt;. This has&#xA;the unfortunate side effect that tooling such as &lt;a href=&#34;https://intellij-rust.github.io&#34;&gt;&lt;code&gt;IntelliJ Rust&lt;/code&gt;&lt;/a&gt; does&#xA;not see the generated code for the purposes of analysis and completion - something very&#xA;useful for the verbose generated protocol buffers code - unless you take some additional&#xA;steps.&lt;/p&gt;</description>
    </item>
    <item>
      <title>User-level Git Exclusions</title>
      <link>https://jen20.dev/post/user-level-gitignore/</link>
      <pubDate>Fri, 11 Sep 2015 17:00:00 +0000</pubDate><author>hello@jen20.com (James Nugent)</author>
      <guid>https://jen20.dev/post/user-level-gitignore/</guid>
      <description>&lt;p&gt;I recently adopted &lt;a href=&#34;https://www.jetbrains.com/idea/&#34; title=&#34;IntelliJ IDEA&#34;&gt;JetBrains IntelliJ IDEA&lt;/a&gt; IDE with the&#xA;rapidly-improving &lt;a href=&#34;https://github.com/go-lang-plugin-org/go-lang-idea-plugin&#34; title=&#34;Go Plugin for IntelliJ&#34;&gt;Go plugin&lt;/a&gt; for working on Go code (of course using&#xA;&lt;a href=&#34;https://github.com/JetBrains/ideavim&#34; title=&#34;IdeaVim&#34;&gt;IdeaVim&lt;/a&gt;!). I&amp;rsquo;ll post more about using IntelliJ as an IDE for Go in&#xA;future (it recently grew support for debugging using Delve), but the only&#xA;downside for me so far is that it generates a directory in each project you&#xA;work in to contain caches and so forth.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
