Commit Graph
54 Commits
Author SHA1 Message Date
Cyrus Najmabadi aeb428e9e5 Fix incremental parsing bug due to non invalidating cached data in nodes. 2014-09-05 17:59:52 -07:00
Daniel Rosenwasser 41d8d6c4e1 Merge pull request #549 from Microsoft/getOccurrences_switchCaseDefault
Get occurrences for switch/case/default/break keywords.
2014-08-28 11:41:33 -07:00
Mohamed Hegazy 0f9c1adcd8 Merge branch 'master' into getReferences 2014-08-27 16:21:16 -07:00
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 8ab4df0e25 Added tests. 2014-08-26 14:18:09 -07:00
Daniel Rosenwasser 558be4ea22 Implemented getOccsAtPos for try-catch-finally. 2014-08-26 11:48:31 -07:00
Mohamed Hegazy 3c972102ce add new unit test for used and unused imports 2014-08-26 11:28:07 -07:00
Mohamed Hegazy 062823c3d5 add new unit test for getScriptLexicalStructure 2014-08-26 11:03:15 -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
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 6965a06b04 Support getReferences on rightside of export assignment and import statements 2014-08-21 13:03:46 -07:00
Mohamed Hegazy bbeeb8df7f update getSymbolInfo 2014-08-21 00:13:29 -07:00
Mohamed Hegazy 74518a9b7f respond to code review comments 2014-08-20 22:46:47 -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
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 7f53783ed4 add new test for getReferences on enums 2014-08-18 13:03:45 -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 69c653d5e8 add some debug methods 2014-08-18 12:41:01 -07:00
Mohamed Hegazy f45ab4229c Enable some more tests 2014-08-18 12:40:31 -07:00
Mohamed Hegazy 6a92b21151 enable reference tests 2014-08-18 12:40:21 -07:00
Cyrus Najmabadi 323ecebf81 Add todo comment tests. 2014-08-15 14:47:10 -07:00
Mohamed Hegazy a8df9c1586 update test 2014-08-12 17:43:15 -07:00
Mohamed Hegazy c16d0df7b2 Disable test as it needs resolution which the test harness does not support yet 2014-08-12 17:43:02 -07:00
Vladimir Matveev ccaf904cfa support outlining for arbitrary blocks 2014-08-12 15:47:57 -07:00
Vladimir Matveev 785c083888 enable outlining atop of new compiler 2014-08-11 13:15:07 -07:00
Mohamed Hegazy 1667894ec6 Merge branch 'master' into getDefinition 2014-08-04 12:52:27 -07:00
Mohamed Hegazy 8956c4947c update test to add true and false values 2014-08-01 17:15:25 -07:00
Mohamed Hegazy e2b02c6bdd Add new go to def test 2014-08-01 17:12:00 -07:00
Mohamed Hegazy 41b7eb25a3 Make goto def jump to labels across function boundries 2014-08-01 17:11:41 -07:00
Mohamed Hegazy e6f930b53a support goto def on object literal properties 2014-08-01 15:09:12 -07:00
Ryan Cavanaugh fedbc1cd9e Fix compile errors in fourslash tests 2014-08-01 14:36:18 -07:00
Mohamed Hegazy 205974d453 Add new GotoDefinition tests 2014-08-01 14:29:42 -07:00
Mohamed Hegazy 76bca3a766 Add support for goto def on external module name 2014-08-01 13:07:52 -07:00
Ryan Cavanaugh acd3ba35cc Remove debugger statements from fourslash tests 2014-08-01 13:05:23 -07:00
Mohamed Hegazy a303c1eb27 Update getSymbolOfIdentifier to ensure we are gettting the alas symbol in both type and value positions 2014-08-01 12:55:20 -07:00
Mohamed Hegazy c406662bc4 Wire getDefinitionAtPosition using the new compiler implementation 2014-07-31 19:58:18 -07:00
Mohamed Hegazy 990669972a update error positions after rebase 2014-07-29 15:28:25 -07:00
Mohamed Hegazy 648af3801a react to changes after rebase 2014-07-29 12:35:26 -07:00
Mohamed Hegazy 4ad7452a58 Enable passing fourslash tests 2014-07-29 12:17:44 -07:00