1. 31 7月, 2019 3 次提交
  2. 13 6月, 2019 1 次提交
    • A
      Allow Inline Rename to also apply a file rename (#36041) · d516b661
      Andrew Hall 提交于
      When doing inline rename on a named type (interface, enum, or class) show a checkbox to also rename the file.
      
      The checkbox will always show if the kind supports file rename
      
      The checkbox will be disabled if any of the following is true:
      - The type is a partial type with multiple definition locations
      - The type does not currently match the file name
      
      Extend ISyntaxFactsService to add IsTypeDeclaration
      Implement file rename as part of conflict resolution for inline rename. This will allow other features to do file rename that also use the conflict resolver, all they need to do is set the correct option.
      d516b661
  3. 17 5月, 2019 1 次提交
  4. 15 3月, 2019 1 次提交
    • H
      added partial load mode feature flag and made extract method to handle partial load mode. (#33779) · 15599ef8
      Heejae Chang 提交于
      * added partial load mode feature flag and made extract method to handle partial load mode.
      
      when solution is opened in VS, currently we do not know when exactly solution is fully loaded or not. solution explorer might show all files but design time build might not have finished yet so, any semantic operation such as extract method or rename might do wrong thing since it doesn't know that it is dealing with missing information (solution).
      
      we are trying to address this issue with partial load mode, new API platform is working on. basically, we are planning to block most of semantic operations (except completion/quickinfo/goto definition/signature help and navigate to. we might include FAR here as well) during partial load state.
      
      also, for things like squiggle, LB and etc, we will disable those until solution is fully loaded since we don't actually know whether those data is correct or not during partial load state.
      
      this change add featureflag so that we can incrementally add support for each features while dogfooding behavior across partners. as a first attempt, extract method is choosen for new experience.
      
      other internal options are added so that we can try alternative behaviors and etc.
      
      test is not added yet.
      
      * fix merge break
      
      * update string
      
      * small tweak.
      
      * PR feedbacks
      
      * updated the title
      
      * updated after discussing about PR
      
      * do even cheaper version of getting text.
      
      addscope doesn't work with description with blank line when scope is nested. wait dialog seems supporting only 2 lines.
      
      until, I figure out this with platform team, making description one line.
      
      * following PR feedback
      15599ef8
  5. 15 2月, 2019 1 次提交
  6. 02 2月, 2019 1 次提交
  7. 01 2月, 2019 1 次提交
  8. 21 12月, 2018 1 次提交
    • J
      Add new classifications (#31231) · 98705450
      Joey Robichaud 提交于
      * Add Static Symbols classification
      * Add Namespace name classification
      * Add Label name classification
      * Add Overloaded Operator classification
      * Add Control Keyword classification
      * Updated TaggedText to work with the new classifications
      * Add common AbstractNameSyntaxClassifier class for sharing code
      98705450
  9. 27 11月, 2018 1 次提交
  10. 14 11月, 2018 1 次提交
  11. 01 11月, 2018 1 次提交
  12. 19 10月, 2018 1 次提交
    • C
      Do not crash ExtractMethod when we run into a dataflowanalysis result we... · 19d3a815
      CyrusNajmabadi 提交于
      Do not crash ExtractMethod when we run into a dataflowanalysis result we didn't account for. (#30554)
      
      * Do not crash when we run into a dataflowanalysis result we didn't account for.
      
      * Add comment.
      
      * remove
      
      * Improve error strings.
      
      * Simplify.
      
      * Assume the variable is read.
      
      * Add test.
      
      * KeyValueMessage.
      19d3a815
  13. 13 10月, 2018 1 次提交
    • J
      Explore options to allow users to add all missing imports (#29516) · 26558c07
      Joey Robichaud 提交于
      Added AddMissingImport CodeRefactoring driven by PasteTrackingService
      
      Added PasteTrackingService that handles the paste command and track
      paste information for documents. This paste information can be used
      by refactorings to make suggestions based on what was pasted.
      
      Fixes #10272
      26558c07
  14. 01 8月, 2018 1 次提交
  15. 28 7月, 2018 1 次提交
    • C
      Code Cleanup AB Test (#28625) · 5b2d1d28
      Cheryl Borley 提交于
      * Add AB tests for code cleanup
      revert the text change of Code_cleanup_is_not_configured, as the new text is not translated
      Only SettingIsAlreadyUpdatedByExperiment to ture for Group B; always show gold bar if user setting is changed in AB test
      5b2d1d28
  16. 17 7月, 2018 1 次提交
  17. 14 7月, 2018 1 次提交
  18. 07 7月, 2018 1 次提交
  19. 06 6月, 2018 1 次提交
    • C
      Code clean up (#26802) · d3a28d45
      Carol Hu 提交于
      * remove usings when format document
      
      * sort usings when format document
      
      * add code fix
      
      * hack fix for the issue with apply multiple changes.
      
      * refactoring
      
      * 3 changes
      
      1. put open file editorconfig change tracking back
      2. handle open file leaking when solution close with files opened case
      3. don't share locks between editorconfig events and roslyn events
      
      * skip the 'Remove unused variable' when format document
      
      * changed code fix part to use "fix all" and only fixes P1 list rather than fix everything in the document. also not apply changes to buffer until everything is done rather than doing it per fix.
      
      * made undo experience better
      
      * add expression body as one of fix to offer
      
      * add code fix options in format document settings
      
      * add hidden box IsCodeCleanupConfiguredCheckBox to track if the user ever configured the code cleanup
      
      * clean up
      
      * fix some tests
      
      * disable a test temporarily
      
      * PR comments
      
      * refactoring
      
      * Revert "3 changes"
      
      This reverts commit 7e0fd53f02a0e20d063440b3cce5569e51e71afc.
      
      * PR comments
      
      * PR comments
      
      * renaming
      
      * bug fixing
      
      * PR comments
      
      * refactoring
      
      * refactoring
      
      * refactoring
      
      * refactoring
      
      * Make ICodeCleanupService extend ILanguageService
      
      * refactoring
      
      * refactoring
      
      * fix deadlock, call Format inside CodeCleanupService
      
      * rename async methods
      
      * PR comments
      
      * move files under features
      
      * PR comments
      
      * PR comments
      
      * Never Show this again will never show the code cleanup info bar for this user.
      
      * rename
      
      * use ImmutableArray
      d3a28d45
  20. 26 4月, 2018 1 次提交
  21. 12 4月, 2018 1 次提交
  22. 25 1月, 2018 1 次提交
  23. 18 1月, 2018 1 次提交
  24. 12 12月, 2017 1 次提交
  25. 06 12月, 2017 1 次提交