SQUASHED BUGS
- Fixed error message "bad exception"!
CHANGES
- Added a switch to English.
- Changed the dislocation of settings: they are now in the "Extensions" section.
SQUASHED BUGS
- Fixed a bug that made it impossible to open the settings menu.
Polacy są teraz z nami!
CHANGES
- Added Polish language.
A magyarok már veled vannak!
CHANGES
- Fixed infinite idling bug when using another language.
- Added Hungarian language.
Welcome to the year 2021!
CHANGES
- The new design is just a cannon!
- Added VB files.
SQUASHED BUGS
- Fixed an error identifying a file with the .C extension
Русские теперь с вами!
CHANGES
- Added translation system.
- Added Russian language.
FAST AS FUCK!
CHANGES
- Huge optimizations.
- Added license, and changelog to installer and more info url.
- Made changelog more excited.
WEW!
SQUASHED BUGS
- Fixed wrong icon when idling.
- Fixed icon staying on secret mode.
- Timestamp resetting when enabled if changed to a window with no document.
- Fixed CMake shown as text document.
Code change
before
string[] key = null;
foreach (string[] langkey in Languages.Keys)
if (Array.IndexOf(langkey, document != null ? Path.GetExtension(document.FullName).ToLower() : string.Empty) > -1 || Array.IndexOf(langkey, Path.GetFileName(document != null ? document.FullName : string.Empty)) > -1)
key = langkey;
bool supported = key != null && Languages.ContainsKey(key);
Assets = new Assets()
{
LargeImageKey = Settings.largeLanguage ? supported ? Languages[key][0] : "text" : ideVersionProperties[1],
LargeImageText = Settings.largeLanguage ? supported ? Languages[key][1] : "Unknown document type" : $"Visual Studio {ideVersionProperties[1]}",
SmallImageKey = Settings.largeLanguage ? ideVersionProperties[0] : supported ? Languages[key][0] : "text",
SmallImageText = Settings.largeLanguage ? $"Visual Studio {ideVersionProperties[1]}" : supported ? Languages[key][1] : "Unknown document type"
};
after
string[] language = new string[] { };
if (document != null)
{
string filename = Path.GetFileName(document.FullName).ToLower();
string ext = Path.GetExtension(filename);
List<KeyValuePair<string[], string[]>> list = Languages.Where(lang => Array.IndexOf(lang.Key, filename) > -1 || Array.IndexOf(lang.Key, ext) > -1).ToList();
language = list.Count > 0 ? list[0].Value : new string[] { };
}
bool supported = language.Length > 0;
Assets = new Assets()
{
LargeImageKey = Settings.largeLanguage ? supported ? language[0] : "text" : $"vs{ideVersion}",
LargeImageText = Settings.largeLanguage ? supported ? language[1] : "Unrecognized extension" : $"Visual Studio {ideVersion}",
SmallImageKey = Settings.largeLanguage ? $"vs{ideVersion}" : supported ? language[0] : "text",
SmallImageText = Settings.largeLanguage ? $"Visual Studio {ideVersion}" : supported ? language[1] : "Unrecognized extension"
};
STOP HIDING YOUR SECRETS!
CHANGES
- Better perfomance.
- Added secret mode.
- Added load on startup toggle.
WHOOPS!
SQUASHED BUGS
- Fixed reverse order of state and details.
- Fixed full path of solution to state.
WHOOPS! HOW DID THAT HAPPEN?
SQUASHED BUGS
- Fixed file name not shown.
SQUACKY CLEAN!
CHANGES
- Code cleanup.
- Proper activity log logging.
- Added Rust, TOML and Lua.
- Fixed icons being cut off.
UH OH!
SQUASHED BUGS
- Fixed extension crashing on Visual Studio 2017.
FANTASTIC!
CHANGES
- Added language formatting, proper name will be shown as text.
- Code cleanup.
- Text document icon will now display instead of Visual Studio icon when editing a file that is not supported.
HOW DID THAT HAPPEN?
SQUASHED BUGS
- Visual Studio crashes on disable.
RAZOR SHARP!
CHANGES
- Added cshtml and razor file types.
GOOD BYE DEPRECATED SHIT!
CHANGES
- Now using lachee's Discord Rich Presence library!
- New improved icons.
- More file types.
- Optimized code.
MHM
SQUASHED BUGS
- Rich Presence timestamp will reset on settings change.
REWRITEN BETTER!
CHANGES
- New settings window, for faster settings change.
- Project now initializes the rich presence for the current document on startup.
- Removed unnessesary assigning of null presence on startup.
- Added icon.
- Better presence icons.
YEET
SQUASHED BUGS
- Rich Presence will stop working after switching to a non-editor window.