Commit Graph
106 Commits
Author SHA1 Message Date
Paul van Brenk 4f404ad92b Implement codefixes in tsserver 2016-10-04 16:58:17 -07:00
Vladimir Matveev 833a46c091 merge with origin/master 2016-09-27 10:22:41 -07:00
Richard Knoll ea3752aa18 Merge remote-tracking branch 'origin/master' into go_to_implementation_pr
Refactored goToImplementation out of services
2016-09-14 17:25:56 -07:00
Zhengbo Li 2ca9953235 Support compile on save for inferred projects (#10847)
* Support compile on save for inferred projects

* Rename to remove the "VS" prefix
2016-09-13 16:14:55 -07:00
Vladimir Matveev d14183c5a1 merge with origin/release-2.0.5 2016-09-13 15:59:04 -07:00
Paul van Brenk 17dbaf005f Get rid of BOM 2016-09-12 17:26:00 -07:00
Paul van Brenk e038215496 Implement NavigateTo for single files, instead of the project. 2016-09-12 17:17:52 -07:00
Richard Knoll 3ccc58c37d Merge remote-tracking branch 'origin/master' into go_to_implementation_pr 2016-09-06 14:11:38 -07:00
Richard Knoll b9b79af1b7 Recombining import completions and regular completion APIs 2016-08-31 18:11:47 -07:00
Vladimir Matveev 8075a0dd72 store project errors on project so they can be reported later 2016-08-26 14:37:49 -07:00
Zhengbo Li 3953d6ba96 [CoS] return results from all projects if not specified project file name (#10527) 2016-08-25 10:46:48 -07:00
Zhengbo Li a082857ae8 Add APIs for enabling CompileOnSave on tsserver (#9837)
* Add API to get only the emited declarations output

* Add nonModuleBuilder

* Add basic tests for CompileOnSaveAffectedFileList API

* Add API for compile single file

* Avoid invoking project.languageService directly

* Add API to query if compileOnSave is enabled for a project

* Seperate check and emit signatures

* Use Path type for internal file name matching and simplifying builder logic

* Always return cascaded affected list

* Correct the tsconfig file in compileOnSave tests
Also move the CompileOnSave option out of compilerOptions

* Reduce string to path conversion
2016-08-23 16:11:52 -07:00
Vladimir Matveev d736db3b01 add typingOptions to the protocol.ExternalProject 2016-08-23 15:15:12 -07:00
Richard Knoll 111e50921c Go to Implementation 2016-08-22 13:57:40 -07:00
Vladimir Matveev 875e62cc75 remove compression 2016-08-18 17:14:56 -07:00
Richard Knoll 8b5a3d9fd7 Refactoring API to remove duplicate spans 2016-08-02 19:03:36 -07:00
Vladimir Matveev de37f35f7c set compilation settings of project as a part of sync process 2016-08-01 17:12:15 -07:00
Richard Knoll 4ec8b2b134 Refactoring import completions into their own api 2016-08-01 14:29:10 -07:00
Vladimir Matveev e77f9b22c0 allow to change settings for inferred projects 2016-08-01 11:44:24 -07:00
Vladimir Matveev 6d497e3840 allow to change configuration for inferred projects 2016-07-31 22:06:41 -07:00
Vladimir Matveev 361a852ef1 use ExternalFile in ApplyChangesInOpenFiles 2016-07-29 15:23:43 -07:00
Vladimir Matveev e091f6702e introduce ExternalFile interface 2016-07-21 11:27:29 -07:00
Vladimir Matveev e14a7ca0bc initial support for compressing responses 2016-07-06 00:28:24 -07:00
Vladimir Matveev 71a3d0a42f use server side format code options matching arguments is omitted 2016-07-05 23:14:24 -07:00
Vladimir Matveev 9bec244469 remove commented code, added optionality to properties 2016-06-27 16:07:37 -07:00
Vladimir Matveev 74d3881c21 fix merge issue 2016-06-27 14:28:17 -07:00
Vladimir Matveev 96a867a52e add support for single inferred project 2016-06-27 14:25:43 -07:00
Vladimir Matveev 15f825b6b3 merge with origin/master 2016-06-27 14:25:18 -07:00
Vladimir Matveev c89287e704 merge with origin/master 2016-06-27 10:29:57 -07:00
jramsay 8312168e91 Merge pull request #9236 from Microsoft/BaseIndentationSupport
[Salsa] Adding base indentation for script block formatting and smart indent
2016-06-24 14:22:58 -07:00
zhengbli 83335f59a7 Add new APIs to protocol 2016-06-24 00:50:15 -07:00
Vladimir Matveev c8d37dc87e [in progress] project system work - versions 2016-06-22 16:51:09 -07:00
Vladimir Matveev c9b82eddda [in progress] project system work 2016-06-21 17:31:54 -07:00
Vladimir Matveev 2ffc36349b Merge remote-tracking branch 'origin/master' into tsserverVS-WIP 2016-06-20 13:18:35 -07:00
Vladimir Matveev 863c65b901 brace completion 2016-06-19 15:48:10 -07:00
Vladimir Matveev 24ace87f22 syntactic/compiler options diagnostics 2016-06-19 15:38:16 -07:00
Vladimir Matveev f2d55874d9 added indentation 2016-06-18 20:43:53 -07:00
Vladimir Matveev 4d9213a337 added todo comments 2016-06-17 23:54:59 -07:00
Vladimir Matveev 6ebc8abea2 introduce EditorSettings/FormatCodeSettings interfaces 2016-06-17 14:06:33 -07:00
Jason Ramsay 218a5ba0bb Adding base indentation for script block formatting and smart indent 2016-06-17 13:02:15 -07:00
Vladimir Matveev 7c0927d752 formatting 2016-06-16 15:23:52 -07:00
Vladimir Matveev 7b93e732d5 enable semantic classification 2016-06-15 18:30:08 -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
Vladimir Matveev e8c5a591a4 getSemanticDiagnostics 2016-06-15 13:05:55 -07:00
Vladimir Matveev 9775ce03ef merge with origin/master 2016-06-14 18:02:54 -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
Vladimir Matveev 23c6fac592 added sighelp 2016-06-13 15:02:54 -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
Vladimir Matveev c14398317a WIP - quickinfo 2016-06-10 16:56:15 -07:00
zhengbli e41b10bbc7 add test and spit commandLineParser changes to another PR 2016-06-10 02:06:31 -07:00