Arthur Ozga
dc08c5f241
Merge branch 'master' into caretPositionInFourslash
2017-07-06 10:44:59 -07:00
Arthur Ozga
86894f3a6f
i++
2017-07-05 14:26:59 -07:00
Arthur Ozga
a200aa9329
non-default args
2017-07-05 12:54:42 -07:00
Arthur Ozga
2857bb9703
remove fixCaretPosition
2017-07-05 12:47:32 -07:00
Arthur Ozga
b5e069816d
consolidate function call
2017-06-30 19:50:09 -07:00
Arthur Ozga
5652b0677e
update caret position based on edit range
2017-06-30 19:40:56 -07:00
Yui
a7fe9db746
Merge pull request #16847 from Microsoft/master-RWC
...
[master] fix RWC runner
2017-06-30 12:08:23 -07:00
Kanchalai Tanglertsampan
67faecc32c
remove BOM
2017-06-30 11:52:00 -07:00
Kanchalai Tanglertsampan
2e13c3a7a6
Update RWC runner
2017-06-29 16:55:46 -07:00
Kanchalai Tanglertsampan
0ffbb75503
check error early and return null to indicate that everything is going well
2017-06-29 16:53:37 -07:00
Andrew Casey
ac72803bb2
Merge pull request #16684 from amcasey/Vsts434619
...
Watch for the creation of missing files
2017-06-29 13:41:18 -07:00
Andrew Casey
569ecabb0a
Address PR feedback
...
Make Program.getMissingFilePaths required
Assume getMissingFilePaths always returns a defined value
Make getMissingFilePaths internal
Replace nullable-bool with enum
Update type to reflect possibility of undefined
Use deepEqual to simplify tests
Make condition const
Don't bother cleaning up map before freeing it
Switch from foreach to for-of to simplify debugging
Use a Map, rather than a FileMap, to track open FileWatchers
Fix compilation errors
Introduce and consume arrayToSet
Fix lint warnings about misplaced braces
Delete incorrect comment
Delete from map during iteration
Eliminate unnecessary type annotations
2017-06-29 11:29:19 -07:00
Andy
179a3e10b5
Handle depth in all readDirectory implementations ( #16646 )
2017-06-29 11:04:33 -07:00
Andrew Casey
0f683ac2ad
Add missing file unit tests
...
1. Test `Program.getMissingFilePaths`
2. Test program structure reuse (i.e. that the appearance of a missing
file prevents complete reuse)
2017-06-29 10:39:32 -07:00
Andrew Casey
6d200bffbd
Watch files through the host
...
Call `this.projectService.host.watchFile`, rather than
`ts.sys.watchFile` so that it gets mocked correctly in the unit tests.
Repair two failing tests.
2017-06-29 10:39:32 -07:00
t_
51fb7e9a81
Add alwaysStrict option ( #16562 )
...
* Add alwaysStrict option
* Enable alwaysStrict
* Fix for strict mode
* keep whitespace
2017-06-28 19:44:15 -07:00
Andy
9013665e22
Replace FileMap with Map where there is no keyMapper ( #16724 )
...
* Replace FileMap with Map where there is no keyMapper
* Remove `toKey` and use `keyMapper` directly
2017-06-28 13:15:34 -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
Sheetal Nandi
98cb0ce815
Move the cleanup of script infos to next file open
...
This helps in reusing script infos even if the project is closed but next open recreates the same project
2017-06-14 11:37:31 -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
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
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
Andy
09321b3834
Convert Extension to a string enum ( #16425 )
2017-06-09 19:32:44 -07:00
Andy
a757e84284
Add hash of project file location to project info telemetry ( #16397 )
...
* Add hash of project file location to project info telemetry
* Rename to projectId
2017-06-09 13:12:31 -07:00
Ron Buckton
b325790270
Merge pull request #16310 from Microsoft/enableDebugInfo
...
Enable debug info when running tests
2017-06-08 14:28:59 -07:00
Ron Buckton
00a926cc4e
Fix parameter emit for synthetic function types
2017-06-07 15:34:10 -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
Ron Buckton
4c65be8bad
Enable debug info when running tests
2017-06-06 16:01:52 -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
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 ccc60c8b3b .
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
Andy
8ace7b826f
importFixes: Support missing "React" at a JSXOpeningElement ( #16066 )
...
* importFixes: Support missing "React" at a JSXOpeningElement
* Fix nextLineRule linting
* Rename to resolveJsxNamespaceAtLocation
* Expose getJsxNamespace and resolveNameAtLocation separately
2017-06-05 14:23:39 -07:00
Andy
70564110c0
Make use of array helper functions ( #16226 )
...
* Make use of array helper functions
* Remove unnecessary 'ts.'
2017-06-05 14:11:43 -07:00
Mohamed Hegazy
ccc60c8b3b
Revert "[Master] wip-dynamic import" ( #16264 )
2017-06-05 10:49:20 -07:00
Sheetal Nandi
d680720f6d
Merge branch 'master' into ownJsonParsing
2017-06-05 10:28:23 -07:00
Yui T
7d64ec94a0
Update baselines from moving out of es2018
2017-06-04 21:18:42 -07:00
Yui T
2f476bf22f
Merge branch 'master' into master-dynamicImport
2017-06-02 09:10:20 -07:00
Sheetal Nandi
ee5d1d33c1
Completion list in the type expression should show types
2017-06-01 16:27:43 -07:00