Commit Graph
2298 Commits
Author SHA1 Message Date
Zhengbo Li 7bb739fa40 Merge pull request #9083 from zhengbli/i6853
Check use before declaration if both the use and decalration are not in module file
2016-06-15 12:43:30 -07:00
Mohamed Hegazy 784a76530c Fix #9173: clear out lib and types before creating a program in transpileModule 2016-06-14 17:44:57 -07:00
Nathan Shively-Sanders 57f66b8efa Merge pull request #9148 from Microsoft/add-isDefinition-to-references
Add isDefinition to references
2016-06-14 11:12:53 -07:00
Nathan Shively-Sanders 102a890214 Use isLiteralComputedPropertyDeclarationName 2016-06-14 10:27:36 -07:00
Andy Hanson 6b05ecab5b Fix bug: do unescaping in the right place, so that it only affects escaped javascript identifiers 2016-06-14 09:39:48 -07:00
Nathan Shively-Sanders 7bf40c4935 Add more isDefinition tests and fix computed property bug 2016-06-14 09:39:30 -07:00
Nathan Shively-Sanders 792b23edc2 Make isDefinition required.
For the deprecated getOccurrencesAtPosition, isDefinition is always false.
2016-06-14 08:48:26 -07:00
Andy Hanson 1b4b01eed5 Unescape identifiers used in code completion 2016-06-14 08:13:55 -07:00
Ryan Cavanaugh f9923efd09 Merge pull request #9095 from RyanCavanaugh/implicitTypeReferences
Implicit type inclusion changes
2016-06-13 16:33:22 -07:00
Nathan Shively-Sanders 5a7f7469ea Add isDefinition to ReferenceEntry
Clients can now easily tell if the reference is to a definition or a
usage.
2016-06-13 13:21:47 -07:00
Ryan Cavanaugh e8ac1abbd6 Baseline fix, CR comments, lint 2016-06-13 09:33:49 -07:00
Yui fb050f17f6 Use camel-case instead of snake-case (#9134) 2016-06-13 09:23:37 -07:00
Ryan Cavanaugh 576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh 9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
tinza123 85ac67f4ee check the declaration and use order if both are not in module file 2016-06-10 11:07:01 -07:00
Andy Hanson 75c1d77606 Merge branch 'master' into shorthand_ambient_module 2016-06-09 11:43:18 -07:00
Andy 75b82938f5 Merge pull request #8988 from Microsoft/transpile_options
Support using string values in enums for CompilerOptions in transpile
2016-06-09 09:04:23 -07:00
Andy Hanson 9ef9b743d1 Fix module loading error
(commandLineOptions_stringToEnum would be undefined if optionDeclarations wasn't loaded yet)
2016-06-09 08:22:58 -07:00
Mohamed Hegazy 6446827886 addExportToArgumentListKind 2016-06-08 16:54:24 -07:00
Mohamed Hegazy 17b5415f8c Merge pull request #8428 from Microsoft/stringLiteralCompletions
Add support for completions inside string literals
2016-06-08 14:42:48 -07:00
Mohamed Hegazy cc5dd5bf79 Add comments 2016-06-08 13:22:15 -07:00
Mohamed Hegazy 9027da4d17 Merge branch 'master' into stringLiteralCompletions 2016-06-08 13:19:12 -07:00
Nathan Shively-Sanders 179d42323a Merge pull request #9010 from Microsoft/merge-jsdoc-of-assignment-and-function-expression
Merge JSDoc of assignments from function expressions
2016-06-08 13:03:03 -07:00
Zhengbo Li cdf4cded15 Merge pull request #9002 from zhengbli/moreTsserverTests
Add tests for tsserver project system
2016-06-07 21:56:09 -07:00
Nathan Shively-Sanders 17cc206271 Merge JSDoc of assignments from function expressions 2016-06-07 16:22:18 -07:00
Zhengbo Li 37949a3d65 more tests for module resolution change and exclude 2016-06-07 15:52:34 -07:00
Andy Hanson 1fe8a08085 Respond to PR comments 2016-06-06 13:31:37 -07:00
Andy Hanson d9ec5125be Support using string values in enums for CompilerOptions in transpile methods 2016-06-06 11:31:22 -07:00
Andy Hanson 543b484ec5 Remove trailing whitespace 2016-06-06 08:17:14 -07:00
Andy Hanson 7e9cb46a1a Support shorthand ambient module declarations 2016-06-02 12:55:48 -07:00
zhengbli 630517b8ad Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc 2016-05-31 15:30:42 -07:00
zhengbli 58fdd011df avoid eating all preceding empty lines 2016-05-31 14:11:39 -07:00
zhengbli 3433a7800a Fix formatOnEnter for double newlines 2016-05-31 12:35:12 -07:00
Zhengbo Li 5261467a32 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc 2016-05-31 10:39:23 -07:00
zhengbli 59b188d4ca Add navigationTo test for jsdoc typedef 2016-05-31 02:05:26 -07:00
zhengbli 18ee4b0a1e cr feedback 2016-05-30 22:11:43 -07:00
zhengbli e69976c4b7 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
# Conflicts:
#	src/services/utilities.ts
2016-05-26 14:50:09 -07:00
Andy Hanson 63b5790dcd Merge branch 'master' into navbar_root 2016-05-26 13:29:33 -07:00
Andy Hanson fdd5c06b63 Include type aliases as childItems in navigation bar 2016-05-26 12:18:19 -07:00
Andy Hanson 58d69cda64 Fix localeCompare differences between node versions
node 6.2.0: "a".localeCompare("A") is -1.
node 0.10.45: "a".localeCompare("A") is 32.
2016-05-26 10:35:18 -07:00
Andy Hanson f012159220 Revert previous commit 2016-05-26 09:59:45 -07:00
Andy Hanson cc5b103b2e Fix localeCompare differences in node versions 2016-05-26 09:45:40 -07:00
Andy Hanson fe77f541f6 Always include a root node in the navigation bar.
This lets us change the navigation bar counting algorithm to traverse from the root only, so it never has duplicate nodes.
2016-05-26 08:40:35 -07:00
Andy 27a1e91268 Merge pull request #8814 from Microsoft/navbar_modules
Include modules as childItems in navigation bar
2016-05-26 07:07:02 -07:00
Andy cd5a4439b9 Merge pull request #8811 from Microsoft/navbar_class_child_item
Include classes as childItems in navigation bar
2016-05-26 06:48:18 -07:00
Andy Hanson 1be09c9c57 Merge branch 'navbar_class_child_item' into navbar_modules 2016-05-26 06:23:01 -07:00
Vladimir Matveev df4ab083f4 Merge pull request #8829 from Microsoft/tslintPerf
add a extra check to avoid rescans in Node.getStart
2016-05-25 16:54:25 -07:00
Andy Hanson 1bae2c4982 Merge branch 'master' into navbar_class_child_item 2016-05-25 13:49:31 -07:00
Vladimir Matveev b3531b0158 add a extra check to avoid rescans 2016-05-25 12:25:53 -07:00
Andy Hanson f7ff3eb562 Remove uses of null in services 2016-05-25 11:42:48 -07:00