1. 03 4月, 2017 3 次提交
    • J
      Editor refactor (#2780) · fbf7ea0c
      Jared Hester 提交于
      * split out language service into dedicated dir
      
      * dedicated extensions module
      
      * trim pervasive
      
      * rename constants
      
      * symbols module
      
      * typedastutils module
      
      * FSharpChecker extensions
      
      * rename roslyn helpers
      
      * editor rename cleanup
      
      * fix test renaming
      fbf7ea0c
    • J
      Quickinfo Tooltip and GotoDefinition Navigation Improvements (#2683) · 7360d04b
      Jared Hester 提交于
      * full type name in tooltip, provisional tab preferred
      
      * more entities made navigable
      
      * use IGoToDefinition service
      
      * this is used only here
      
      * MEF import FSharpGotoDefinitionService into QuickInfoProvider
      
      * speed up gotoDefinition
      
      * additional GotoDefn navigation strategies
      
      * quickinfo navigation stays in its lane
      
      tooltip from .fsi links to .fsi
      tooltip from .fs links to .fs
      quick navigation if no redirect is necessary
      
      * fix unittests
      
      * restore recursive matchingDoc
      
      * asynchronous navigation from tooltips
      
      * fix cross project .fs -> .fs and .fsi -> .fsi Navigation
      
      * cleanup and extra documentation
      
      fixed bug in cross project .fs -> .fs navigation
      
      * missed this one
      
      * gotodefinition sig <-> impl at declaration location
      
      * fix async workflow
      
      * animate status bar search and timeout on msgs
      
      * Better links styling
      
      * integrate sig doccoms
      
      * fix error introduced by prior merge
      
      * fixed invalid type access in `getUnusedOpens`
      
      * fix invalid span bug in `symbolIsFullyQualified`
      
      * check if normalized doccom text matches
      
      * cleanup status bar usage
      
      * fix underline pen position, code cleanup and formatting
      
      * do not show links for symbol itself
      7360d04b
    • V
      cb0b4074
  2. 01 4月, 2017 1 次提交
  3. 31 3月, 2017 2 次提交
  4. 30 3月, 2017 1 次提交
  5. 29 3月, 2017 1 次提交
  6. 28 3月, 2017 5 次提交
    • V
      All symbols in completion (#2644) · e534e65e
      Vasily Kirichenko 提交于
      * wip
      
      * port Roslyn's C# completion triggering logic as is
      
      * fixed: completion do not trigger at all
      
      * fix position
      
      * fix a test
      
      * do not provide completion on certain places
      
      * fix muting completion on Named(Wild) pat in binding
      
      * do not provide completion on ctor / lambda parameter names + tests
      
      * fix binding traversing in completion
      
      * fix tests
      
      * fix the last failing test
      
      * wip
      
      * wip
      
      * fix compilation
      
      * the list kind of works
      
      * try to add open (fake)
      
      * insert fake open statement
      
      * works for dummy ns insert position
      
      * it works (draft)
      
      * wip
      
      * pass proper namespace to open
      
      * do not suggest operators
      
      prefer already resolvable items
      
      * fix compilation
      
      * fix
      
      * filter out unqualified types if there are same normal ones (UnqualifiedType (tcRef1 :: _) is equal to TType.Type_app (_, tcRef1) is tcRef1 = tcRef2)
      
      * fix compilation
      
      * do not open Microsoft.FSharp.xxx namespaces
      
      add mandatory qualifier, which makes completion works for symbols like `Printf.kprintf`
      
      * fix bugs
      
      * wip
      
      * wip
      
      * Revert "wip"
      
      This reverts commit fe3247e08fccabc00242f658282565f568eb2f3b.
      
      * fixing bugs with RCA modules
      
      * bug fixing
      
      * fix filter text
      
      * optimize completion list sorting
      
      * code cleanup and doc
      
      * defer getting all entities (do not get them after dot completion at all)
      
      * fix compilation
      
      * remove dead code
      
      * rename RawEntity to AssemblySymbol and use FSharpSymbol instead of Item in it
      
      * do not call getAllSymbols unless necessary (now for real)
      
      * AssymblySymbol -> AssemblySymbol
      
      * add completion for keywords
      
      * order completion items by IsResolved property
      
      * add CompletionContext.OpenDeclaration, remove IsAtOpenDeclaration ad-hoc filtering
      
      do not show keywords at open declaration position
      e534e65e
    • S
    • S
    • J
      Use Nuget for VSSDK Packages and upgrade to stable package versions (#2698) · d8253cc4
      Jared Hester 提交于
      * parameterize config with envars, vssdk nuget
      
      - 'RoslynVSBinariesVersion' will also set the nuget version number
      - add nuget packages for VSSDK references to config
      
      * change vssdk refs in projects to nuget packages
      
      * envars in config files prevent proper restore, back to raw strings
      
      * fix projectaggregator paths
      
      * fix package compatibility issues with extern alias
      
      * added missing references
      
      * fix VisualStudio.Shell version conflicts with extern alias
      
      * only use VSShell15 for ProjectSystem.Base
      
      * build successful using all nuget VSSDK packages
      
      * update proto package refs
      
      * fix typo
      
      * align package versions
      
      * remove aliases from LanguageService.Base
      
      unnecessary after removing reference to VisualStudio.Shell.14.0
      
      * removed unneeded references, aligned more refs
      
      * align netcore packages, fix json formatting
      
      * add pkg ref for Compiler.Server.Shared build
      
      * update Microsoft.Build packages
      
      * use VSSDK buildtools package for F# VSIX
      d8253cc4
    • V
  7. 21 3月, 2017 1 次提交
    • J
      Clickable QuickInfo with "go to type" (#2574) · 13abe6f3
      Jakub Majocha 提交于
      * custom tooltip test
      
      * tagClass augmented
      
      * kinda works
      
      * getting there
      
      * module, alias
      
      * not sure if works
      
      * fix build
      
      * go away!
      
      * parens out
      
      * halleluyah it builds
      
      * blank space on empty doc removed
      
      * more sensible
      
      * handle linked files
      
      * collapse empty TextBlocks
      
      * styling, simple tooltip, handle scripts
      
      * dismiss quickinfo on navigation
      
      * reliably dismiss quickinfo session
      
      * interface instead of boxing
      13abe6f3
  8. 19 3月, 2017 1 次提交
    • G
      Add non-regression test for backtick member completion (#2660) · f78fee32
      Gauthier Segay 提交于
      as I had to chase down where `and CompletionItem = string * string * (unit -> string) * DeclarationType` was originating from, I had to make it a single case DU to find places which would break and eventually find the source (Salsa.Privates.SimpleOpenFile.AutoCompleteAtCursorImpl); I think having it as a DU is better, and we should avoid type alias over mere tuples as finding their source is difficult.
      
      I had to surface "nameInCode" into CompletionItem to add my test.
      
      I added AssertCtrlSpaceCompletion taking higher order function to enable arbitrary checks on the completion lists.
      f78fee32
  9. 18 3月, 2017 1 次提交
  10. 17 3月, 2017 1 次提交
  11. 16 3月, 2017 2 次提交
    • V
      Trigger completion optimistically (#2594) · 4fd3f3e9
      Vasily Kirichenko 提交于
      * port Roslyn's C# completion triggering logic as is
      
      * fixed: completion do not trigger at all
      
      * fix position
      
      * fix a test
      
      * do not provide completion on certain places
      
      * fix muting completion on Named(Wild) pat in binding
      
      * do not provide completion on ctor / lambda parameter names + tests
      
      * fix binding traversing in completion
      
      * fix tests
      
      * fix the last failing test
      
      * "trigger completion after a character is typed" setting in a new completion property page
      
      * force intellisense property page loading
      
      * do not commit completion on space in auto triggering mode
      
      * fix completion list ordering
      4fd3f3e9
    • J
      Use Primary GUID when opening items from SolutionExplorer (#2606) · 5f151a29
      Josh Varty 提交于
      * Use Primary GUID when opening items from SolutionExplorer
      
      * Declare LogicalViews our EditorFactory can handle
      5f151a29
  12. 13 3月, 2017 1 次提交
    • V
      Fix completion list ordering (#2583) · 40e95b22
      Vasily Kirichenko 提交于
      * fix getting type of lhr
      
      * add a test
      
      * fix completion items ordering
      
      * Revert "add a test"
      
      This reverts commit 5a57cb470aeb995cd7a4b41695c13b185f172f2c.
      
      * rewrite items ordering, add tests
      
      * extension methods are shown at the bottom of completion list and they don't participate in MRU hints logic
      
      * shorter sort text
      40e95b22
  13. 10 3月, 2017 1 次提交
  14. 09 3月, 2017 1 次提交
    • V
      Completion: better glyphs and proper items list ordering (#2532) · 6dde435c
      Vasily Kirichenko 提交于
      * add distinct list for priority completion items (wip)
      
      * Revert "add distinct list for priority completion items (wip)"
      
      This reverts commit a854f2646b682079c83841ac1cdb1595799b1197.
      
      * it works
      
      * smarter completion items ordering
      
      * show type's own instance methods and properties first
      
      * show type's own static methods and properties first
      
      * own IL fields are shown first
      
      * order fields, props, methods, events
      
      refactoring
      
      * simple MRU completion items priority
      
      * fix tests, normalize mru items hints, refactoring
      
      * fix priorities inside mru
      
      * completion items glyphs take accessibility into account, proper glyph for extension members
      
      * fix a test
      
      * fix completion item description ordering regression
      
      * rename GlyphMajor to FSharpGlyph and make it a union instead of enum
      
      remove GlyphMinor
      remove the old navbar and tests
      
      * minimize diff
      
      * make MRU list keyed by Item.FullName instead of DisplayName
      
      fix a bug with emptyArray.max
      
      * fixed: FullNameOfItem throws being called on Item.Types (TType.<anything but TType_app>)
      
      * fixed again: FullNameOfItem throws being called on Item.Types (TType.<anything but TType_app>)
      
      * fix stack overflow
      
      * fix tests
      
      * fix tests
      
      * fix tests
      
      * port rest of the code from priority-in-completion branch
      
      * minimize diff
      
      * fix wrong accessibility in CompletionItem
      6dde435c
  15. 08 3月, 2017 2 次提交
  16. 04 3月, 2017 2 次提交
    • V
      Fix wrong FSX colorization when #r directives change (#2521) · fc8e5af6
      Vasily Kirichenko 提交于
      * add logging
      
      * use TryGetOptionsForDocumentOrProject instead of TryGetOptionsForEditingDocumentOrProject in Classification Service to avoid passing stale options to FCS
      
      * Revert "add logging"
      
      This reverts commit 72b84216a7bdcf4be45f8ae8da7f1d31f1f0b086.
      fc8e5af6
    • V
      Do not suggest already opened namespaces and modules in "Add Open" code fix (#2515) · d9077c74
      Vasily Kirichenko 提交于
      * do not suggest already opened namespaces and modules in "Add Open" code fix
      
      * check if we can obtain symbol via GetSymbolAtLocation
      
      * Revert "do not suggest already opened namespaces and modules in "Add Open" code fix"
      
      This reverts commit a085f3976bac3038cca3804b247d5f71848714d2.
      
      Conflicts:
      	vsintegration/src/FSharp.Editor/CodeFix/AddOpenCodeFixProvider.fs
      d9077c74
  17. 02 3月, 2017 2 次提交
  18. 01 3月, 2017 3 次提交
    • V
      Quick Info: proper glyphs for namespaces, structures and operators (#2282) · 70ef6987
      Vasily Kirichenko 提交于
      * show proper glyphs for namespaces and structures
      
      * glyphs for literals and delegates
      
      * fix layout for struct records and unions
      
      * proto does not like Option.defaultValue
      
      * show [<Struct>] in layout instead of "struct" for struct records and DUs
      
      * show proper glyph for operators in QuickInfo
      
      * fix test compilation
      
      * layout `Measure` and `Struct` special attributes as types
      
      prettier records layout
      
      * fix a test
      
      * Revert records layout change
      
      * fix TypeChecker
      
      * do not print [<Struct>] for ordinary structures
      70ef6987
    • V
      Disable completion inside comments and excluded code (#2505) · 50838327
      Vasily Kirichenko 提交于
      * disable completion inside comments and excluded code
      
      refactoring
      
      * disable normal completion inside comments and excluded code
      
      * better include directive selection
      50838327
    • D
      Add signature file and fix 2498 (#2508) · df1276e1
      Don Syme 提交于
      * add signature file
      
      * fix 2489
      
      * another sig file
      
      * another sig file
      
      * error logger for GetProjectOptionsFromScript
      
      * fix build
      
      * fix build (2)
      df1276e1
  19. 28 2月, 2017 2 次提交
  20. 27 2月, 2017 2 次提交
  21. 25 2月, 2017 5 次提交