3288 Commits

Author SHA1 Message Date
Andy Hanson
528a59fdde Clean up instance variables 2017-05-25 10:23:04 -07:00
Andy Hanson
98893efa11 findAllRefs: Replace 'interface State' and 'createState' with just 'class State' 2017-05-25 10:14:44 -07:00
Andy
23b2545586 Merge pull request #16031 from Microsoft/isWriteAccess
findAllReferences: Make "isWriteAccess" handle special declaration kinds
2017-05-23 11:11:18 -07:00
Klaus Meinhardt
f8aae89157 Update more return types to include undefined (#15903)
* Update more return types

* Update types of forEachChild callbacks

* fix line endings
2017-05-23 09:54:02 -07:00
Andy Hanson
7b0bd090e2 findAllReferences: Make "isWriteAccess" handle special declaration kinds 2017-05-23 09:14:19 -07:00
Andy Hanson
b1e100e494 Merge branch 'master' into kind 2017-05-23 07:02:30 -07:00
Arthur Ozga
567b10d71c Merge pull request #15545 from aozgaa/atTypesPrefixAndImportSuffix
At types prefix and import suffix
2017-05-22 16:53:04 -07:00
Nathan Shively-Sanders
bc914c02e6 Merge pull request #15932 from Microsoft/decl-emit-class-expr-as-type-literal
Declaration-emit class expressions as type literals
2017-05-22 15:46:38 -07:00
Nathan Shively-Sanders
860e8e88c8 Add error for class exprs w/private properties 2017-05-22 14:49:35 -07:00
Andy Hanson
f94818da36 Also convert ClassificationTypeNames and CommandTypes/CommandNames 2017-05-22 10:40:59 -07:00
Andy Hanson
694efba7d2 Fix use of getTokenAtPosition to use updated signature 2017-05-22 07:48:40 -07:00
Andy
24d98f2295 Merge pull request #15856 from Microsoft/jsdoc
Support for JSDoc in services
2017-05-22 07:46:52 -07:00
Basarat Ali Syed
2068192e5b export type used by an exported function (#15965) 2017-05-20 11:33:33 -07:00
andy-ms
b162097c3c Make ScriptElementKind and HighlightSpanKind string enums 2017-05-20 07:56:24 -07:00
Ryan Cavanaugh
f6fbe61718 Refactoring support (squash) 2017-05-19 10:45:49 -07:00
Andy Hanson
d646c727e7 Merge branch 'master' into jsdoc 2017-05-19 08:18:18 -07:00
Andy Hanson
ba884bc27b Merge branch 'master' into jsdoc 2017-05-19 08:14:52 -07:00
Andy
38ece3b703 Merge pull request #15737 from Microsoft/findAllRefs_module
Support find-all-references for a module specifier
2017-05-19 08:11:56 -07:00
Andy Hanson
eec82408d5 Debug.assert(false) -> Debug.fail() 2017-05-19 07:43:09 -07:00
Anders Hejlsberg
947abf5d6b Merge branch 'master' into literalEnumTypes
# Conflicts:
#	src/compiler/checker.ts
#	src/compiler/diagnosticMessages.json
#	src/compiler/types.ts
#	src/compiler/utilities.ts
#	src/services/completions.ts
2017-05-17 11:59:12 -07:00
Andy Hanson
dc40f5d6b9 Merge branch 'master' into jsdoc 2017-05-17 07:17:32 -07:00
Andy
fc4dd2b4e5 Merge pull request #15890 from Microsoft/todoComments
Services utilities: Combine `isInsideComment` with `isInComment`
2017-05-17 07:09:33 -07:00
Arthur Ozga
11019e4a4a Merge branch 'master' into typeToStringViaTypeNode 2017-05-16 15:35:31 -07:00
Andy Hanson
0defde7185 Services utilities: Combine isInsideComment with isInComment 2017-05-16 15:05:46 -07:00
Andy
ed7ae8060f Merge pull request #15880 from Microsoft/getDeclarationOfKind
getDeclarationOfKind: Improve type safety
2017-05-16 15:02:09 -07:00
Andy Hanson
ea42644c8f Replace unnecessary let with two consts 2017-05-16 10:25:46 -07:00
Andy Hanson
ffa21fe271 getDeclarationOfKind: Improve type safety 2017-05-16 09:38:26 -07:00
Andy Hanson
2d3c7bae24 break -> continue 2017-05-16 07:10:38 -07:00
Andy Hanson
4d028a81ee getTokenAtPositionWorker: Remove duplicate loop 2017-05-15 15:18:31 -07:00
Andy Hanson
0140e6df77 Remove goToImplementation test, not supported for parameters 2017-05-15 15:02:47 -07:00
Andy Hanson
38784b761a Support for JSDoc in services 2017-05-15 14:45:30 -07:00
Andy Hanson
5eb2bd08ac findAllReferences: In export default foo, symbol name is foo 2017-05-15 08:34:05 -07:00
Arthur Ozga
a32bc985bf respond to comments 2017-05-12 16:27:35 -07:00
Sheetal Nandi
303d7b209e Merge branch 'master' into completionListForClassElementDeclarations 2017-05-12 15:31:52 -07:00
Arthur Ozga
62dbf12825 Merge branch 'master' into typeToStringViaTypeNode 2017-05-12 13:09:43 -07:00
Sheetal Nandi
99ea9c730f Add the members of interfaces that need to be implemented to class element completion 2017-05-12 12:13:16 -07:00
Mohamed Hegazy
1becbf4d2c Merge pull request #15754 from charlespierce/string_literal_completion
Prevent Duplicate String Literal Completions
2017-05-12 11:07:00 -07:00
Andy
bed1e02f87 Merge pull request #15783 from Microsoft/goToDef-default
goToDefinition: Skip default and `=` imports
2017-05-12 11:00:41 -07:00
Andy Hanson
aaf6b83cb5 Don't goto aliased symbol with no declarations; and update tests 2017-05-12 10:26:39 -07:00
Andy Hanson
d6fa91edcd goToDefinition: Skip default and = imports 2017-05-11 15:49:30 -07:00
Andy Hanson
5a4be34aaf Merge branch 'master' into union-completion 2017-05-11 15:24:13 -07:00
Sheetal Nandi
588c4eca42 Filter out existing members of the class from the completion list 2017-05-11 14:19:35 -07:00
Andy
7a64de3aa9 Merge pull request #15772 from Microsoft/getWidth
findAllReferences: Clean up uses of `getWidth` and `getStart`
2017-05-11 13:23:10 -07:00
Andy
83beae7b8d Merge pull request #15751 from Microsoft/tsx-gotodef
Fix bug for goto-definition on a TSX constructor using an alias declaration
2017-05-11 13:12:22 -07:00
Andy Hanson
6d6cdac645 Handle escaped identifiers 2017-05-11 12:22:10 -07:00
Andy Hanson
20a70f99b1 findAllReferences: Clean up uses of getWidth and getStart 2017-05-11 11:58:54 -07:00
Sheetal Nandi
a8ad40f131 Add async to the list of class element completion keyword and refactoring according to feedback 2017-05-11 11:42:36 -07:00
Charles Pierce
cff19ab3d3 Switch map to be used as a set rather than a map 2017-05-11 10:42:25 -07:00
Charles Pierce
3c8732fab1 Prevent Duplicate String Literal Completions 2017-05-10 17:26:47 -07:00
jramsay
8cf8184a57 Merge pull request #15744 from Microsoft/CompileOnSaveFixInResolveModuleName
Fix compile on save issues in VS 2015
2017-05-10 16:09:38 -07:00