Andy Hanson
733111a931
Use tsconfig inheritance
2017-01-12 07:46:55 -08:00
Zhengbo Li
9e127967b6
Merge pull request #11603 from zhengbli/11116
...
Set maxNodeModuleJsDepth for inferred projects
2017-01-10 12:17:43 -08:00
Joel Day
3a9a136e51
Changes based on feedback.
...
Whitespace cleanup.
Switching back to protocol.ts and reenabling stripInternal.
Marking internal symbols indirectly exported by dependencies of protocol.ts as internal.
2017-01-04 15:56:16 -08:00
Joel Day
cf5508732a
Fix Gulp build of tsserverlibrary to match Jake.
2017-01-01 17:58:33 -08:00
Joel Day
8b44ce2fd7
Emitting tsserverlibrary as an external module.
2016-12-31 17:37:51 -08:00
zhengbli
8ac22ecbb0
Change the design to track addRoot and removeRoot
2016-12-29 17:00:04 -08:00
zhengbli
09fc3b3a18
address cr feedback
2016-12-29 10:26:34 -08:00
zhengbli
bf5faa04a6
Use inherited setCompilerOptions for inferred project
2016-12-28 14:46:58 -08:00
zhengbli
a8a1a826b3
set the option when creating inferred projects
2016-12-28 08:15:21 -08:00
zhengbli
8648239e64
Merge branch 'master' of https://github.com/Microsoft/TypeScript into 11116
2016-12-28 04:07:04 -08:00
Vladimir Matveev
77a3dfbcfc
tsserver should use newline provided by the host ( #13185 )
2016-12-27 11:59:56 -08:00
Mohamed Hegazy
e4b81d0331
Merge pull request #13006 from SaschaNaz/lintfix
...
Fix latest tslint errors
2016-12-26 11:24:25 -08:00
Kagami Sascha Rosylight
5fb82496fb
reposition defaultFormatOption
2016-12-22 12:54:23 +09:00
Vladimir Matveev
1045f3bffb
detach root files on project close if project language service is disabled ( #13077 )
2016-12-20 19:25:25 -08:00
Andrew Ochsner
3b3d71542c
Add InsertSpaceAfterConstructor option & additonal test cases
...
Fixes #12234
2016-12-20 10:05:10 -06:00
Andrew Ochsner
7bf73be7fe
space-before-function-paren
...
Adding option InsertSpaceBeforeFunctionParenthesis
Should be optional
Typically used to support http://eslint.org/docs/rules/space-before-function-paren
Fixes #12234
2016-12-19 23:05:30 -06:00
Kagami Sascha Rosylight
2a941a7222
inline length
2016-12-20 03:12:35 +09:00
Kagami Sascha Rosylight
27a60e4580
fix linting errors
2016-12-18 15:44:54 +09:00
Vladimir Matveev
dda24f6d70
allow to compute change ranges only for snapshots from the same script version cache
2016-12-14 14:43:45 -08:00
Vladimir Matveev
e68161adfa
when language service is disabled - build program using only open files ( #12809 )
2016-12-13 13:21:32 -08:00
Jason Ramsay
5829ca82d0
use localUse local updatedFileNames - this way we'll know that set of names is definitely cleared
2016-12-09 14:44:08 -08:00
Jason Ramsay
05160cae8e
Rename fileExtensionMap: fileExtensionMapItem[] to extraFileExtensions: FileExtensionInfo[]
2016-12-09 13:36:43 -08:00
Jason Ramsay
5f46e488b7
Mark containing project as dirty when file is closed
...
(Note: adding this until PR #12789 is merged in so that unit tests pass)
2016-12-09 11:12:00 -08:00
Jason Ramsay
4cb5a36cb4
Merge branch 'master' into tsconfigMixedContentSupport
2016-12-09 10:58:33 -08:00
Jason Ramsay
d52894302a
Changes due to CR comments
2016-12-08 17:56:08 -08:00
Vladimir Matveev
7da3383504
do not use ScriptVersionCache for closed files ( #12777 )
2016-12-08 16:17:42 -08:00
Jason Ramsay
7a11453e35
Fix merge issues
2016-12-07 15:45:41 -08:00
Jason Ramsay
1c3689edef
Merge branch 'master' into tsconfigMixedContentSupportRedux
2016-12-07 15:33:42 -08:00
Jason Ramsay
64dad30ca0
Reduced version from CR comments
2016-12-07 15:31:46 -08:00
Vladimir Matveev
c1ec7eff08
remove projects that were no present in the input list in openExternalProjects ( #12699 )
...
remove projects that were no present in the input list in openExternalProjects
2016-12-06 16:44:46 -08:00
Vladimir Matveev
225d6d6aef
use XDG base directory compatible cache location ( #12676 )
...
* use XDG base directory compatible cache location
* use ~/Library/Caches on darwin
2016-12-05 13:40:56 -08:00
zhengbli
f6f866e88c
Reset the noEmitForJsFiles option when updating compiler options ( #12570 )
2016-11-29 23:30:14 -08:00
Vladimir Matveev
1418fd170d
send begin/end notifications when installing types packages ( #12551 )
2016-11-29 10:14:22 -08:00
Vladimir Matveev
c05bf3b0a2
respect casing when comparing names of config files ( #12474 )
2016-11-23 12:34:00 -08:00
jramsay
855431a943
Merge pull request #12373 from Microsoft/RenameTypingOptions
...
Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable
2016-11-22 17:22:30 -08:00
Jason Ramsay
2b89d919a0
Addressing CR feedback
2016-11-22 17:08:43 -08:00
Vladimir Matveev
680fb2ea1b
add typings installer user agent for npm requests ( #12446 )
...
* add typings installer user agent for npm requests
* address PR feedback: change name of user agent
2016-11-22 14:56:18 -08:00
Zhengbo Li
103090b60e
report config errors when config file changed ( #12372 )
2016-11-22 10:56:46 -08:00
Jason Ramsay
70e130b08c
Maintain support for deprecated API typingOptions.enableAutoDiscovery
2016-11-21 18:17:27 -08:00
Zhengbo Li
110c3ac6ac
Add locale options to tsserver ( #12369 )
...
* add locale options to tsserver
* make sys an argument
* fix mistakes and address code review
2016-11-21 10:30:38 -08:00
Mohamed Hegazy
f8b8465a4c
Merge pull request #12378 from andraaspar/master
...
Fix issue #12260 .
2016-11-20 15:07:31 -08:00
András Parditka
c96bc89982
Fix issue #12260 .
...
Fixed tsserver crashing on Android (Termux).
2016-11-19 11:28:11 +01:00
Jason Ramsay
5a9451ae23
Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable
2016-11-18 18:14:32 -08:00
Jason Ramsay
464bc0e9e0
Merge branch 'master' into tsconfigMixedContentSupportRedux
2016-11-18 16:15:15 -08:00
Jason Ramsay
7dd30dbfd4
tsconfig.json mixed content support
2016-11-18 15:51:28 -08:00
Vladimir Matveev
a2b13d05f2
pass project name as a constructor parameter ( #12333 )
2016-11-17 15:12:32 -08:00
Vladimir Matveev
4c2474463c
ports #12237 , #12258 and #12259 into master ( #12274 )
...
* treat failures to resolve module name as missing packages (#12237 )
* added extra check to prevent multiple installation of the same typing, added version field to telemetry event (#12258 )
* added extra check to prevent multiple installation of the same typing, added version field to telemetry event
* use ts.version
* switch to execSync to ensure that no install orders are interleaved (#12259 )
* Make sure version is public
* Update file with version string for nightly release
2016-11-15 12:53:46 -08:00
Vladimir Matveev
f13e6d4ca6
enable syntactic features if project size exceeded the limit, send events when state of language service changes ( #12190 )
...
* enable syntactic features if project size exceeded the limit, send events when state of language service changes
* allow getting compiler options diagnostics when language service is disabled
2016-11-14 15:10:32 -08:00
Vladimir Matveev
f11e8a3c69
add 'installSuccess' flag to telemetry, cache misses if npm install fails ( #12163 )
...
* add 'installSuccess' flag to telemetry, cache misses if npm install fails
* fix typo
2016-11-14 14:10:22 -08:00
Vladimir Matveev
36511838a4
allow getting compiler options diagnostics when language service is disabled
2016-11-14 10:41:48 -08:00