1. 15 4月, 2017 1 次提交
    • J
      Settings store and Text Editor option pages (#2805) · 9a6ac3da
      Jakub Majocha 提交于
      * settings store and editor options
      
      * show CLIMutable record use, guid constants
      
      * saner composition
      
      * fix CompletionProvider tests
      
      * fix public surface area
      
      * localization
      
      * move xaml into separate project
      
      * updated vsintegration readme
      
      * correct type in change handler
      
      * use Newtonsoft's PopulateObject for cheap schema evolution
      
      * cleanup added project
      
      * Revert "cleanup added project"
      
      This reverts commit 163ebdaabc0d3b206fc436b0b47a622f91e20658.
      
      * cleanup, another attempt
      9a6ac3da
  2. 28 3月, 2017 1 次提交
    • 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
  3. 16 3月, 2017 1 次提交
    • 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
  4. 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
  5. 01 1月, 2017 1 次提交
  6. 30 12月, 2016 1 次提交
    • D
      fix syntax errors and transitive errors in scripts (#1963) · ee84eb77
      Don Syme 提交于
      * fix 1962
      
      * fix warnings
      
      * simplify diagnostics processing
      
      * simplify diagnostics processing (2)
      
      * remove project
      
      * fix build
      
      * fix build
      
      * fix build
      
      * fix build
      
      * merge master
      
      * fix build of tests
      
      * fix error flag
      
      * fix tests and build
      
      * fix tests
      
      * fix test
      
      * test diagnostic
      
      * fix isError mistake and clarify namings Error --> Diagnostic
      ee84eb77
  7. 04 12月, 2016 1 次提交
  8. 28 11月, 2016 2 次提交
    • D
      Get correct options for scripts (#1865) · d77ebe0c
      Don Syme 提交于
      Prior to this, we never update the compiler options stored for scripts. This means that as you add #r or #load the compilation options aren't updated.
      
      This PR updates the options in the semantic analysis phase. We can't update them on every request for options because it is too expensive.
      
      This fixes some aspects of #1808 but the underlying problem of not reacting to file update events in dependencies is not fixed.
      d77ebe0c
    • D
      Signature help for VS2017 (#1855) · 0988f1fe
      Don Syme 提交于
      This implements signature help (method overload tips and parameter info). #1767. Also fixes #1856
      
      This is mostly just wiring up the necessary things and copying across some of the nitty-gritty detail from the old language service. Some additional information was propagated such as HasParamArrayArg.
      0988f1fe
  9. 25 11月, 2016 1 次提交
    • D
      Fix colorization speed in large files (#1829) · bfe4086c
      Don Syme 提交于
      Fixes #1821
      
      Incremental colorization was not being effective on changing files for a number of reasons
      •Data cache was keyed by source text rather than document ID
      •We were writing None entries right through to end-of-file even when we could stop earlier
      •We weren't checking that start-of-line indexes and lex states were still the same when reusing entries
      •Tokenizers getting recreated for each line - we can cache these as well.
      
      I've tried the PR out on large files and it works much more efficiently.
      
      Also a fix to make  ShouldTriggerCompletionAux  faster in the common case where not pressing  . 
      
      This also fixes glyphs: #1806. Public/private/protected is not yet propagated to the glyph but this gives us feature parity with VS2015
      bfe4086c
  10. 15 9月, 2016 1 次提交