Commit Graph

2212 Commits

Author SHA1 Message Date
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
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
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
Paul van Brenk
fad25747a7 Merge pull request #8469 from Microsoft/tsconfigParsingImprovements
Add propertybag to parsed tsconfig.json file.
2016-05-06 13:33:01 -07:00
Paul van Brenk
88da665dff CR Feedback 2016-05-06 10:27:58 -07:00
Paul van Brenk
8aff38e128 Add the entire tsconfig as a raw property to the parsed config. 2016-05-06 10:12:12 -07:00
František Žiačik
e11b08fa91 Simplified check for indentation difference 2016-05-06 10:09:19 +02:00
František Žiačik
06d05b079e Fixes space-tab indentation issues 2016-05-05 23:35:36 +02:00
Vladimir Matveev
2b5bbfee60 use CompilerHost.realpath to resolve actual location for symlinks 2016-05-05 13:38:09 -07:00
Mohamed Hegazy
33abdadbeb Fix #8470: use ts.normalizePath before checking filename idenity 2016-05-05 11:22:12 -07:00
Paul van Brenk
4bc2314cbe Add propertybag to parsed tsconfig.json file.
This allows consumers of the LS to read properties added to the tsconfig.json
without having to worry about dealing with comments.
2016-05-04 14:50:58 -07:00
Mohamed Hegazy
baa56290ed Enable find all refs and rename for computed property names with literal expressions 2016-05-03 22:40:40 -07:00
Mohamed Hegazy
13aff17975 Fix #8415: Add method declaration to contextually typed locations when searching for symbols 2016-05-03 17:08:06 -07:00
Mohamed Hegazy
afaffb10e5 Merge pull request #8366 from Microsoft/Fix7611-2
Fix #7611: Add support for String Literal Types in find all refs and occurances
2016-05-02 11:29:31 -07:00
Stanislav Sysoev
9adc42a20c Remove name length limit in navigation bar service for function expression 2016-04-30 21:48:30 +03:00
Mohamed Hegazy
0cd0e0b5ea Code review comments 2016-04-29 17:04:53 -07:00
Mohamed Hegazy
423503c883 Fix #7611: Add support for String Literal Types in find all refs and occurances 2016-04-28 23:29:10 -07:00
zhengbli
b85b0046c3 Fix indentation for array items 2016-04-28 17:32:20 -07:00
Mohamed Hegazy
743fa3c32d Fix #8271: Add undefined type to index signatures 2016-04-25 10:40:14 -07:00
Mohamed Hegazy
d0cfe43d88 Merge pull request #8210 from Microsoft/Fix8162
Fix #8162 and #8173: Add root symbols to search in find all referecnes
2016-04-20 09:27:57 -07:00
Mohamed Hegazy
b85f34ba59 Fix #8162 and #8173: Add root symbols to search in find all referecnes 2016-04-19 19:30:11 -07:00
Zhengbo Li
3a8ebf109f Merge pull request #7954 from zhengbli/supportScriptKindOnServer
Add API support for LS host to specify script kind of a file to open
2016-04-19 15:41:47 -07:00
Vladimir Matveev
80df773c77 fix formatting for lines that start with continuation of multiline comments 2016-04-19 14:16:43 -07:00
Daniel Rosenwasser
d5a27a196e Bump TS services version to 0.5. 2016-04-18 10:12:40 -07:00
Paul van Brenk
96deb553d5 Script side implementation for Brace Completion. (#7587)
* Script side implementation for Brace Completion.

This needs updated Visual Studio components to work.

* Changed CharacterCodes to number, to keep the API simple

* CR feedback

* CR feedback and more JSX tests

* Swapped 2 comments

* typo
2016-04-15 11:38:42 -07:00
Mohamed Hegazy
8c8eaaa2a2 Check for class expressions when finding related symbols in base types 2016-04-14 11:48:35 -07:00
Sheetal Nandi
41c1a5b497 Merge pull request #7945 from Microsoft/renameAndFindRef
Fixes rename for destructuring, named imports and default imports
2016-04-13 15:46:43 -07:00
Sheetal Nandi
c492fc6369 Update the entry point to return property symbol of destructuring assignment 2016-04-13 14:50:41 -07:00
Daniel Rosenwasser
5b0b09ca62 Merge pull request #8056 from weswigham/remove-custom-no-null-rule
Remove custom no-null rule, use tslint builtin no null rule
2016-04-13 00:28:24 -07:00
Wesley Wigham
37a0e8f502 Remove custom no-null rule, use tslint builtin no null rule 2016-04-13 02:09:14 -04:00
Vladimir Matveev
376c493e67 include type reference directives in .d.ts. files 2016-04-11 21:36:07 -07:00
Sheetal Nandi
958a6a41ad Some restructuring according to PR feedback 2016-04-11 16:53:49 -07:00
Sheetal Nandi
94961463fc Rename of getPropertySymbolIfObjectBindingPatternWithoutPropertyName to getPropertySymbolOfObjectBindingPatternWithoutPropertyName 2016-04-11 15:25:25 -07:00
Sheetal Nandi
529bdd4ea6 PR feedback 2016-04-11 14:56:12 -07:00
Sheetal Nandi
7a09e2f0e9 PR feedback 2016-04-11 14:31:15 -07:00
Sheetal Nandi
c2e12efc89 Completion list of named imports shouldnt contain default export member
Fixes #6124
2016-04-11 13:33:16 -07:00