Mohamed Hegazy
e52efb04f3
Fix #22419 : Add kind field to OutliningSpan
2018-05-03 16:28:55 -07:00
Ron Buckton
56648ad0f1
Merge pull request #20763 from Microsoft/vfs
...
Update harness to use single robust virtual file system for tests.
2018-05-03 10:25:20 -07:00
Sheetal Nandi
a196f163a7
Merge branch 'master' into sourceFileChangeAssert
2018-05-03 09:45:11 -07:00
Armando Aguirre
1d593fd81e
Merge pull request #23191 from armanio123/AddVueSupport
...
Added deferred ScriptKind and renamed JsFileExtensionInfo to FileExte…
2018-05-02 18:13:34 -07:00
Sheetal Nandi
55c5e8cb47
Fix the assert for orphan script info source change event
2018-05-02 15:11:39 -07:00
Ron Buckton
d62a11ffc0
Merge branch 'master' into vfs
2018-05-01 18:58:31 -07:00
Ron Buckton
1dff0af646
More path cleanup
2018-05-01 18:53:54 -07:00
Andy
9f4abe2d79
Improve completions testing ( #23591 )
2018-05-01 13:00:13 -07:00
Andy
cee4289f58
Add code fix to convert 'require' in a '.ts' file to an 'import' ( #23711 )
...
* Add code fix to convert 'require' in a '.ts' file to an 'import'
* Only add suggestion for modules
* Revert "Only add suggestion for modules"
This reverts commit b1a728fdacacf7089e8995f6a5caddac27ef5e62.
2018-05-01 09:24:02 -07:00
Nathan Shively-Sanders
7cda045d52
Always export typedefs ( #23723 )
...
* Always export typedefs
This actually just required deleting a check in declareModuleMembers
and checking for external AND commonjs modules in a couple of places.
However, while experimenting with this feature, I discovered that even
previously-exported typedefs would only be exported if they came after a
commonjs export node. So I added a commonjs check to the pass in the
parser. It will not catch nested module.exports, but it will catch
top-level assignments.
The new test tests both changes.
* Post-bind typedef instead of pre-checking for commonjs
* Duplicate identifier errors
* Fix class type reference resolution+update baselines
* Move to a type-based check for duplicate identifiers
2018-04-30 14:55:26 -07:00
Mohamed Hegazy
0bbf4d5c48
Merge pull request #23785 from dsifford/dsifford-lib-intl-fix
...
add lib.es2018.intl + fix lib.es2017.intl
2018-04-30 14:45:15 -07:00
Sheetal Nandi
96b2cf8aba
Merge pull request #23597 from Microsoft/inferredProjects
...
Do not remove inferred project till next file open so we can reuse them
2018-04-30 12:54:15 -07:00
Sheetal Nandi
cec5aafcbf
Merge pull request #23783 from Microsoft/tscWatchInfo
...
More detailed log during watch in tsc showing what the watcher is invoked for.
2018-04-30 12:53:59 -07:00
Derek P Sifford
cc0c82c014
add lib.es2018.intl + fix lib.es2017.intl
...
closes #23691
2018-04-30 15:17:00 -04:00
Sheetal Nandi
2e4f37849c
More logs in tsc.js
2018-04-27 18:49:16 -07:00
Sheetal Nandi
44066d6c7a
Handle the test case when tsconfig file changes without needing to update the program
...
Fixes #23687
2018-04-27 16:59:50 -07:00
Ron Buckton
4863d55d01
Merge branch 'master' into vfs
2018-04-27 14:03:42 -07:00
Ron Buckton
8424c4d1ab
Partial migration of some shared vpath functionality to core
2018-04-27 13:58:45 -07:00
Andy
4dc4b8d777
Remove unused property 'referencedDiagnostics' ( #23688 )
2018-04-25 15:24:36 -07:00
Wesley Wigham
ec05f29632
Make signature help node building cancellable ( #23543 )
...
* Make token building cancellable
* Scope cancellation token, make find all refs and quickinfo cancellable
* Make completion entry details cancellable
* Actually accept public API update
* Add test verifying cancellations within checker for select language service operations
* Document runWithCancellationToken a bit more
* Add post-cancellation verification to test
2018-04-25 11:44:13 -07:00
Sheetal Nandi
d6dfd9a217
Do not remove inferred project immediately and try to reuse it on next file open
2018-04-24 11:53:36 -07:00
Ron Buckton
c9c562afac
Reorganize and remove duplication
2018-04-24 10:48:55 -07:00
Ron Buckton
bb26ab5556
Merge branch 'master' into vfs
2018-04-23 22:48:48 -07:00
Ron Buckton
e422365870
Fix issues with runtests-browser
2018-04-23 21:52:16 -07:00
Sheetal Nandi
6ec763884e
Fix the crash when reporting errors of file that was referenced by inferred project root, is opened right after closing the root file
...
Fixes the crash reported in https://github.com/Microsoft/TypeScript/issues/23255#issuecomment-382653325
2018-04-23 15:36:32 -07:00
Andy
645258cc7d
Allow getting import completion details with misspelled name ( #23624 )
2018-04-23 11:24:51 -07:00
Andy
2e78d1ef21
getEditsForFileRename: Update tsconfig "files" ( #23625 )
2018-04-23 11:11:06 -07:00
Armando Aguirre
5434c4146e
Added deferred project context test, marked JsFileExtension as deprecated
2018-04-20 16:50:57 -07:00
Andy
5c94bef0e1
Add 'renameFile' command to services ( #23573 )
...
* Add 'renameFile' command to services
* renameFile -> getEditsForFileRename
* Support `<reference path>` directives
2018-04-20 13:43:09 -07:00
Andy
22f2b118b7
Add 'triggerCharacter' option for completions requests ( #23491 )
...
* Add 'triggerCharacter' option for completions requests
* mhegazy code review
* More code review
* Handle '<' in comment
2018-04-20 10:25:58 -07:00
Mohamed Hegazy
2826bc72b8
Merge pull request #23470 from JoshuaKGoldberg/standardized-non-pretty-newlines
...
Adjusted newlines in non-pretty output for consistency
2018-04-20 10:01:03 -07:00
Ron Buckton
370107ed7b
Merge branch 'master' into vfs
2018-04-19 16:55:35 -07:00
Ron Buckton
6b79161f65
More cleanup and reorganization
2018-04-19 16:48:50 -07:00
Ron Buckton
0322d71515
Cleanup and reorganize fakes
2018-04-19 11:30:03 -07:00
Sheetal Nandi
0526ff5fad
Merge pull request #23484 from Microsoft/typingInstallerWatch
...
Use watch recursive directories instead of watchFile for node_modules and bower components
2018-04-19 09:59:58 -07:00
Ron Buckton
1658770015
Trim unused functionality
2018-04-18 16:12:58 -07:00
Andy
0e9b815956
Improve performance of duplicate check ( #23516 )
2018-04-18 12:58:16 -07:00
Sheetal Nandi
b0d6896235
Merge pull request #23438 from Microsoft/typingsFiles
...
Better handling of typing installer events and consuming typing files in tsserver
2018-04-18 11:34:46 -07:00
Ron Buckton
8b86423521
Trim unused functionality
2018-04-17 19:39:54 -07:00
Ron Buckton
154f09bee9
Reorganize project structure.
2018-04-17 18:42:59 -07:00
Ron Buckton
1cbe930e06
Merge branch 'master' into vfs
2018-04-17 14:39:20 -07:00
Sheetal Nandi
db9620d8f0
Use watch recursive directories instead of watchFile for node_modules and bower components
2018-04-17 14:27:21 -07:00
Benjamin Lichtman
48f98bdd4d
Merge pull request #23452 from uniqueiniquity/normalizeDocumentHighlightsPaths
...
Normalize document highlights paths
2018-04-17 12:31:00 -07:00
Nathan Shively-Sanders
db68075b67
Add create-react-app and puppeteer user tests ( #23471 )
...
* Add create-react-app
* Add puppeteer
Everything is broken now. I am going back to master to see if that fixes
things.
* Add puppeteer baseline
* Add chalk override (gitignore was ignoring it)
2018-04-17 11:21:11 -07:00
uniqueiniquity
160356317b
Treat expectedRanges as readonly
2018-04-17 09:20:52 -07:00
Josh Goldberg
c974b2ced7
Helps to check in the test changes, too
2018-04-17 08:57:05 -07:00
Josh Goldberg
9dff614bd2
Combined the "Found X error(s)" and "Compilation" complete --watch messages
2018-04-17 01:47:43 -07:00
uniqueiniquity
606492b677
Fix lint error and normalization issue
2018-04-16 16:20:12 -07:00
uniqueiniquity
e9d6f788ca
Add test
2018-04-16 15:59:22 -07:00
Andy
cae464058a
Delete "delete me" files ( #23446 )
2018-04-16 15:29:02 -07:00