Skip to content

Version 7.0: C# Code Refactoring on Smart Bar

Compare
Choose a tag to compare
@wmjordan wmjordan released this 16 Dec 06:25
· 869 commits to master since this release

Quite a few new stuff is added to this release, especially the code refactorings provided in C# Smart Bar.
Just select some code, and the refactoring button will appear on the Smart Bar if any refactoring is available.

More improvements are listed below.

BTW, the development of Codist is paused, due to the out-breaking of COVID-19 in my country, China.
I hope that mankind will someday win the terrible coronavirus and I will be back to the development again.

What's New

  • General
    • Added google to default search engines (#226)
    • Fixed improper configuration saving after initial load (#229)
    • Added a command to call refactorings provided by Codist
  • Syntax Highlight
    • Made compatible with VS 17.5 preview
    • Added highlight style for private members
  • Resource Monitor
    • Added option to display network adapter throughput per second
    • Added hover to display top CPU usage processes to CPU monitor control
    • Added option to customize task manager that launched after clicking monitor controls
  • Super Quick Info
    • Added implementation or declaration type info in interface list (#222)
    • Changed behavior of the symbol signature icon in alternative style to display commands for generic type
    • Merged some C# Quick Info options about type inheritance
    • Displayed GetEnumerator method for foreach statement when hovering on in keyword
    • Enabled Click & Go for C# label
    • Added a new option to display all enum fields on C# Quick Info (#225)
      image
      image
    • Fixed symbol signature was not wrapped in C# Quick Info
    • Added fallback for a bug in Roslyn which prevented C# Quick Info from applying Click & Go for signature value nodes
  • Smart Bar
    • Displayed symbol analysis commands for type argument for generic types with arity=1
    • Enabled symbol analysis commands for predefined types on C# Smart Bar
    • Enabled reorder refactoring for argument type on C# Smart Bar
    • Enabled Extract Method refactoring when debugging
    • Optimized behavior of Join Lines command
    • Added quite a few refactoring methods to C# Smart Bar
      image
      image
    • Added a new command to select all occurrences of current symbol in active document
      image
    • Added Copy without Indentation mode to the Copy command
      image
      For instance, select the following code, which is indented with 4 preceding tabs, then press Ctrl before clicking the copy button.
				if (line.Extent.IsEmpty) {
					spans.Add(line.Extent);
				}

Result:

if (line.Extent.IsEmpty) {
	spans.Add(line.Extent);
}
  • Symbol Analysis Menu
    • Changed style of symbol name in symbol analysis menu
  • Navigation Bar
    • Menu would pop up from wrong window when document windows were arranged with keyboard (#228)
    • Added unit test commands to C# NaviBar nodes
    • Made Ctrl+Clicking on type nodes on C# NaviBar to go to type definition (#233 )