1. 24 2月, 2016 9 次提交
    • B
      Changed UI layout and options · 993eaa0e
      Balaji Krishnan 提交于
      Changed the UI from combinations of radio buttons and check boxes to use
      just checkboxes. Also changed how the partitions of `use var` space was
      logically represented. We now present 3 options - use var on intrinsic
      types, use var where apparent, use var in rest of the places. If all 3
      are checked, we universally use var everywhere. If only one or a
      combination less than 3 are selected, we use var only in those places.
      An unchecked option means, user prefers explicit typing for that
      scenario.
      
      Not yet implemented : enforcement levels of the fix, fancy previews that
      show results for a combination of choices, integrating the options into
      code generation service.
      993eaa0e
    • B
      Remove RelayCommand, trying another UI approach · d185ecbf
      Balaji Krishnan 提交于
      Remove relay command implementation and usages in checkbox view model.
      trying another UI approach to make this simpler.
      d185ecbf
    • B
      Add RelayCommand to CheckBoxViewModel · 5ee5392f
      Balaji Krishnan 提交于
      Add RelayCommand to CheckBoxViewModel to enable/disable checkboxes in
      option preview control depending on the state of other controls. The
      StyleViewModel now makes use of this for Use Var feature.
      5ee5392f
    • B
      Refactor into abstract base class · 03c1a914
      Balaji Krishnan 提交于
      Refactor UseImplicitTyping and UseExplicitTyping Analyzers to use an
      abstract base class and share common functionalities. Also wire up
      options into unit tests.
      03c1a914
    • B
      Add options for use var codestyle · 687d34a3
      Balaji Krishnan 提交于
      add options to codestyle for use implicit or explicit typing
      analyzer/fixers.
      687d34a3
    • B
      Add a do not use var analyzer and code fix · a233cc35
      Balaji Krishnan 提交于
      Add an analyzer and fixer for using explicit type over var for C#. Plus,
      unit tests.
      a233cc35
    • B
      Is type apparent from RHS. · 40dc941e
      Balaji Krishnan 提交于
      Add logic to determine if return type information is obvious from the
      initializer expression of variable declaration. Currently it recognizes
      3 patterns - literals, object creation expressions and static helpers
      like `int.Parse`
      40dc941e
    • B
      initial tests for C# usevar. · 7c168cf0
      Balaji Krishnan 提交于
      shelving, edit this commit later.
      7c168cf0
    • B
      Initial implementation of `use var` for C# · f345e01c
      Balaji Krishnan 提交于
      Initial implementation of a diagnostic analyzer and codefixer for `use
      var` style in C#
      f345e01c
  2. 23 2月, 2016 2 次提交
  3. 20 2月, 2016 4 次提交
  4. 19 2月, 2016 1 次提交
    • V
      Suppressing inline temp refactoring on byref locals. · c7349324
      vsadov 提交于
      The feature needs to be properly implemented taking into account that variable is byref.
      For now disabling this refactoring if variable happen to be byref to avoid crash as described in #8416
      c7349324
  5. 18 2月, 2016 17 次提交
  6. 17 2月, 2016 7 次提交