Andy
eefe5c9706
Fix acquiring format options for getEditsForRefactor ( #18848 )
...
* Fix acquiring format options for getEditsForRefactor
* Add test
* Fix test description
* Use `executeCommandSeq`
2017-10-02 13:26:35 -07:00
Andy Hanson
0b76e43977
Make formatOptions optional in GetEditsForRefactorRequestArgs
2017-09-15 07:21:38 -07:00
Andy
0de1b2301e
Cleanup getDiagnosticsForProject ( #18151 )
2017-09-14 12:38:48 -07:00
Andy
d96dfeb708
Don't normalize whitespace in fourslash tests ( #18447 )
...
* Don't normalize whitespace in fourslash tests
* Only render whitespace when the diff is text-only
2017-09-14 08:23:50 -07:00
Andy
e2141ad469
Mark some arrays as readonly ( #17725 )
...
* Mark some arrays as readonly
* Avoid unnecessary allocations and style changes
* Fix lint
2017-08-24 09:55:01 -07:00
Arthur Ozga
a3d113bed3
Merge pull request #16385 from aozgaa/isInMultiLineComment
...
multi-line comment formatting fix and handler
2017-08-18 12:43:37 -07:00
Andy
ade3b565ae
Revert public API changes to logger ( #17899 )
2017-08-18 11:20:07 -07:00
Arthur Ozga
19e2fa6fc5
Merge branch 'master' into isInMultiLineComment
2017-08-16 17:57:04 -07:00
Andy
80a7ed9a42
Fixes to session's handling of empty results ( #17728 )
...
* Fixes to session's handling of empty results
* Fix emptyArray -> undefined
2017-08-14 13:42:15 -07:00
Ron Buckton
360dc914c3
Merge pull request #17602 from Microsoft/multiInferredProjects
...
Adds support for inferred project isolation by projectRootPath
2017-08-11 16:06:49 -07:00
Andy
08fbcd8b80
Fix many no-object-literal-type-assertion lint errors ( #17278 )
...
* Fix many no-object-literal-type-assertion lint errors
* Simple fixes
* Use a union for FlowNode
* PR feedback and remove remaining `id()` uses
* Use a union for CodeBlock
* Discriminate CodeBlock by CodeBlockKind
2017-08-10 12:52:15 -07:00
Andy
f124e19971
Session: don't return undefined if a response is required ( #17165 )
...
* Session: don't return undefined if a response is required
* Use ReadonlyArray and emptyArray
* Remove inferred return type
2017-08-09 13:46:47 -07:00
Arthur Ozga
7c402d509d
Merge branch 'master' into isInMultiLineComment
2017-08-09 10:49:12 -07:00
Andy
d99a492ddd
Simplify server logger ( #17271 )
...
* Simplify server logger
* Move function printProjects out of inner closure
2017-08-08 11:22:22 -07:00
Andy
f69ce5c0c8
Convert two arrays to readonly ( #17685 )
2017-08-08 10:54:18 -07:00
Andy
e1802f4966
MultistepOperation: Don't need 'completed', just use requestId === undefined ( #17173 )
...
* MultistepOperation: Don't need 'completed', just use `requestId === undefined`
* Check for `requestId !== undefined`
2017-08-08 10:49:49 -07:00
Andy
9ea2350a6d
Simplify parameters to updateProjectStructure and updateErrorCheck ( #17175 )
2017-08-08 07:31:21 -07:00
Arthur Ozga
efdbebaebb
Merge branch 'master' into isInMultiLineComment
2017-08-04 14:26:24 -07:00
Ron Buckton
fa7f3e85fe
Adds support for inferred project isolation by projectRootPath
2017-08-03 16:03:59 -07:00
Andy
ea0bce511b
MultiStepOperation: No need to create a 'NextStep' object, just use self as the NextStep ( #17174 )
2017-07-19 07:52:18 -07:00
Andy
d2ec45f354
Remove unnecessary 'ts.' qualifications ( #17163 )
2017-07-13 13:08:59 -07:00
Andy
7b5e1e9c49
Use array helpers instead of 'reduce' ( #17172 )
2017-07-13 10:43:01 -07:00
Andy
91d7b22e6a
Remove ILineInfo type ( #17017 )
2017-07-10 11:35:54 -07:00
Andy
e7dc2a67ca
Enable "object-literal-shorthand" lint rule ( #16987 )
2017-07-07 07:26:58 -07:00
Sheetal Nandi
09f0b3471a
Merge branch 'master' into ownJsonParsing
2017-06-15 09:59:37 -07:00
Mohamed Hegazy
a404edae38
Split import into var and type to avoid breaking backword compatability of tsserverlibrary ( #16409 )
2017-06-10 11:12:09 -07:00
Andy
09321b3834
Convert Extension to a string enum ( #16425 )
2017-06-09 19:32:44 -07:00
Arthur Ozga
8fc3fd9a20
request returns span
2017-06-09 18:02:42 -07:00
Arthur Ozga
b02963b238
make indent work with trailing comments
2017-06-09 14:43:28 -07:00
Arthur Ozga
8f28a0264f
indent block comments according to first line
2017-06-08 17:15:47 -07:00
Arthur Ozga
6b4cd0bd03
Merge branch 'isInMultiLineComment' of https://github.com/aozgaa/TypeScript into isInMultiLineComment
2017-06-07 14:35:45 -07:00
Arthur Ozga
35b16ab7a8
temp
2017-06-07 14:01:42 -07:00
TravCav
b57830f7f9
enforcing curly braces ( #16315 )
2017-06-07 11:58:25 -07:00
Ryan Cavanaugh
1f3ef7df7a
Refactor refactor
2017-06-06 14:58:18 -07:00
Sheetal Nandi
8d771ca044
Merge branch 'master' into ownJsonParsing
2017-05-30 13:03:23 -07:00
Sheetal Nandi
7bd9e092ac
Make configFile on compiler options as non enumerable
2017-05-26 17:15:57 -07:00
Andy
d052bb83ca
Add project telemetry ( #16050 )
...
* Add project telemetry
* Respond to some PR comments
* Wrap event in a TelemetryEvent payload
* Replace paths with empty string instead of removing them entirely
* Add "version" property to payload
* Add telemetry for typeAcquisition settings
* Add "files", "include", "exclude", and "compileOnSave"
* Convert typingsOptions include and exclude to booleanss
* Add "extends", "configFileName", and "projectType"
* configFileName: Use "other" instead of undefined
* Add "languageServiceEnabled" telemetry
2017-05-25 13:30:27 -07:00
Sheetal Nandi
f1ea38d127
Merge branch 'master' into ownJsonParsing
2017-05-24 12:46:29 -07:00
Sheetal Nandi
7cf93f94d4
Report config file errors as part of syntactic diagnostic on the file
2017-05-23 15:56:20 -07:00
Andy Hanson
f94818da36
Also convert ClassificationTypeNames and CommandTypes/CommandNames
2017-05-22 10:40:59 -07:00
Ryan Cavanaugh
f6fbe61718
Refactoring support (squash)
2017-05-19 10:45:49 -07:00
Ryan Cavanaugh
ab3ffa22da
Add flag to allow local plugin loading
2017-05-17 19:52:57 -07:00
Sheetal Nandi
ea60e9966d
Get configFiles as part of file names
2017-05-15 16:07:08 -07:00
Sheetal Nandi
d7e9609ae5
Merge branch 'master' into ownJsonParsing
2017-05-11 09:10:35 -07:00
Mohamed Hegazy
0736d8e3d0
Merge pull request #15283 from Microsoft/Fix15237
...
Return Diagnostic.category from the server
2017-04-20 14:20:13 -07:00
Mohamed Hegazy
24814ec387
Merge pull request #15260 from Microsoft/Fix15200
...
Fix #15200 : Query for semantic errors on .js files with '@ts-check' with no config file
2017-04-20 13:46:52 -07:00
Mohamed Hegazy
5d7c75d88d
Add a source property on Diagnostic
2017-04-20 13:22:55 -07:00
Mohamed Hegazy
420908eb63
Change function name and clarify comment
2017-04-19 17:47:51 -07:00
Mohamed Hegazy
75cdb47cfa
Return Diagnostic.category from the server
2017-04-19 17:12:20 -07:00
Zhengbo Li
e8fd1cf466
Support project root path for controlling config file searching depth ( #15238 )
...
* stops at projectRootPath when searching config file
* Add tests
* Update editorServices.ts
Remove extra `true &&`
2017-04-19 11:42:24 -07:00