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
jramsay
2e97cffe61
Merge pull request #12898 from Microsoft/NavigateToFixForIIFE
...
NavigateTo is not working correctly for declarations in IIFEs
2016-12-14 10:56:44 -08:00
Jason Ramsay
97641e7c3c
NavigateTo is not working correctly for declarations in IIFEs
...
Fix: visit the node's children even when the function declaration name is undefined
2016-12-13 16:47:32 -08:00
Mohamed Hegazy
c9111a0dbb
Fix https://github.com/Microsoft/TypeScript/issues/12316 : Add method to known tag names
2016-12-13 16:36:54 -08:00
Vladimir Matveev
7da3383504
do not use ScriptVersionCache for closed files ( #12777 )
2016-12-08 16:17:42 -08:00
anubmat
9dd769dc3c
Merge pull request #12741 from Microsoft/allowBracketCompletionInComments
...
Allow brace completion in comments
2016-12-08 14:37:11 -08:00
Anubha Mathur
7073b3513b
removing unneccessary comments
2016-12-08 10:07:11 -08:00
Anubha Mathur
31dde97bbd
Allowing brace completion inside comments in JS and TS files
2016-12-07 15:58:05 -08:00
Anubha Mathur
081c692197
replacing let with const
2016-12-07 11:14:24 -08:00
Anubha Mathur
942c3c6d77
Merge remote-tracking branch 'origin/master' into correctCommentsScaffolding
2016-12-06 17:45:49 -08:00
Sheetal Nandi
7d049c2742
Write property name of destructuring pattern explicitly
...
There wont be any symbol for the property name but we already know it is a property name
Fixes #12166
2016-12-06 11:42:44 -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
Vladimir Matveev
b060107b51
recompute character to column when comparing indentations ( #12375 )
...
recompute character to column when comparing indentations
2016-11-21 11:34:09 -08:00
Nathan Shively-Sanders
409253145e
Merge pull request #12335 from Microsoft/getJSDoc-cleanup
...
getJSDocs cleanup
2016-11-21 11:30:27 -08:00
Andy Hanson
7c1f33f913
Fix lint errors
2016-11-21 10:42:54 -08:00
Jason Ramsay
5a9451ae23
Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable
2016-11-18 18:14:32 -08:00
Nathan Shively-Sanders
0c5429d3b7
Add missed jsDoc rename in services' Node implementation
...
Why would you implement an interface using a *class*?
2016-11-18 15:48:31 -08:00
Nathan Shively-Sanders
91e6bce34c
Address PR comments
2016-11-18 15:44:15 -08:00
Nathan Shively-Sanders
7caee79ce7
Rename getJSDocComments -> getCommentsFromJSDoc
2016-11-18 15:10:19 -08:00
Nathan Shively-Sanders
5a05b94fb5
Clean up getJSDocs
...
1. Get rid of parent check.
2. Use a couple of nested functions, one of them a recursive worker.
2016-11-17 13:27:57 -08:00
Paul van Brenk
52ec508e27
Code fix for missing imports ( #11768 )
...
* Add codefix for missing imports + tests
* Re-order and cleanup
* refactor
* make tests pass
* Make import specifier for new imports more comprehensive
* Fix existing import cases
* refactor
* Fix multiple import statement case
* add multiple code fixes and code action filtering and polishing
* not using the generic verify method for import fixes.
* Correct insert position for new imports
* improve the code action filtering logic
* Fix line ending issue
* cache where we can
2016-11-16 16:01:16 -08:00
Anubha Mathur
c970c78985
Add parameter type in function support comments for JS files
2016-11-16 13:59:06 -08:00
Ron Buckton
0dd96f52e8
Merge branch 'master' into streamlineDestructuring
2016-11-15 13:38:56 -08:00
Paul van Brenk
1924298d87
Merge branch 'master' into unusedidentifier
2016-11-15 10:17:37 -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
Mohamed Hegazy
964f9c5fe2
Make failedLookupLocations an array
2016-11-14 13:24:03 -08:00
Mohamed Hegazy
57a602b924
Include no types in services
2016-11-14 12:47:04 -08:00
Mohamed Hegazy
4782563ee3
Filter JS files from resolutions sent to VS through shims
2016-11-14 12:46:56 -08:00
Anders Hejlsberg
f437c8f318
Merge pull request #12114 from Microsoft/mappedTypes
...
Mapped types
2016-11-13 15:39:32 -08:00
Vladimir Matveev
b15d144955
switch to tslint@next ( #12201 )
2016-11-13 13:34:18 -08:00
Vladimir Matveev
3b09010c7c
enable syntactic features if project size exceeded the limit, send events when state of language service changes
2016-11-11 17:35:11 -08:00
Mohamed Hegazy
ea309fe504
Update version ( #12162 )
2016-11-10 16:30:01 -08:00
Anders Hejlsberg
64d269885c
Merge branch 'master' into mappedTypes
...
# Conflicts:
# src/compiler/checker.ts
2016-11-10 11:17:53 -08:00
Nathan Shively-Sanders
be5e5fb872
Merge pull request #11150 from Microsoft/object-spread
...
Object spread/rest
2016-11-10 09:28:58 -08:00
Vladimir Matveev
28cc938503
(signature help) type parameter lists are never variadic ( #12112 )
2016-11-08 16:10:34 -08:00
Anders Hejlsberg
7ca5923214
Merge branch 'master' into mappedTypes
...
# Conflicts:
# src/compiler/checker.ts
2016-11-08 07:12:35 -08:00
Vladimir Matveev
9e3d6efb19
reduce set of files being watched, increase polling interval ( #12054 ) ( #12092 )
2016-11-07 21:13:11 -08:00
Ron Buckton
ddc4ae7eac
Reuse subtree transform flags for incrementally parsed nodes ( #12088 )
2016-11-07 16:03:04 -08:00
Nathan Shively-Sanders
f03fecbd31
Merge branch 'master' into object-spread
2016-11-07 11:02:49 -08:00
Anders Hejlsberg
de93876abe
Correct symbol display for type parameter of mapped type
2016-11-07 09:43:20 -08:00
Nathan Shively-Sanders
a84c7aeea4
Rename SpreadElementExpression -> SpreadAssignment
...
and SpreadExpression (formerly SpreadElementExpression) -> SpreadElement
2016-11-07 08:36:03 -08:00
Paul van Brenk
40c0cbd7b5
Clean up
2016-11-03 13:28:08 -07:00
Paul van Brenk
2f453ce674
Handle most module cases
2016-11-03 12:48:28 -07:00
Vladimir Matveev
ab75ea75d3
module resolution: prefer locally defined ambient modules, reuse resolutions to ambient modules from the old program ( #11999 )
...
module resolution: prefer locally defined ambient modules, reuse resolutions to ambient modules from the old program
2016-11-02 14:41:26 -07:00
Nathan Shively-Sanders
2ae6ecc1a5
Merge branch 'master' into object-spread
2016-11-02 10:57:20 -07:00
Paul van Brenk
71960187cd
Removed unused, confusing cases
2016-11-01 16:43:17 -07:00
Paul van Brenk
b59714ea7e
Add more testcases and simplify
2016-11-01 16:31:23 -07:00
Nathan Shively-Sanders
39b9163715
Rename Experimental transform to ESNext
...
1. Spread/rest are no longer experimental.
2. We need a place to put stage 3 ES features.
2016-10-27 16:03:01 -07:00
Andy Hanson
12f6dcefa1
Revert "Merge pull request #11354 from Microsoft/map4"
...
This reverts commit adfdae0dc47db5ad8248d26929a7b31cb895a539, reversing
changes made to aad663cebf6a89f7029af57d8cb6a0a011854978.
2016-10-27 15:50:21 -07:00
Nathan Shively-Sanders
58ffb4e668
Merge branch 'master' into object-spread
2016-10-27 15:29:21 -07:00