Commit Graph
98 Commits
Author SHA1 Message Date
uniqueiniquity 12f6e5232b Remove unnecessary allocation 2018-04-17 09:41:26 -07:00
uniqueiniquity 160356317b Treat expectedRanges as readonly 2018-04-17 09:20:52 -07:00
uniqueiniquity 3a8d66ba29 Only normalize for purposes of assert 2018-04-17 09:20:34 -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
uniqueiniquity 003c0a6743 Move normalization into services 2018-04-16 15:59:22 -07:00
uniqueiniquity 676983cb3e Normalize paths to search for highlights 2018-04-16 15:59:22 -07:00
uniqueiniquity 36cdb52b17 Handle double quotes for every argument 2018-04-02 16:41:29 -07:00
uniqueiniquity 8f503fb483 Close over getLogPath 2018-04-02 15:38:04 -07:00
uniqueiniquity e625a6a9b4 Use object destructuring instead of tuple 2018-04-02 15:12:26 -07:00
uniqueiniquity ffbb046cd4 Consume extra parts of file path 2018-04-02 13:58:31 -07:00
uniqueiniquity 361be11a04 Remove trailing whitespace 2018-04-02 12:32:15 -07:00
uniqueiniquity 0238991cd3 Ensure TSS_LOG handles paths with spaces 2018-04-02 11:04:52 -07:00
uniqueiniquity 6ba4dbeae4 Make region outlining more sensitive to CRLF 2018-03-23 14:29:32 -07:00
uniqueiniquity 96441abce6 Update category for TS4090 to Error 2018-02-22 17:01:31 -08:00
uniqueiniquity 71ff6dd91e Allow characters in JsxText inside JsxFragment that would not normally scan 2018-02-22 15:56:34 -08:00
uniqueiniquity 4c89a813bf Handle case where package.json and package-lock.json don't agree 2018-02-09 10:36:49 -08:00
uniqueiniquity 1d5e5e6205 Handle missing ts versions in registry 2018-01-24 13:56:30 -08:00
uniqueiniquity f8eac24f08 Make regexes instantiate only once 2018-01-19 17:09:12 -08:00
uniqueiniquity 4a87789779 Fix typo in message 2018-01-19 16:40:52 -08:00
uniqueiniquity 46fa477c15 Move assertion to realpath evaluation 2018-01-19 16:23:24 -08:00
uniqueiniquity 1fc6675a29 Allow for undefined return from TypeCheckerHost.getSourceFile to correspond with implementation 2018-01-19 16:23:23 -08:00
uniqueiniquity 30da23fa77 Handle failure to properly resolve type reference directives 2018-01-19 16:23:22 -08:00
uniqueiniquity 7397fb11c4 Fix lint and test errors and add tests 2018-01-19 14:10:06 -08:00
uniqueiniquity d34b86573c Respond to CR 2018-01-19 13:13:51 -08:00
uniqueiniquity 543b48d031 Add test for file path in tsconfig 2018-01-17 10:58:25 -08:00
uniqueiniquity 5320ce2552 Revert path normalization in favor of checking for backslash 2018-01-16 17:04:14 -08:00
uniqueiniquity 5ea43db6ec Add test 2018-01-16 11:27:20 -08:00
uniqueiniquity 68aad1b85e Normalize triple slash reference paths at resolve time 2018-01-16 11:27:20 -08:00
uniqueiniquity aff02e879c Move createTypesRegistry so more accessible 2018-01-11 13:20:45 -08:00
uniqueiniquity 2a0d5d173d Fix tests 2018-01-11 13:07:47 -08:00
uniqueiniquity 87c59450aa Revert unnecessary harness changes 2018-01-11 12:58:22 -08:00
uniqueiniquity a21f73f862 Remove timestamp checking and move registry check into jstyping 2018-01-11 12:58:22 -08:00
uniqueiniquity e72ea6f7b1 Update installed types if older than those listed in the registry 2018-01-11 12:58:22 -08:00
uniqueiniquity 23324345e2 Update representation of timestamp file to prevent some extra install calls 2018-01-11 12:58:22 -08:00
uniqueiniquity 6a16cfe0a5 Use existing map to hold representations of timestamp files 2018-01-11 12:58:22 -08:00
uniqueiniquity 7b6be118f5 Allow for local timestamp files and style fixes 2018-01-11 12:58:22 -08:00
uniqueiniquity 3f23d5d02e Respond to CR 2018-01-11 12:58:22 -08:00
uniqueiniquity 4c32ac010c Add test for timestamps write 2018-01-11 12:58:21 -08:00
uniqueiniquity 0b47a2dcfe Add tests 2018-01-11 12:58:21 -08:00
uniqueiniquity bf4ec1df5a Fix timestamp writing, npm install, and cache behavior 2018-01-11 12:58:21 -08:00
uniqueiniquity b0321dc177 Refactor to avoid errors 2018-01-11 12:58:21 -08:00
uniqueiniquity 9d298a13a1 [WIP] enable updating ATA files 2018-01-11 12:58:21 -08:00
uniqueiniquity 624f68a8e1 Simplify marker names 2018-01-04 16:51:19 -08:00
uniqueiniquity d4dd930f2e Allow dynamic files script info to be created when not opened by client 2017-12-27 11:12:56 -08:00
uniqueiniquity 97a573984f Add type alias declarations to inclusion list docs 2017-12-11 16:15:32 -08:00
uniqueiniquity 03b036b630 Revert "Loosen restrictions on jsdoc completion locations"
This reverts commit 612616a105.
2017-12-11 15:56:31 -08:00
uniqueiniquity 4c26426a69 Update baseline 2017-11-13 11:06:05 -08:00
uniqueiniquity 0fe0ff7943 Add test 2017-11-13 10:55:33 -08:00
uniqueiniquity 52e8e47cfb Extract JSXChildren checking 2017-11-13 10:17:35 -08:00
uniqueiniquity d2114e1b9e Rename offsets in tests 2017-11-03 16:14:47 -07:00
uniqueiniquity 21093503a8 Respond to CR 2017-11-03 11:19:53 -07:00
uniqueiniquity 612616a105 Loosen restrictions on jsdoc completion locations 2017-11-03 09:53:56 -07:00
uniqueiniquity b1b611f40a Add undefined to return type 2017-11-02 11:08:26 -07:00
uniqueiniquity b17b7b9374 Revert "Update tests to expect empty doc comment template"
This reverts commit b566480aaa.
2017-11-02 11:00:30 -07:00
uniqueiniquity 12baae6c84 Revert "Return empty doc comment instead of undefined"
This reverts commit 22eb519b0f.
2017-11-02 10:59:58 -07:00
uniqueiniquity 509b9ad087 Complete to single line jsdoc comment if no params 2017-11-02 09:55:56 -07:00
uniqueiniquity 9f68ff5b0f Remove markers 2017-10-31 16:10:17 -07:00
uniqueiniquity 20e1f5258b Update test 2017-10-31 16:09:30 -07:00
uniqueiniquity b6ea2f955a Refactor test and annotate object literal 2017-10-31 14:52:15 -07:00
uniqueiniquity 9b9032f8c5 Add JSXText indentation test 2017-10-31 14:09:36 -07:00
uniqueiniquity f962aba24a Indent all lines of single JsxText node 2017-10-31 14:09:36 -07:00
uniqueiniquity 3ebb2e8a34 Merge branch 'master' into jsxFragment 2017-10-31 10:53:57 -07:00
uniqueiniquity 976c25c672 Add support for enums and property signatures 2017-10-30 15:05:55 -07:00
uniqueiniquity 49772187e5 Update comments 2017-10-27 16:56:00 -07:00
uniqueiniquity 7aeb11b41e Return doc comment template for interfaces and method signatures 2017-10-27 16:56:00 -07:00
uniqueiniquity b566480aaa Update tests to expect empty doc comment template 2017-10-27 16:56:00 -07:00
uniqueiniquity 22eb519b0f Return empty doc comment instead of undefined 2017-10-27 16:56:00 -07:00
uniqueiniquity a83ec4167e Added test for preventing fragment with jsxFactory 2017-10-25 10:18:18 -07:00
uniqueiniquity 5dd1a47c6b Error when using fragment with jsxFactory 2017-10-25 10:18:18 -07:00
uniqueiniquity 961495bb79 Remove unnecessary type annotation 2017-10-25 10:18:17 -07:00
uniqueiniquity fb058868de Respond to CR 2017-10-24 13:24:11 -07:00
uniqueiniquity a7f9ec00ed Respond to CR 2017-10-18 13:17:07 -07:00
uniqueiniquity 75665294a9 Respond to CR 2017-10-17 13:39:16 -07:00
uniqueiniquity 845f5737cf Update API baselines 2017-10-17 09:38:23 -07:00
uniqueiniquity 5f8a1b5b56 Add baselines 2017-10-17 09:38:23 -07:00
uniqueiniquity 269d37a2e6 Update tests 2017-10-17 09:38:22 -07:00
uniqueiniquity abb3f58db2 Add support for JSX fragment syntax 2017-10-17 09:38:09 -07:00
uniqueiniquity e5c43cddb7 Remove extra OutliningSpan and simplify regex 2017-09-15 16:47:59 -07:00
uniqueiniquity 484bd2082e Refactored out RegionRange 2017-09-15 16:15:32 -07:00
uniqueiniquity 3dfeb2d0f4 Combine and simplify regex 2017-09-15 15:52:08 -07:00
uniqueiniquity 7781245f1e Move RegionRange to private scope 2017-09-15 10:38:05 -07:00
uniqueiniquity c3f2648ba4 Edits from aozgaa review and simplify regex 2017-08-22 13:59:02 -07:00
uniqueiniquity 509d347ab9 Region now starts at beginning of comment, and reviewer edits 2017-08-22 12:59:47 -07:00
uniqueiniquity 442bc56fc2 Add test for region spans 2017-08-21 15:43:35 -07:00
uniqueiniquity fb462c91a4 Ensure returned spans are ordered by start 2017-08-21 15:43:35 -07:00
uniqueiniquity 562d988614 Exclude region delimiters in multiline comments 2017-08-21 15:43:35 -07:00
uniqueiniquity 4971e3152c Ensure region boundaries are entire line 2017-08-21 15:43:35 -07:00
uniqueiniquity 0ef5498de3 Clean up unused functions 2017-08-21 15:43:35 -07:00
uniqueiniquity 0b3ec247bc Fix name capture logic 2017-08-21 15:43:35 -07:00
uniqueiniquity f91c23b25f Add regex sweep implementation 2017-08-21 15:43:35 -07:00
uniqueiniquity 9726ba1198 Add support for custom outlining regions 2017-08-21 15:43:35 -07:00
uniqueiniquity e6c1afb4a0 Style changes and cleanup 2017-08-18 15:59:22 -07:00
uniqueiniquity 760812f714 Add explanatory comments, consolidate main body 2017-08-14 09:27:45 -07:00
uniqueiniquity d6ccee6766 Cleans up and adds nested case to test 2017-08-11 13:42:14 -07:00
uniqueiniquity c7d691dc15 Generalize to nested arrays and refactor 2017-08-10 13:27:24 -07:00
uniqueiniquity df5e1a0f69 add fourslash test 2017-08-09 15:55:02 -07:00
uniqueiniquity 1663d01844 Fix outlining of objects in array 2017-08-09 15:11:05 -07:00