Commit Graph

278 Commits

Author SHA1 Message Date
Richard Knoll b49acd527a Merge branch 'master' into glob2_merged 2016-06-20 14:10:55 -07:00
Richard Knoll f817ffaf47 Merge branch 'master' into glob2_merged 2016-06-17 17:55:15 -07:00
Richard Knoll 08ca1c0dff Merge branch 'master' into glob2_merged 2016-06-17 15:34:06 -07:00
Andy Hanson 166bc49f0c Refactor navigation bar 2016-06-17 07:42:26 -07:00
zhengbli 550d91249b Refactor code to make if statements cheaper 2016-06-15 16:52:07 -07:00
zhengbli 335443693f Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/program.ts
#	tests/cases/unittests/tsserverProjectSystem.ts
2016-06-15 14:36:45 -07:00
Zhengbo Li 8c38cbfb4b Merge pull request #9073 from zhengbli/i8523
Increase project reference count even when the opened file is referenced by it but not its root
2016-06-15 12:42:14 -07:00
Nathan Shively-Sanders 57f66b8efa Merge pull request #9148 from Microsoft/add-isDefinition-to-references
Add isDefinition to references
2016-06-14 11:12:53 -07:00
Nathan Shively-Sanders 792b23edc2 Make isDefinition required.
For the deprecated getOccurrencesAtPosition, isDefinition is always false.
2016-06-14 08:48:26 -07:00
Nathan Shively-Sanders 5a7f7469ea Add isDefinition to ReferenceEntry
Clients can now easily tell if the reference is to a definition or a
usage.
2016-06-13 13:21:47 -07:00
Ryan Cavanaugh e8ac1abbd6 Baseline fix, CR comments, lint 2016-06-13 09:33:49 -07:00
Ryan Cavanaugh 576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh 9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
zhengbli 1e7790df06 Fix #8523 2016-06-10 03:44:44 -07:00
zhengbli e41b10bbc7 add test and spit commandLineParser changes to another PR 2016-06-10 02:06:31 -07:00
zhengbli 4383f1a15f Refactoring 2016-06-09 16:28:42 -07:00
zhengbli d387050aaa Fix merging issues and multiple project scenario 2016-06-09 15:30:55 -07:00
zhengbli 94d44ad81d Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/commandLineParser.ts
#	src/compiler/program.ts
#	src/compiler/sys.ts
#	src/compiler/types.ts
#	src/server/editorServices.ts
#	src/server/session.ts
2016-06-09 14:58:28 -07:00
Zhengbo Li de8ddd6e14 Return trace when exception happens 2016-06-08 14:42:53 -07:00
Zhengbo Li cdf4cded15 Merge pull request #9002 from zhengbli/moreTsserverTests
Add tests for tsserver project system
2016-06-07 21:56:09 -07:00
Zhengbo Li 37949a3d65 more tests for module resolution change and exclude 2016-06-07 15:52:34 -07:00
Andy Hanson e412f52b33 Include indent in navigation bar protocol
Previously navbar01 test had indents when run in the browser but not when run from node. Now they run the same.
2016-06-03 10:04:03 -07:00
Vladimir Matveev 92177bee91 initial revision of unit test support for project system in tsserver 2016-06-02 00:03:10 -07:00
Richard Knoll 50f0033e61 Merge branch 'master' into glob2_merged
Conflicts:
	src/compiler/sys.ts
	src/harness/harnessLanguageService.ts
	tests/cases/unittests/cachingInServerLSHost.ts
	tests/cases/unittests/tsconfigParsing.ts
2016-05-26 10:04:54 -07:00
Richard Knoll 084b94c4c1 Merge branch 'master' into glob2
Conflicts:
	Jakefile.js
	src/compiler/commandLineParser.ts
	src/compiler/core.ts
	src/compiler/sys.ts
	src/harness/harness.ts
	src/server/editorServices.ts
	src/services/shims.ts
	tests/cases/unittests/cachingInServerLSHost.ts
