Ben Lichtman
53bc006752
Merge pull request #41226 from a-tarasyuk/feat/eslint
...
feat(eslint): upgrade typescript-eslint/eslint
2020-11-02 09:05:03 -08:00
Ben Lichtman
631def81d5
Merge pull request #37260 from uniqueiniquity/watchFileExistsFix
...
Fix fileExists check for a watch program
2020-03-06 13:01:03 -08:00
Ben Lichtman
e87b2e3506
Merge pull request #36063 from uniqueiniquity/addWeakCompletionProperty
...
Add completion property to identify completions from unchecked files
2020-01-28 13:53:47 -08:00
Ben Lichtman
fdf29891e2
Merge pull request #36383 from uniqueiniquity/redirectInfo
...
Redirect info
2020-01-28 11:51:06 -08:00
Ben Lichtman
3c153d885b
Merge pull request #35742 from uniqueiniquity/addPositionAssert
...
Add asserts to narrow down position issue
2019-12-18 14:19:29 -08:00
Ben Lichtman
1bfc47252f
Merge pull request #33938 from uniqueiniquity/classifcationAssertion
...
Add assertion when classification has unexpected length
2019-10-18 09:44:51 -07:00
Ben Lichtman
8fb50ba277
Merge pull request #33804 from a-tarasyuk/feature/update-eslint
...
update eslint, fix eslint @typescript-eslint/no-unnecessary-type-assertion errors
2019-10-04 09:50:17 -07:00
Ben Lichtman
d7c83f023e
Merge pull request #31777 from a-tarasyuk/feature/eslint
...
Migrate the repo to ESLint
2019-09-10 17:07:04 -07:00
Ben Lichtman
9971e8b560
Merge pull request #32688 from uniqueiniquity/skipCOSForDTS
...
Avoid compile on save when there is no emit impact
2019-08-07 10:44:54 -07:00
Benjamin Lichtman
0628adc056
Merge pull request #31865 from amcasey/FunctionHintSpan
...
Correct outline hint spans for functions
2019-06-12 10:13:21 -07:00
Benjamin Lichtman
eb81feaf04
Merge pull request #31685 from uniqueiniquity/stopInvalidatingOnOpenFileSave
...
Stop invalidating module resolution cache when saving an open file
2019-05-31 20:36:33 -04:00
Benjamin Lichtman
78b0956474
VS IntelliCode-related changes ( #30731 )
...
* ensure configurePlugin gives a response
* Update tests
* Update baseline
* Enable global plugin loading for external projects
* Fix lint errors
2019-04-03 10:36:04 -07:00
Benjamin Lichtman
62cf44cb9b
Allow per-file setting for rename default behavior preferences ( #29593 )
...
<!--
Thank you for submitting a pull request!
Here's a checklist you might find useful.
* [ ] There is an associated issue that is labeled
'Bug' or 'help wanted' or is in the Community milestone
* [ ] Code is up-to-date with the `master` branch
* [ ] You've successfully run `jake runtests` locally
* [ ] You've signed the CLA
* [ ] There are new or updated unit tests validating the change
Refer to CONTRIBUTING.MD for more details.
https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md
-->
Fixes #29585 .
#29314 and #29385 made it so their respective settings are only recognized when provided to the host as a whole.
This PR makes it so that the relevant settings for the preferences on the file override those of the preferences on the host.
2019-01-30 19:08:30 -08:00
Benjamin Lichtman
5fc8f1dd80
Add opt-in user preference for prefix and suffix text on renames ( #29314 )
...
* Add user preference to control renaming through exports
* Only impact renaming
* Update baselines
* Use flag to control all prefix and suffix text and imports
* [WIP] add tests
* Only skip export import specifier with flag
* [WIP] Update tests
* Update test
* Pick up preference from host and update test
* Shorten flag name
* Add missing utility function
* Update comment
* [WIP] rename flag and respond to cr
* [WIP] Add flag for forRelatedSymbol
* Use larger search symbol set for old-style rename
* Respond to CR
* Fix small error
* Fix type mismatch
* Update comment and remove unnecessary exprot
* Respond to CR
2019-01-16 10:58:07 -08:00
Benjamin Lichtman
c5948bf068
Merge pull request #29385 from uniqueiniquity/renameImportPref
...
Add user preference to opt-in to renaming import paths
2019-01-15 10:29:57 -08:00
Benjamin Lichtman
799656a037
Merge pull request #29214 from uniqueiniquity/nestedAsyncCodeFix
...
Only provide suggestion for outermost async fix
2018-12-31 17:18:39 -08:00
Benjamin Lichtman
11585d29bc
Merge pull request #29218 from uniqueiniquity/jsdocSpanForVarStatement
...
Jsdoc span for var statement
2018-12-31 16:27:34 -08:00
Benjamin Lichtman
aebcb6df36
Merge pull request #29216 from uniqueiniquity/multilineArgumentSpans
...
Give appropriate outlining span for array and object literals as args in call expression
2018-12-31 15:18:07 -08:00
Benjamin Lichtman
d3bcb82c6b
Merge pull request #29215 from uniqueiniquity/classExpressionOutline
...
Outlining spans for class expressions
2018-12-31 15:03:09 -08:00
Benjamin Lichtman
6ffe42781c
Merge pull request #29181 from uniqueiniquity/templateLiteralInNavTree
...
Show template literal in navtree function call args
2018-12-27 19:20:23 -08:00
Benjamin Lichtman
6afa880aa3
Merge pull request #27573 from uniqueiniquity/alwaysAwait
...
Always await expression of promise type in return position
2018-10-08 08:47:44 -07:00
Benjamin Lichtman
f356cd6c89
Insert async keyword as last modifier ( #27491 )
2018-10-01 17:43:17 -07:00
Benjamin Lichtman
cd28af0260
Merge pull request #27188 from uniqueiniquity/miscAsyncFixes
...
Miscellaneous async code fix fixes
2018-09-18 10:53:26 -07:00
Benjamin Lichtman
e40ce24f8f
Merge pull request #27156 from uniqueiniquity/promisesAndUnderscores
...
Async code fix issues concerning underscores and nested promises
2018-09-18 08:34:16 -07:00
Benjamin Lichtman
0cb9fd62ba
Merge branch 'master' into promisesAndUnderscores
2018-09-17 16:43:08 -07:00
Benjamin Lichtman
70ce7abe12
Merge pull request #27109 from uniqueiniquity/diagnosticLocation
...
Report async code fix diagnostic on name whenever it exists
2018-09-15 18:36:42 -07:00
Benjamin Lichtman
bce34ada8f
Merge pull request #27031 from uniqueiniquity/asyncCatchUniqueNames
...
Ensure async code fix renaming can do more than one rename
2018-09-14 11:13:00 -07:00
Benjamin Lichtman
0e985eb342
Merge branch 'master' into asyncCatchUniqueNames
2018-09-14 09:50:27 -07:00
Benjamin Lichtman
13deedf841
Merge pull request #26930 from uniqueiniquity/onlyReportExpectedPromiseArgs
...
Only perform async code fix if it can successfully refactor all parts
2018-09-14 09:41:34 -07:00
Benjamin Lichtman
6ddf75209a
Merge pull request #26749 from uniqueiniquity/getWholeType
...
Use correct type for async refactoring diagnostics
2018-08-31 09:09:25 -07:00
Benjamin Lichtman
b5f5513e4a
Merge pull request #25329 from uniqueiniquity/jsxFolding
...
Add outlining spans for JSX elements
2018-07-09 12:36:23 -04:00
Benjamin Lichtman
bf508cbe11
Merge pull request #25325 from uniqueiniquity/stopFoldingRegionDelimiters
...
Stop folding region delimiters
2018-06-29 12:40:23 -07:00
Benjamin Lichtman
7b8426d81c
Merge pull request #24596 from uniqueiniquity/handleMissingRegistryEntries
...
Handle missing registry entries
2018-06-04 09:47:10 -07:00
Benjamin Lichtman
3446a79bad
Merge pull request #24608 from uniqueiniquity/latestTypesRegistry
...
Always get latest tag of types-registry
2018-06-04 09:17:07 -07:00
Benjamin Lichtman
48f98bdd4d
Merge pull request #23452 from uniqueiniquity/normalizeDocumentHighlightsPaths
...
Normalize document highlights paths
2018-04-17 12:31:00 -07:00
Benjamin Lichtman
221ac50c4c
Merge pull request #23437 from Microsoft/getOutliningSpansDepthElseIf
...
In outliningElementsCollector, treat 'else if' as having same depth as the 'if'
2018-04-16 16:25:57 -07:00
Benjamin Lichtman
29ceffd236
Merge pull request #23077 from uniqueiniquity/spacesInLogPath
...
Ensure TSS_LOG handles paths with spaces
2018-04-03 13:12:13 -07:00
Benjamin Lichtman
d2d0f86831
Merge pull request #20374 from uniqueiniquity/symlinkTypeReferenceDirective
...
Handle failure to properly resolve type reference directives
2018-03-29 15:26:30 -07:00
Benjamin Lichtman
383751866e
Merge pull request #22842 from uniqueiniquity/outliningLineEnding
...
Make region outlining more sensitive to CRLF
2018-03-23 16:02:33 -07:00
Benjamin Lichtman
dfa1a90b25
Merge pull request #22135 from uniqueiniquity/jsxFragmentHash
...
Allow characters in JsxText inside JsxFragment that usually don't scan
2018-03-01 16:50:09 -08:00
Benjamin Lichtman
ca12cdcb5f
Merge pull request #22138 from uniqueiniquity/conflictingDefinitionsError
...
Update category for TS4090 to Error
2018-02-28 14:22:41 -08:00
Benjamin Lichtman
f989ef7261
Merge pull request #21004 from uniqueiniquity/updateATA
...
Enable typings cache entries to expire and be updated
2018-02-09 14:17:26 -08:00
Benjamin Lichtman
8f6c516ef9
Merge pull request #21205 from uniqueiniquity/resolveTripleSlashReferencePaths
...
Fix Windows-style absolute paths in triple-slash directives
2018-01-17 12:31:46 -08:00
Benjamin Lichtman
5bd477e441
Merge pull request #20924 from uniqueiniquity/jsxSpreadAttributeFormatting
...
Jsx spread attribute formatting
2018-01-05 10:27:47 -08:00
Benjamin Lichtman
96530719ac
Merge pull request #20912 from uniqueiniquity/jsxFragmentFormatting
...
Fix formatting for JSX fragment tags
2018-01-04 15:27:36 -08:00
Benjamin Lichtman
196f1c2086
Merge pull request #20910 from uniqueiniquity/allowDynamicNotOpenByClient
...
Allow dynamic files script info to be created when not opened by client
2017-12-28 16:37:19 -08:00
Benjamin Lichtman
26c1a49d59
Merge pull request #20640 from uniqueiniquity/revertToJsDocInclusionList
...
Revert to inclusion list for JsDoc comment completion
2017-12-14 14:37:31 -05:00
Benjamin Lichtman
6b90119370
Merge pull request #19968 from uniqueiniquity/jsxFragmentFix
...
Check children of JSXFragment
2017-11-13 13:10:59 -08:00
Benjamin Lichtman
4977bf4328
Merge pull request #19544 from uniqueiniquity/interfaceJsDoc
...
Insert JsDoc comment templates for additional nodes
2017-11-06 09:49:59 -08:00
Benjamin Lichtman
dcc1f1497f
Merge pull request #19619 from uniqueiniquity/indentJsxText
...
Properly indent JSXText on format document
2017-11-01 09:03:52 -07:00
Benjamin Lichtman
7dfd6c7e20
Merge pull request #19249 from uniqueiniquity/jsxFragment
...
Add support for JSX fragment syntax
2017-10-31 11:21:46 -07:00
Benjamin Lichtman
43084829bc
Increase maximum depth of outlining span search ( #18704 )
...
* Increase max depth of outlining spans to 120
* Update tests
* Update tests to demonstrate limit
* Set limit to 40 and update tests
2017-10-04 13:48:08 -07:00
Benjamin Lichtman
83f2401523
Merge pull request #17954 from uniqueiniquity/regions
...
Add support for custom outlining regions
2017-09-15 17:04:32 -07:00
Benjamin Lichtman
45c62ac0a6
Merge pull request #17709 from uniqueiniquity/objectsInArray
...
Correct outlining spans for object and array literals in array
2017-08-18 16:25:08 -07:00