Commit Graph
6507 Commits
Author SHA1 Message Date
Alex Ross 8ffc91c042 Merge pull request #64007 from DustinCampbell/update-csharp-grammar
Update C# TextMate grammar with latest fixes
2018-12-03 14:18:15 +01:00
Alex Ross bc916bb6af Added commit hash to cgmanifest.json 2018-12-03 11:29:00 +01:00
Alex Ross 92894195d0 Merge pull request #63759 from donaldpipowitch/patch-1
added .hintrc and moved .babelrc to jsonc grammar
2018-12-03 11:04:47 +01:00
Matt Bierner e42d74ce9a Fix completions for intellicode
IntelliCode uses `insertText`  on all of its suggestions. When completing properties, we were incorrectly assuming that only bracket suggestions would use `insertText`
2018-12-02 11:53:15 -08:00
Matt Bierner e39a97deb7 Fix snippet function call completions for intellicode 2018-12-02 11:53:15 -08:00
Erich Gamma cee0951b13 Enable Collapse All action in the npm script explorer 2018-11-30 10:25:41 +01:00
laphets 2e339afec3 Fix last merge conflict warnings 2018-11-30 09:16:19 +01:00
Matt Bierner 9878edb2a7 Pick up TS 3.2.1 final
Fixes #63179
2018-11-29 17:09:48 -08:00
Matt Bierner a3378e4342 Add pinning test for bracket completions 2018-11-29 17:09:48 -08:00
Matt Bierner c5afb50a5b Added test for #63100 2018-11-29 17:09:48 -08:00
Matt Bierner 06a64b097f Extract joinLines 2018-11-29 17:09:48 -08:00
Matt Bierner beb5998ea3 Correctly sort bracket accessor completions in js/ts completion list
Fixes #63100

