From 40fdabd9bfcea0214e1f994b0a816df60a9f7c2f Mon Sep 17 00:00:00 2001 From: WMJ Date: Thu, 6 Jul 2023 09:32:19 +0800 Subject: [PATCH] Version 7.6 --- Codist/Config.cs | 2 +- Codist/Properties/AssemblyInfo.cs | 4 ++-- Codist/source.extension.vsixmanifest | 2 +- README.md | 23 +++++++++++++++++++++-- 4 files changed, 25 insertions(+), 6 deletions(-) diff --git a/Codist/Config.cs b/Codist/Config.cs index 8d049002..216563ef 100644 --- a/Codist/Config.cs +++ b/Codist/Config.cs @@ -15,7 +15,7 @@ namespace Codist { sealed class Config { - internal const string CurrentVersion = "7.5.0"; + internal const string CurrentVersion = "7.6.0"; const string ThemePrefix = "res:"; const int DefaultIconSize = 20; internal const string LightTheme = ThemePrefix + "Light", diff --git a/Codist/Properties/AssemblyInfo.cs b/Codist/Properties/AssemblyInfo.cs index 263bf132..186170e4 100644 --- a/Codist/Properties/AssemblyInfo.cs +++ b/Codist/Properties/AssemblyInfo.cs @@ -10,6 +10,6 @@ [assembly: AssemblyCopyright("Copyright WMJ, 2023")] [assembly: AssemblyTrademark(nameof(Codist))] [assembly: ComVisible(false)] -[assembly: AssemblyVersion("7.5.0.0")] -[assembly: AssemblyFileVersion(Codist.Config.CurrentVersion + ".8900")] +[assembly: AssemblyVersion("7.6.0.0")] +[assembly: AssemblyFileVersion(Codist.Config.CurrentVersion + ".9000")] [assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] \ No newline at end of file diff --git a/Codist/source.extension.vsixmanifest b/Codist/source.extension.vsixmanifest index 8a3f1458..7e5ec372 100644 --- a/Codist/source.extension.vsixmanifest +++ b/Codist/source.extension.vsixmanifest @@ -1,7 +1,7 @@  - + Codist A C# programmer's productivity booster which enhances syntax highlighting, quick info (tooltip), navigation bar, scrollbar, display quality, and brings automatically updated version numbers, smart tool bar with advanced editing, code analysis and refactoring commands to code editor. https://github.com/wmjordan/Codist diff --git a/README.md b/README.md index ee0ad8ae..0441e25b 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ Check out this list to see what _Codist_ can do for you. * [Auto Changing Version Numbers](#auto-changing-version-numbers) * [Display Enhancements](#display-enhancements) * [Jump List Shortcuts](#jump-list-shortcuts) +* [Auto Pair Punctuations](#auto-pair-punctuations) * [Codist in Your Language](#codist-in-your-language) * [Others](#other-features) * [Comprehensive Configurations](#feature-control) @@ -507,12 +508,30 @@ By checking the check boxes started with "Hide...", it is possible to hide some Jump List is a menu section that appears when you right click the Visual Studio button on the task bar. It lists your recently opened solutions, projects or documents. -From version 6.3 on, Codist can add three shortcuts to that list when you check the _Jump List Shortcuts_ option. Those shortcuts start Visual Studio in a special mode. +If you are using Open-Shell or other similar Start Menu applications, Codist can add three shortcuts to the Quick Start list of Visual Studio when you check the _Jump List Shortcuts_ option. Those shortcuts start Visual Studio in a special mode. -1. *No scaling mode*: disables DPI-awareness of Visual Studio and let you design WinForm applications with 100% scaling. +1. *Non-scaling mode*: disables DPI-awareness of Visual Studio and let you design WinForm applications with 100% scaling. 2. *Safe mode*: disables most extensions in Visual Studio. If an extension keeps crashing the development environment, you can use the Safe mode to enter Visual Studio to disable or uninstall it. 3. *Presentation mode*: opens a particular instance of Visual Studio which has its own settings and layouts. +## Auto Pair Punctuations + +From version 7.6 on, Codist can automatically "pair" punctuations around selections. + +To make this work, follow the steps below: +1. Check the _Auto Pair Punctuation_ option in the option page, which is off by default. +2. Select some text in the code editor. +3. Type an "opening" punctuation, for instance, `(`, `<`, `{`, `[`, `"` or `'`. +4. When this option is turned off, the typed character will replace the selection; when this option is turned on, typed character will be inserted in front of the selection, and their counterpart--that is, `)`, `>`, `}`, `]`, `"` or `'`--will be appended behind the selection. For example, if you select `abc` in the code, and type `"`, you will get `"abc"`; if you select `x + y` in the code, and type `(`, you will get `(x + y)`. +5. Once the first character is typed, + a. If you actually want the typed character to replace the selection, press the _Delete_ or _Backspace_ key, the selection and the automatically inserted counterpart will be erased; + b. If more characters are to be inserted after the first character, just keep typing, the not-yet-removed content as well as the punctuation counterpart will be replaced. + c. If the automatically inserted paired punctuation is what you need, that is what you get now. +6. When we edit Markdown documents, the \`, `*`, `_` and `~` are also auto-paired. +7. For Chinese users, Chinese full width punctuations are also auto-paired. + +You can always turn off this feature by unchecking the _Auto Pair Punctuation_ option in the option page. + ## Codist in Your Language It is possible to localize _Codist_ to other language. Simplified Chinese (简体中文) and English are provided by default.