<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Roasted Code - Medium]]></title>
        <description><![CDATA[Journal of a Finnish Software Developer - Medium]]></description>
        <link>https://medium.com/roasted-code?source=rss----9034ca471e80---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Roasted Code - Medium</title>
            <link>https://medium.com/roasted-code?source=rss----9034ca471e80---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 14:48:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/roasted-code" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Adding custom spell check dictionaries to Git with IntelliJ IDEs]]></title>
            <link>https://medium.com/roasted-code/adding-custom-spell-check-dictionaries-to-git-with-intellij-ides-7d499b8e891b?source=rss----9034ca471e80---4</link>
            <guid isPermaLink="false">https://medium.com/p/7d499b8e891b</guid>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Oskari Leppäaho]]></dc:creator>
            <pubDate>Wed, 13 Sep 2017 11:42:07 GMT</pubDate>
            <atom:updated>2017-09-13T11:42:06.468Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been writing this small Android Widget as a hobby project for some time now. I wanted to make the project just perfect so I was working through the Android Studio warnings fixing or suppressing them as appropriate. (Fun fact, seems that you have to go through <strong>Analyze -&gt; Inspect Code…</strong> to see the warnings in Android Studio. Just running the project on a phone always gives me 0 warnings, I assume that those are just Gradle warnings.) Android Studio is based on the IntelliJ IDE platform so I imagine that this stuff should work the same way across all the other IntelliJ based IDEs.</p><p>There were some spelling warnings for words like Gson (a Google Json parsing library) and my name that I used as the package name domain. I figured that probably the best way to deal with these would be using the “Save to dictionary” button offered by Android Studio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*bl56scFh-fzaT98HkT4Xyw.png" /></figure><p>Saving the word to dictionary would generate an oskari.xml file under .idea/dictionaries/with the added words. I added this to Git but wanted to still verify that just adding that file is enough to get the custom accepted words would be applied also applied on another machine after pulling the project from Git. And it was good to check because the words weren’t actually flagged as typos on the other machine again despite having the dictionary xml file. The <a href="https://www.jetbrains.com/help/idea/spellchecking.html">documentation</a> on this feature is pretty limited so it took quite a lot of trial and error to understand how the system works. First I tried searching for references to the dictionary xml file in workspace.xml, but what I needed to do in the end was to reopen Android Studio (<strong>File -&gt; Invalidate Caches / Restart…</strong> is a quick way to do that).</p><p>I also wanted to rename the dictionary file to reflect that it’s associated to the project, not me as a user. That worked otherwise fine, but seems that Android Studio always adds the new words to a file named with the username and generates that file if it doesn’t exist. That’s pretty silly as this will generate a new file for each contributor in the project. But as a workaround you can just modify the dictionary file by hand instead of using the “Save to dictionary” button (just remember to reopen Android Studio for the changes to take effect 🙄).</p><p>Often it seems also that even if you remove an entry from the dictionary file the word still doesn’t start being recognized as a typo even if you restart the IDE. Seems that the entries are cached in an IDE configuration file which is located at %USERPROFILE%/.AndroidStudio2.3/config/options/cachedDictionary.xmlon my machine. Deleting this file and restarting the IDE would result in the words getting recognized as typos again.</p><p>I think the IntelliJ spell check configuration could use some love to improve it’s usability. It would be nice to have the changes on the dictionaries immediately take effect and I wouldn’t cache them outside the project. And making the custom dictionaries user specific when adding words with the GUI is bound to leave things as a mess.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d499b8e891b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/roasted-code/adding-custom-spell-check-dictionaries-to-git-with-intellij-ides-7d499b8e891b">Adding custom spell check dictionaries to Git with IntelliJ IDEs</a> was originally published in <a href="https://medium.com/roasted-code">Roasted Code</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[So Git does support symlinks on Windows]]></title>
            <link>https://medium.com/roasted-code/so-git-does-support-symlinks-on-windows-4dbfeda86679?source=rss----9034ca471e80---4</link>
            <guid isPermaLink="false">https://medium.com/p/4dbfeda86679</guid>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[symlink]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Oskari Leppäaho]]></dc:creator>
            <pubDate>Thu, 24 Aug 2017 11:50:53 GMT</pubDate>
            <atom:updated>2017-08-24T11:50:53.449Z</atom:updated>
            <content:encoded><![CDATA[<p>My previous workplace was using symlinks heavily in their source code. This was one of the reasons that nobody would work on a Windows machine, because it was just thought to be too much hassle to get the project compiling.</p><p>But it turns out that symlinks have been supported by Git also on Windows for some time already. There are some steps that you need to successfully clone a repository with Mac OS/Unix style symlinks:</p><ul><li>Have a recent enough version of Git installed.</li><li>Enable the `core.symlinks` setting.</li><li>Clone the repository as an Admin (Windows doesn’t allow creating symlinks as a regular user by default).</li></ul><p>Now you should be all set!</p><p>More information available for example in the <a href="https://github.com/git-for-windows/git/wiki/Symbolic-Links">Git for Windows wiki</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4dbfeda86679" width="1" height="1" alt=""><hr><p><a href="https://medium.com/roasted-code/so-git-does-support-symlinks-on-windows-4dbfeda86679">So Git does support symlinks on Windows</a> was originally published in <a href="https://medium.com/roasted-code">Roasted Code</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>