Commit Graph
2245 Commits
Author SHA1 Message Date
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
Andy Hanson 5bfdf69fbf Remove comment 2016-05-25 10:17:59 -07:00
Andy d26d0cea71 Merge pull request #8813 from Microsoft/navbar_interface
Include interfaces as childItems in navigation bar
2016-05-25 10:12:01 -07:00
Andy Hanson 109c05863e Include modules as childItems in navigation bar 2016-05-25 07:49:56 -07:00
Andy Hanson 91b473389b Include interfaces as childItems in navigation bar 2016-05-25 07:34:35 -07:00
Andy Hanson dbd30542a6 Include classes as childItems in navigation bar 2016-05-25 07:16:23 -07:00
Andy Hanson bd633c828f Lint all servicesSources 2016-05-25 06:45:52 -07:00
Ryan Cavanaugh 7173fa8d02 Merge pull request #8670 from RyanCavanaugh/fix8275
Automatically consume @types/ folders
2016-05-24 15:23:06 -07:00
Ryan Cavanaugh 4b133489a1 Add getDirectories to shims 2016-05-24 11:31:10 -07:00
Andy Hanson 11d51867f2 Include enums in childItems in navigation bar 2016-05-24 05:58:14 -07:00
Andy 5035df665d Merge pull request #8756 from Microsoft/no_navigate_to_import
Don't include imports in navigateTo if the imported declaration is also in the items and has the same name
2016-05-23 13:07:14 -07:00
Mohamed Hegazy 6438fd57c2 Merge branch 'master' into Fix8634 2016-05-23 10:04:30 -07:00
Andy Hanson 5e799b8773 Don't include imports in navigateTo if the imported declaration is also in the items and has the same name 2016-05-23 07:01:16 -07:00
Basarat Ali Syed 55475acdc1 chore comments to jsdoc 2016-05-23 19:27:27 +10:00
Mohamed Hegazy f573b1031b lint fixes 2016-05-19 13:31:21 -07:00
Ryan Cavanaugh 9ffc7a9df9 Merge pull request #8669 from ethanrubio/patch-1
Fix minor comment grammatical errors
2016-05-18 11:59:36 -07:00
Anders Hejlsberg 9a22d08422 Merge pull request #8625 from Microsoft/optionalClassProperties
Optional class properties
2016-05-18 11:32:50 -07:00
Ethan Rubio b8692a7fea Fix minor comment grammatical errors
This PR doesn't fix any particular issue. I cleaned up a variety of comment grammatical errors such as missing apostrophes and articles. Further, I made comment formatting more consistent with the rest of the project.
2016-05-18 07:56:45 -10:00
Andy Hanson fffbbffef4 Lint navigationBar.ts 2016-05-18 06:31:51 -07:00
Mohamed Hegazy 08fed17053 Fix getOccurances not picking up hte right file because of casing 2016-05-17 17:15:31 -07:00
Andy c62b6cb6fc Merge pull request #8603 from Microsoft/hover_over_comment
Fix bug: getTouchingPropertyName does not return undefined, but it may return the source file node
2016-05-17 12:39:50 -07:00
Andy cb6e444158 Merge pull request #8595 from Microsoft/declaration_expressions
Declaration expressions
2016-05-17 12:36:39 -07:00
Andy Hanson eabafc4b09 Add type aliases to navigation bar 2016-05-17 10:45:04 -07:00
Zhengbo Li 3fb16f5930 Merge pull request #8364 from zhengbli/i7503
Fix indentation for array items
2016-05-16 21:53:27 -07:00
Anders Hejlsberg 6b3fc7f310 Remove nullability from function types in language service 2016-05-16 09:23:29 -07:00
Andy Hanson bdd42eae90 Search for triple slash comments before getting a source node 2016-05-16 09:21:15 -07:00
Andy Hanson 8c5fe7d733 Change other uses of getTouchingPropertyName to check for node === sourceFile instead of undefined. 2016-05-16 06:37:49 -07:00
Anders Hejlsberg 20e2be2d51 Properly display optional methods in language service 2016-05-14 13:34:54 -07:00
Andy Hanson a1cc88b080 Fix bug: getTouchingPropertyName does not return undefined, but it may return the source file node 2016-05-13 14:44:15 -07:00
Andy Hanson 81a43f0c7e Look for declaration expressions in nested expressions 2016-05-13 08:38:52 -07:00
Andy Hanson 3e32a6131b Include declaration expressions (class expressions and function expressions) in named declarations 2016-05-13 08:26:41 -07:00
Andy Hanson b1cd3de89c Use NodeFlags.ParameterPropertyModifier rather than NodeFLags.AccessibilityModifier to detect parameter properties.
This is a continuation of #8555.
2016-05-12 13:26:35 -07:00
Andy Hanson 3334134243 Fix #7966: A non-anonymous type can still fail to have a symbol. For example, an intersection type.
(We still need the check for the Anonymous flags or else anonymous function tooltips will look like `var lambdaFoo: (Anonymous function)(a: number, b: number) => number'` instead of `var lambdaFoo: (a: number, b: number) => number`)
2016-05-12 07:28:06 -07:00
Vladimir Matveev 5e94c76190 expose code path that will use Path type to avoid redundant string conversions 2016-05-10 23:43:26 -07:00
Mohamed Hegazy 0de410627e Code review comments 2016-05-08 15:59:15 -07:00
Mohamed Hegazy 02bae234c6 Merge branch 'master' into Fix8415 2016-05-08 15:31:48 -07:00
Mohamed Hegazy 955cc69c70 Merge pull request #8481 from Microsoft/Fix8470-2
Fix #8470: use ts.normalizePath before checking filename idenity
2016-05-06 16:55:47 -07:00
Mohamed Hegazy de177d48d8 Merge pull request #8487 from ziacik/fix-space-tab-indentation
Fix space tab indentation
2016-05-06 15:43:14 -07:00