Commit Graph
734 Commits
Author SHA1 Message Date
Vladimir Matveev de40000814 switch FileExtensionInfo to always mean .js file and deduplicate entries in getSupportedExtensions (#14046)
* - switch FileExtensionInfo to always mean .js file
- deduplicate entries in getSupportedExtensions

* (PR feedback): updated comment
2017-02-13 12:19:33 -08:00
Mohamed Hegazy 84fc29f900 Fix lint failures detected by tslint@4.4.2 2017-02-09 12:46:09 -08:00
Vladimir Matveev 2480e8d492 do secondary lookup only if module has non-relative name 2017-02-08 20:35:01 -08:00
Vladimir Matveev bb71dcdde8 add projectUsesOutFile field to protocol.CompileOnSaveAffectedFileListSingleProject (#13915) 2017-02-08 11:01:32 -08:00
Andy Hanson 58cb9a7f08 Use "ts2.2" (or "ts2.3", etc.) NPM tag in typingsInstaller 2017-01-31 06:57:47 -08:00
Andy Hanson 16bdaaa0a6 Fix positionToLineOffset conversion for getImplementation 2017-01-25 12:53:39 -08:00
David Sheldrick 8d590d5191 rename preserveWithJsExtension to react-native 2017-01-23 21:42:39 +01:00
David Sheldrick dd0ed44b9a Add option to output .js files while preserving jsx
This commit adds the ability to preserve jsx in source code, but
also to output .js files rather than .jsx files. This is useful
for react-native which does not support .jsx files.
2017-01-23 18:17:16 +01:00
Andy Hanson 113338c791 Merge branch 'master' into map5 2017-01-12 12:35:00 -08:00
Andy Hanson b98e82e5c4 Fix one more use of createMapFromTemplate 2017-01-12 12:25:00 -08:00
Andy Hanson 733111a931 Use tsconfig inheritance 2017-01-12 07:46:55 -08:00
Andy Hanson 30462e11ef Merge branch 'master' into map5 2017-01-11 12:24:47 -08:00
Andy Hanson 37e18d9741 Add createMapFromTemplate helper 2017-01-11 09:52:50 -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
Andy Hanson 8c5afd7f54 Merge branch 'master' into map5 2017-01-06 13:03:34 -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
Andy Hanson 932eaa3f90 Rename and consolidate map iteration helpers 2016-12-28 09:16:38 -08:00
Andy Hanson 39c19a74ea Inline keysOfMap and valuesOfMap. 2016-12-28 09:05:52 -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
Andy Hanson 9e33585a80 Merge branch 'master' into map5 2016-12-27 12:56:05 -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
Andy Hanson b53b5cf4ab Remove the "set" function and use map.set with multiple lines of code if necessary. 2016-12-12 08:42:12 -08:00
Andy Hanson 55fc62bc45 Merge branch 'master' into map5 2016-12-12 07:50:09 -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
Andy Hanson 6b1cc8972d Use native maps when they're available 2016-12-08 06:40:31 -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