142 Commits

Author SHA1 Message Date
Daniel Rosenwasser
3825c9b542 Handled function boundaries. 2014-08-27 12:12:45 -07:00
Daniel Rosenwasser
88f37e579c Support for switch/case/default/break in getOccs 2014-08-26 17:24:11 -07:00
Daniel Rosenwasser
1f77198c4c Made getOccs more resilient. 2014-08-26 12:27:54 -07:00
Daniel Rosenwasser
558be4ea22 Implemented getOccsAtPos for try-catch-finally. 2014-08-26 11:48:31 -07:00
Daniel Rosenwasser
5d15cd22b1 Beginning special casing for getOccurrencesAtPosition. 2014-08-26 11:44:30 -07:00
Daniel Rosenwasser
f948f5d3f7 Re-added fourslash tests, corrected failures. 2014-08-25 17:35:18 -07:00
Daniel Rosenwasser
aef859f442 Merge branch 'master' into getReferences
Conflicts:
	src/services/services.ts
2014-08-25 16:51:35 -07:00
Daniel Rosenwasser
5c1b245d1d Initial work on getOccurrencesAtPosition. 2014-08-25 14:20:59 -07:00
Mohamed Hegazy
892baf0d6c use Identifiers list from the parser to filter getReferences instead of bloomFilters 2014-08-22 22:27:05 -07:00
Mohamed Hegazy
695379404a remove bloom filters 2014-08-22 22:09:36 -07:00
Mohamed Hegazy
8fcc8b26ba Ensure range for string literal references are within the quotes to ensure rename is successful 2014-08-22 22:07:45 -07:00
Mohamed Hegazy
c741e26031 Support external module names correctelly 2014-08-22 21:28:27 -07:00
Mohamed Hegazy
fefe2fb093 Implement getScope 2014-08-22 16:30:21 -07:00
Cyrus Najmabadi
9aee22b943 Merge branch 'master' into newLanguageService
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/harness/fourslash.ts
	src/harness/harness.ts
	src/harness/harnessLanguageService.ts
	src/harness/rwcRunner.ts
	src/services/services.ts
2014-08-22 14:23:14 -07:00
Mohamed Hegazy
dbf9e47832 use isDeclarationOrFunctionExpressionOrCatchVariableName instead of isDeclarationIdentifier in the language service and remove unused functions 2014-08-21 13:34:50 -07:00
Mohamed Hegazy
6965a06b04 Support getReferences on rightside of export assignment and import statements 2014-08-21 13:03:46 -07:00
Dick van den Brink
606601bc7c Fixed TypeScript.declarationEmitGetAccessorFunctionTime having a wrong value 2014-08-21 21:27:30 +02:00
Mohamed Hegazy
bbeeb8df7f update getSymbolInfo 2014-08-21 00:13:29 -07:00
Mohamed Hegazy
e0ffc47acc Merge branch 'master' into getReferences
Conflicts:
	src/compiler/checker.ts
2014-08-20 22:55:41 -07:00
Mohamed Hegazy
74518a9b7f respond to code review comments 2014-08-20 22:46:47 -07:00
Sheetal Nandi
6e4d0ef1ef Merge pull request #452 from Microsoft/emitComments
Emit comments in the .js and .d.ts files
2014-08-20 17:07:24 -07:00
Mohamed Hegazy
978c2ef670 Fix getReferences for labels 2014-08-20 15:35:30 -07:00
Mohamed Hegazy
55512faa0d Use new tree to get Bloom filters 2014-08-20 11:25:39 -07:00
Adam Freidin
828f4c9340 spelling fix 2014-08-19 08:01:12 -07:00
Cyrus Najmabadi
933f416d25 Add bits in tokens to mark if they contain leading/trailing trivia. 2014-08-19 01:37:35 -07:00
Jason Freeman
f949c5014a Merge branch 'master' into typeWriter
Conflicts:
	src/compiler/types.ts
2014-08-18 19:57:35 -07:00
Jason Freeman
a08aa14a74 Address PR feedback 2014-08-18 18:51:18 -07:00
Mohamed Hegazy
54d8722189 Merge branch 'master' into classifier 2014-08-18 14:33:30 -07:00
Mohamed Hegazy
2d4cec43f5 Updates after merge from master 2014-08-18 13:14:20 -07:00
Mohamed Hegazy
3251b7e234 Support filtering references based on meaning 2014-08-18 13:06:18 -07:00
Mohamed Hegazy
f8122977a7 include inherited properties from base classes and interfaces in getReference results 2014-08-18 13:03:55 -07:00
Mohamed Hegazy
922d6d6258 support getReferences on properties and index access wiht numeric and string values 2014-08-18 13:03:35 -07:00
Mohamed Hegazy
d419982422 Support getReferences on contextually typed object literal properties 2014-08-18 13:03:25 -07:00
Mohamed Hegazy
55d002117c support getReferences on object literals 2014-08-18 13:00:31 -07:00
Mohamed Hegazy
fa1033ab7a add support for getReferences on property string index access 2014-08-18 12:41:22 -07:00
Mohamed Hegazy
bfd13347d4 Handel getRefrences for labels 2014-08-18 12:41:12 -07:00
Mohamed Hegazy
901e8a83be Add basic getReferences implementation 2014-08-18 12:40:51 -07:00
Mohamed Hegazy
5e9b2b5a2d enbale getReferencesAtPosition 2014-08-18 12:40:00 -07:00
Mohamed Hegazy
8151f5e8ed extract helpers 2014-08-18 12:39:49 -07:00
Cyrus Najmabadi
3439029a76 Indentation. 2014-08-16 19:20:40 -07:00
Cyrus Najmabadi
de114d9b6c Rename certain parameters. 2014-08-16 19:03:07 -07:00
Cyrus Najmabadi
bc71ef009e Remove unnecessary LS code. 2014-08-16 16:07:55 -07:00
Cyrus Najmabadi
87ebb6b2da add rename localization messages. 2014-08-15 16:22:58 -07:00
Cyrus Najmabadi
edd82cee48 Fix json for text spans. 2014-08-15 15:34:11 -07:00
Cyrus Najmabadi
7f0ae3f882 Change marshalling form for indentation. 2014-08-15 15:06:23 -07:00
Cyrus Najmabadi
751ac3103d Stop referencing 'this' in functions. 2014-08-15 14:39:45 -07:00
Jason Freeman
5574b58d64 Adjust TypeChecker to have separate method for getApparentType 2014-08-15 14:37:29 -07:00
Jason Freeman
537d8785f3 Change getTypeOfNode to take an apparentType flag 2014-08-15 14:36:49 -07:00
Jason Freeman
12a0909fdd Add getTypeOfNode function to checker API 2014-08-15 14:36:00 -07:00
Vladimir Matveev
848e5db646 defer creation of fullTypeCheckChecker 2014-08-14 17:57:17 -07:00