<commit_before>using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using UnityEditor;
using UnityEngine;
using Debug = UnityEngine.Debug;

namespace Assets.Plugins.Editor.JetBrains
{
  [InitializeOnLoad]
  public static class RiderPlugin
  {
    private static readonly string SlnFile;
    private static readonly string DefaultApp = EditorPrefs.GetString("kScriptsDefaultApp");
    public static readonly bool IsWindows;

    internal static bool Enabled
    {
      get
      {
        if (string.IsNullOrEmpty(DefaultApp))
          return false;
        return DefaultApp.ToLower().Contains("rider"); // seems like .app doesn't exist as file
      }
    }
<commit_msg>Fix an issue that Rider is still used, even after disabling it.<commit_after>using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using UnityEditor;
using UnityEngine;
using Debug = UnityEngine.Debug;

namespace Assets.Plugins.Editor.JetBrains
{
  [InitializeOnLoad]
  public static class RiderPlugin
  {
    private static readonly string SlnFile;
    private static readonly string DefaultApp
    {
      get { return EditorPrefs.GetString("kScriptsDefaultApp"); }
    }
    
    public static readonly bool IsWindows;

    internal static bool Enabled
    {
      get
      {
        if (string.IsNullOrEmpty(DefaultApp))
          return false;
        return DefaultApp.ToLower().Contains("rider"); // seems like .app doesn't exist as file
      }
    }

{'fraction_non_alphanumeric': 0.07706535141800247, 'fraction_numerical': 0.0, 'mean_word_length': 3.4710743801652892, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6948483', 'n_tokens_mistral': 442, 'n_tokens_neox': 446, 'n_words': 133}