3383 Commits

Author SHA1 Message Date
Arthur Ozga
60b78c618f only format open curly up to the open curly 2017-06-29 11:13:44 -07:00
Arthur Ozga
eae234cab2 disable spaceBeforeOpenCurly if newline rule is enabled 2017-06-28 13:13:53 -07:00
Arthur Ozga
a5c8a29fa4 only format opencurly if no intervening tokens 2017-06-28 12:48:14 -07:00
Arthur Ozga
c5f6c4fac0 remove unecessary check 2017-06-26 11:21:21 -07:00
Arthur Ozga
61af315778 respond to comments 2017-06-26 10:55:04 -07:00
Arthur Ozga
485927b26a clarify comment 2017-06-22 11:17:55 -07:00
Arthur Ozga
0df66a5e6d format space before single-line blocks 2017-06-20 11:52:03 -07:00
Arthur Ozga
4c40c42f56 format on open curly 2017-06-20 11:51:45 -07:00
Sheetal Nandi
31653de3c3 Merge pull request #16566 from Microsoft/keywordFilters
Fix the completion for parameters
2017-06-15 15:44:33 -07:00
Sheetal Nandi
4ce8af3652 Show public/private/protected/readonly when looking for constructor parameter and otherwise parameter declaration or property declaraiton should result in no completion
Fixes #15937
2017-06-15 11:16:35 -07:00
Sheetal Nandi
09f0b3471a Merge branch 'master' into ownJsonParsing 2017-06-15 09:59:37 -07:00
Sheetal Nandi
187febd10f Merge pull request #16494 from Microsoft/dontCreateScriptInfosWithFileExistsAndReadFile
Fixes the memory leak because of project and its corresponding script info even after project is removed
2017-06-14 15:17:25 -07:00
Mohamed Hegazy
3532875af7 Merge branch 'master' into completionWithMeaning 2017-06-13 17:41:24 -07:00
Arthur Ozga
9cd04e06fd Merge pull request #16309 from aozgaa/codeFixPrefixUnused2
Code fix prefix unused2
2017-06-13 11:16:33 -07:00
Sheetal Nandi
1f167786ad Merge branch 'master' into completionWithMeaning 2017-06-13 11:16:32 -07:00
Arthur Ozga
2a05bb1441 Merge pull request #16433 from Microsoft/suppressBraceCompletionOfQuotesinComments
Suppress brace completion of Quotes in Comments
2017-06-13 11:07:52 -07:00
Yui
23f618b6bc Merge pull request #16406 from Microsoft/master-fix16402
[Master] Language Service on Dynamic import
2017-06-13 10:22:45 -07:00
Mohamed Hegazy
1d0087dd2d Update version 2017-06-12 18:28:10 -07:00
Sheetal Nandi
1bf1209f7e Cleanup script infos that are not part of any project when the project is closed or inferred projects are refreshed
Also dispose some pointers so that the closures get disposed with project and script infos
2017-06-12 16:52:36 -07:00
Arthur Ozga
70bace78a0 respond to comments 2017-06-12 15:36:34 -07:00
Andy
6a8a6c34b4 getPossibleSymbolReferencePositions: Always use full start (#16420) 2017-06-12 15:24:31 -07:00
Nathan Shively-Sanders
93bdd3cb39 Fix reference to isTypeParameterDeclaration in services
Fixes build break
2017-06-12 15:07:04 -07:00
Andy
7fb821e45b Support completions in destructuring in for-of (#16454) 2017-06-12 12:12:51 -07:00
Andy
2748b3b334 Add isForInOrOfStatement utility (#16455) 2017-06-12 11:08:41 -07:00
Andy
44d5c44cb5 Document highlights for a JSX tag should just be the matching tag, not all references (#16453) 2017-06-12 11:08:21 -07:00
Arthur Ozga
798db1e884 Suppress brace completion of Quotes in Comments 2017-06-09 21:10:01 -07:00
Andy
09321b3834 Convert Extension to a string enum (#16425) 2017-06-09 19:32:44 -07:00
Sheetal Nandi
2ec92b9c02 Dont create script snapshots for files that arent source files 2017-06-09 18:30:17 -07:00
Andy
13b7d17da7 Don't bind JSDoc type parameter in a TS file (#16413)
* Don't bind JSDoc type parameter in a TS file

* Fix tests

* Remove unnecessary non-null assertions
2017-06-09 14:52:01 -07:00
Kanchalai Tanglertsampan
2e55b6ae16 Implement LS on string-literal of dynamic import 2017-06-09 10:01:17 -07:00
Arthur Ozga
b9885eed5a Only add underscore in
* for-in
* for-of
* parameters
2017-06-08 18:43:02 -07:00
Andy
0d36d0e39f Support completions for qualified names in JSDoc (#16380)
* Support completions for qualified names in JSDoc

* Fix typo
2017-06-08 17:21:36 -07:00
Kanchalai Tanglertsampan
7d2d35d0bf Include dynamic import during pre-processing needed by VS 2017-06-08 14:31:44 -07:00
Andy
43e3d60f09 Fix lint failure (#16338)
* Fix lint failure

* Use curly braces
2017-06-07 15:50:26 -07:00
Andy
abb9681248 Support completions for JSDoc @param tag names (#16299)
* Support completions for JSDoc @param tag names

* Undo change to finishNode

* Don't include trailing whitespace in @param range; instead, specialize getJsDocTagAtPosition
2017-06-07 12:28:52 -07:00
TravCav
b57830f7f9 enforcing curly braces (#16315) 2017-06-07 11:58:25 -07:00
Andy
68122ea4cc Support find-all-references for export = of class expression (#16327)
* Support find-all-references for `export =` of class expression

* Add comments
2017-06-07 11:16:12 -07:00
Ryan Cavanaugh
6007eb7dfb Merge pull request #16307 from RyanCavanaugh/refactor_refactor
Refactor refactor
2017-06-06 22:28:52 -07:00
Chuck Jazdzewski
ce1d1c81ef Add support for external file references in source maps 2017-06-06 17:45:08 -07:00
Ryan Cavanaugh
f739f68231 Tidy up 2017-06-06 16:08:24 -07:00
Arthur Ozga
ce5f7072a1 prefix identifiers 2017-06-06 15:23:10 -07:00
Ryan Cavanaugh
1f3ef7df7a Refactor refactor 2017-06-06 14:58:18 -07:00
Arthur Ozga
f17a612de8 rename codeFix 2017-06-06 13:13:46 -07:00
Sheetal Nandi
65a48ca15d Encorporting feedback 2017-06-06 11:27:31 -07:00
Sheetal Nandi
48189c883f Merge branch 'master' into ownJsonParsing 2017-06-06 11:03:21 -07:00
Mine Starks
52e867c86e Merge pull request #16277 from minestarks/safelistpackagenames
discoverTypings should look at typingSafelist.json values
2017-06-06 10:21:23 -07:00
Mine Starks
ba04dc8860 Add typingsInstaller unit test 2017-06-05 17:45:07 -07:00
Yui T
b9017795a0 Revert "Revert "[Master] wip-dynamic import" (#16264)"
This reverts commit ccc60c8b3b75476c4b11abb6ab4d2e6f06214f8f.
2017-06-05 17:16:29 -07:00
Sheetal Nandi
c4ad151a46 Merge branch 'master' into ownJsonParsing 2017-06-05 17:01:09 -07:00
Arthur Ozga
c179d9a22d Merge pull request #16045 from aozgaa/codeFixAddMissingMethod
Code fix add missing method
2017-06-05 16:50:46 -07:00