As suggested in  #63100, always set the range for member completions and overwrite the dot
2018-11-29 15:09:44 -08:00
Matt Bierner e42051996b Don't trigger parameter hints when completing empty method
Fixes #64023
2018-11-29 12:03:36 -08:00
Matt Bierner f2348199e0 Update js/ts grammar 2018-11-29 11:42:42 -08:00
Matt Bierner 3f33ef2593 Support whitespace after dot for bracket completions
Fixes #64002
2018-11-29 10:44:27 -08:00
Matt Bierner 1feed6a23c Delete unused typings file 2018-11-29 10:44:27 -08:00
Dustin Campbell d27d752b6b Update C# TextMate grammar with latest fixes 2018-11-29 10:10:25 -08:00
Prabhanjan S Koushik e05aa178d6 Fix 63749 - Markdown, U+2028, and "Go to Symbol in File..." (#63936)
* fix-63749 - Added UNICODE_NEWLINE_REGEX

* fix-63749 - Removed .skip for the test method

* fix-63749 Moved Replace to parse
2018-11-29 09:09:36 -08:00
Matt Bierner cd5b4d1bb3 Use insertText as filterText for js/ts completions by default
For some completions—such as those provided
 by IntelliCode—the label results in the incorrect sort order. IntelliCode prefixes completion labels with a unicode star, which means they appear after the normal completions

This fix make sure we use the actual text to be inserted for filtering by default instead of the label
2018-11-28 19:05:40 -08:00
Matt Bierner 364824a864 use simpler typeof check 2018-11-28 19:01:22 -08:00
Matt Bierner 3c95fb7b9f Update js/ts grammars 2018-11-28 18:28:48 -08:00
Pine 2f51c4e17c Merge pull request #63958 from Microsoft/octref/web-component
html.experimental.custom.tags/attributes for Microsoft/vscode#62976
2018-11-28 16:42:09 -08:00
Pine Wu d198091b68 html.experimental.custom.tags/attributes for Microsoft/vscode#62976 2018-11-28 16:34:12 -08:00
Matt Bierner 5df76d3535 Highlight some basic markdown elements in js/ts fenced code blocks
Fixes #63942
2018-11-28 15:52:57 -08:00
Matt Bierner 247667c5bd Pick up updated markdown grammar 2018-11-28 13:47:35 -08:00
Peng Lyu 63710859e6 Merge pull request #63792 from vim88/fix_typo_in_comments
Fixes typo and occurrences of double words in comments.
2018-11-28 10:54:52 -08:00
Matt Bierner 9d2251469f Do not display errors in editor for cancelled js/ts code lenses
Fixes #63884

Resolving a code lenses may be cancelled if the document changes. This is normal and should not be displayed as an error in the editor
2018-11-27 17:11:07 -08:00
Matt Bierner 42145f1f0c Interupt TS references and implementations requests
Fixes #60213

These are low priority UI elements and should not block user ui requests that come in, such as completions
2018-11-27 16:48:11 -08:00
Matt Bierner 1a1987dee6 Revert "Delegate js/ts code lenses back to vs code"
This reverts commit dc47417f54.

We need finer control over how code lenses are resolved. This is required for #60213. Showing all references in the references code lense now requires using ts plugin instead
2018-11-27 16:48:11 -08:00
Matt Bierner 9e17c2c92c Pick up new TS insiders 2018-11-27 16:11:30 -08:00
Matt Bierner 9461f661f0 Interupt geterror requests for signature help requests
See 7eed623657 for more details
2018-11-27 15:12:10 -08:00
Matt Bierner 7eed623657 Interupt geterror requests for getting completion entry details
UI actions like this should interup potentially long running getError requests on the server. This is because the getErr request must be fully processed before the completion entries can be returned. Explicit user actions in the UI are more important and should be computed as soon as possible
2018-11-27 14:56:07 -08:00
Matt Bierner 2f9f0c35cc Added failing test for #63749
Add skipped test for #63749 so someone can pick this up
2018-11-27 12:02:39 -08:00
Matt Bierner f685215dd4 Adding version info for ts non-code dependencies
Fixes  #63577
2018-11-27 11:40:27 -08:00
Matt Bierner 336db91acb Use switch case 2018-11-27 11:40:27 -08:00
Matt Bierner 9531a7c380 💄 2018-11-27 11:40:27 -08:00
Matt Bierner 0c126b0608 Extract display part kinds to constants files 2018-11-27 11:40:27 -08:00
Matt Bierner bab1ea6c27 💄 2018-11-27 11:40:27 -08:00
Matt Bierner ca7f6c2cf2 Move snippetForFunctionCall to own file 2018-11-27 11:40:27 -08:00
Matt Bierner 77454b24bc Extract append joined placeholders 2018-11-27 11:40:27 -08:00
Matt Bierner 0aef227bbf Try splitting up parameter list extraction from snippet building 2018-11-27 11:40:27 -08:00
Matt Bierner 61ad185759 Make it clearer that insert text snippets override the rest snippet generation 2018-11-27 11:40:27 -08:00
Matt Bierner d5843e550f Fix bug for generating snippet if the object type contained a method signature 2018-11-27 11:40:27 -08:00
Matt Bierner 1755715a13 Fix bug where return type containing function type could be merged with normal parameters 2018-11-27 11:40:26 -08:00
Matt Bierner 86d7fd923a Adding pinning test for inline types 2018-11-27 11:40:26 -08:00
Matt Bierner af05b65331 Adding plnning test for rest paramters 2018-11-27 11:40:26 -08:00
Matt Bierner e8f00e763a Adding pinning test for getting parameters 2018-11-27 11:40:26 -08:00
Matt Bierner ece1bad312 Adding basic pinning tests for insert text 2018-11-27 11:40:26 -08:00
Matt Bierner ec3cba2661 Add test for using insert text 2018-11-27 11:40:26 -08:00
Matt Bierner ecce9249cb Extract snippetForFunctionCall so that it can be tested 2018-11-27 11:40:26 -08:00