2016-05-25 17:06:50 -07:00
Andy Hanson 02d4959dd8 Lint src\server\client.ts 2016-05-23 10:33:47 -07:00
Mohamed Hegazy b637d76b49 Merge pull request #8700 from Microsoft/Fix8692
Fix #8692: fix "tsserver as a library" (lssl) build target
2016-05-21 12:24:23 -07:00
zhengbli 2252b17f28 avoid using sys in editorServices.ts 2016-05-19 16:39:48 -07:00
Mohamed Hegazy c9b5145ed9 Remove use of ts.sys in editor services 2016-05-19 15:55:42 -07:00
Mohamed Hegazy c884fee3eb Remove dependncy on NodeJs from editor services 2016-05-19 13:16:20 -07:00
zhengbli 269416d675 Add test 2016-05-10 16:04:59 -07:00
zhengbli 8bd8ed7d4b Tolerate non-existing files specified 2016-05-06 13:02:57 -07:00
Zhengbo Li 166f95c677 Merge pull request #8311 from zhengbli/reportTsconfigError
[API] Add event for reporting tsconfig errors
2016-05-05 13:11:30 -07:00
zhengbli 4d94ae8749 Wipe out the cached script content if failed to read it 2016-04-29 02:13:50 -07:00
zhengbli 5da620efe4 Add config file diag related types to protocol 2016-04-26 15:31:41 -07:00
zhengbli c14362e2ae Add event for reporting tsconfig errors 2016-04-26 12:53:38 -07:00
Zhengbo Li aca769f8c4 Remove hard-coded new line character option 2016-04-25 15:24:34 -07:00
Zhengbo Li 0f18cf8bb7 Merge pull request #8196 from zhengbli/fileWatcherBackToPolling
Change file watching back to polling.
2016-04-25 11:42:26 -07:00
Mohamed Hegazy 39d64a2709 Add configured projects to the list of projects when searching 2016-04-23 14:10:26 -07:00
zhengbli a09b001c61 Add env to allow switch to non-polling if really wants to 2016-04-22 11:54:09 -07:00
zhengbli 615dfa88f9 Merge branch 'master' of https://github.com/Microsoft/TypeScript into i4420
# Conflicts:
#	src/server/session.ts
2016-04-21 15:17:46 -07:00
zhengbli 1401e504ac Provide server response when reload is done 2016-04-21 15:14:58 -07:00
zhengbli 8709975f0b Merge branch 'master' of https://github.com/Microsoft/TypeScript into i2531
# Conflicts:
#	src/server/session.ts
2016-04-21 14:47:31 -07:00
Zhengbo Li 3a8ebf109f Merge pull request #7954 from zhengbli/supportScriptKindOnServer
Add API support for LS host to specify script kind of a file to open
2016-04-19 15:41:47 -07:00
zhengbli cc58e2d7eb Use string literal type for script kind names 2016-04-19 15:20:05 -07:00
zhengbli 576e5f8055 So we are back to polling. 2016-04-19 14:25:57 -07:00
zhengbli 19596deb7f remove extra deduplicate 2016-04-18 16:20:45 -07:00
Paul van Brenk 96deb553d5 Script side implementation for Brace Completion. (#7587)
* Script side implementation for Brace Completion.

This needs updated Visual Studio components to work.

* Changed CharacterCodes to number, to keep the API simple

* CR feedback

* CR feedback and more JSX tests

* Swapped 2 comments

* typo
2016-04-15 11:38:42 -07:00
Daniel Rosenwasser 5b0b09ca62 Merge pull request #8056 from weswigham/remove-custom-no-null-rule
Remove custom no-null rule, use tslint builtin no null rule
2016-04-13 00:28:24 -07:00
Wesley Wigham 37a0e8f502 Remove custom no-null rule, use tslint builtin no null rule 2016-04-13 02:09:14 -04:00