<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Bear Su</title>
    <description>The latest articles on DEV Community by Bear Su (@timfanda35).</description>
    <link>https://dev.to/timfanda35</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F409894%2F2c2eb1b0-02cc-4b45-b03b-f32a57b041d6.png</url>
      <title>DEV Community: Bear Su</title>
      <link>https://dev.to/timfanda35</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/timfanda35"/>
    <language>en</language>
    <item>
      <title>RubyMine Auto Completion Freeze</title>
      <dc:creator>Bear Su</dc:creator>
      <pubDate>Sat, 02 Sep 2023 07:44:59 +0000</pubDate>
      <link>https://dev.to/timfanda35/rubymine-auto-completion-freeze-cp4</link>
      <guid>https://dev.to/timfanda35/rubymine-auto-completion-freeze-cp4</guid>
      <description>&lt;h2&gt;
  
  
  Problem
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.jetbrains.com/ruby/features/"&gt;JetBrains RubyMine&lt;/a&gt; is an IDE for Ruby development.&lt;/p&gt;

&lt;p&gt;RubyMine has the &lt;a href="https://www.jetbrains.com/help/ruby/auto-completing-code.html"&gt;Auto Completion&lt;/a&gt; feature.&lt;/p&gt;

&lt;p&gt;Recently, the RubyMine got stuck when the completion pop up on my macOS. I have to force close it from Activity Monitor.&lt;/p&gt;

&lt;p&gt;Restart RubyMine can not fix the issue.&lt;/p&gt;

&lt;h2&gt;
  
  
  Solve Progress
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Disable ML completion or EditorConfig support (Fail)
&lt;/h3&gt;

&lt;p&gt;I found the issue ticket: &lt;a href="https://youtrack.jetbrains.com/issue/IDEA-280095/IDEA-sometimes-complete-hangs-indefinitely-when-opening-autocomplete-modal"&gt;IDEA sometimes complete hangs indefinitely when opening autocomplete modal&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Disable ML completion&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--l1FpZjBX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e6gql7l2ddo7pnps3fgs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--l1FpZjBX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e6gql7l2ddo7pnps3fgs.png" alt="Disable ML completion" width="800" height="605"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Disable EditorConfig support&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--L8deU9rh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6rck351di94bt8rve0t4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--L8deU9rh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6rck351di94bt8rve0t4.png" alt="Disable EditorConfig support" width="800" height="605"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;They both do not fix the issue.&lt;/p&gt;

&lt;h3&gt;
  
  
  Clear RubyMine Cache (Works)
&lt;/h3&gt;

&lt;p&gt;I found the community post: &lt;a href="https://intellij-support.jetbrains.com/hc/en-us/community/posts/12843522069778-WebStorm-2023-2-hangs"&gt;WebStorm 2023.2 hangs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Follow the comment, I deleted the files under RubyMine Logs folder and restart RubyMine. But it does not work.&lt;/p&gt;

&lt;p&gt;Note：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Remember replace &lt;code&gt;&amp;lt;macOS Username&amp;gt;&lt;/code&gt; to your macOS Username.&lt;/li&gt;
&lt;li&gt;Remember replace &lt;code&gt;RubyMine2023.2&lt;/code&gt; to the version you are using.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/Users/&amp;lt;macOS Username&amp;gt;/Library/Logs/JetBrains/RubyMine2023.2/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I tried another comment: Delete the RubyMine &lt;code&gt;caches&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I deleted the files under RubyMine Caches folder and restart RubyMine.&lt;/p&gt;

&lt;p&gt;Note：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Remember replace &lt;code&gt;&amp;lt;macOS Username&amp;gt;&lt;/code&gt; to your macOS Username.&lt;/li&gt;
&lt;li&gt;Remember replace &lt;code&gt;RubyMine2023.2&lt;/code&gt; to the version you are using.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/Users/&amp;lt;macOS Username&amp;gt;/Library/Caches/JetBrains/RubyMine2023.2/caches/*
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then I fix the issue successfully.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://youtrack.jetbrains.com/issue/IDEA-280095/IDEA-sometimes-complete-hangs-indefinitely-when-opening-autocomplete-modal"&gt;IDEA sometimes complete hangs indefinitely when opening autocomplete modal&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://intellij-support.jetbrains.com/hc/en-us/community/posts/12843522069778-WebStorm-2023-2-hangs"&gt;WebStorm 2023.2 hangs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  My Blog
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://blog.bear-su.dev/"&gt;Bear Su's Blog(zh_tw)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jgJ97ccq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/di2jrbcop26soiemlc77.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jgJ97ccq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/di2jrbcop26soiemlc77.png" alt="Bear Su's Blog" width="300" height="157"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>issue</category>
      <category>rubymine</category>
      <category>jetbrains</category>
    </item>
  </channel>
</rss>
