Commit Graph
87 Commits
Author SHA1 Message Date
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
Vladimir Matveev 848e5db646 defer creation of fullTypeCheckChecker 2014-08-14 17:57:17 -07:00
Vladimir Matveev 72fc5dbf9b added fullTypeCheckFlag to TypeChecker 2014-08-13 15:12:51 -07:00
Mohamed Hegazy 2a106bf923 Merge pull request #427 from sparecycles/fix/reference-static-regex
fix: /// <reference path="..." static='true' />
2014-08-12 17:46:06 -07:00
Vladimir Matveev ccaf904cfa support outlining for arbitrary blocks 2014-08-12 15:47:57 -07:00
Mohamed Hegazy 0b41303df2 Ensure scriptsnapshot is set when creating a source file 2014-08-12 13:33:48 -07:00
Vladimir Matveev a409ec9790 switch to getStart 2014-08-11 22:57:32 -07:00
Vladimir Matveev bf3fbe347a adressed CR feedback: use pos instead of full start 2014-08-11 22:34:58 -07:00
Vladimir Matveev 5e0221eeac switch to using OutliningSpan instead of TextSpan to better support language service 2014-08-11 15:08:40 -07:00
Vladimir Matveev 785c083888 enable outlining atop of new compiler 2014-08-11 13:15:07 -07:00
Adam Freidin 988cec595d fix: /// <reference path="..." static='true' />
The second quote of the static attribute was incorrectly
matched against the first quote of the path attribute.
2014-08-11 10:38:41 -07:00
Dick van den Brink 877b0cfa1a Fixed typo soruceFile -> sourceFile 2014-08-08 20:19:51 +02:00
Dick van den Brink e0f738429f Added missing semicolons 2014-08-07 21:08:38 +02:00
Mohamed Hegazy 9222711ace change name of the flag to emitBOM 2014-08-06 14:24:47 -07:00
Mohamed Hegazy b1335e1795 add generateBOM switch 2014-08-06 11:37:59 -07:00
Mohamed Hegazy 63b835a7a9 Remove ByteOrderMark 2014-08-06 11:13:49 -07:00
Mohamed Hegazy 0c9510e6f1 Wire cleanupSemanticCache 2014-08-04 17:23:09 -07:00
Mohamed Hegazy 93a48a314e respond to code review comments 2014-08-04 16:56:58 -07:00
Mohamed Hegazy acfcf40735 Add uptodate checks for program object to avoid recomputation if not needed 2014-08-04 16:09:25 -07:00
Mohamed Hegazy 21fb3bc675 Update check for syntax tree existance 2014-08-04 15:36:26 -07:00
Mohamed Hegazy a48ec090ae add missing semicolons 2014-08-04 15:07:42 -07:00
Mohamed Hegazy f8228e1544 Change variabel names:
* documentsByName to sourceFilesByName
* getSymbolOfIdentifierLikeNode to getSymbolInfo
2014-08-04 13:37:17 -07:00
Mohamed Hegazy c92addf821 Revert "remove documentsByName"
This reverts commit 5d26599811.
2014-08-04 13:20:02 -07:00
Mohamed Hegazy 5c350e4d3d adapt to changes after merge 2014-08-04 12:56:48 -07:00
Mohamed Hegazy 1667894ec6 Merge branch 'master' into getDefinition 2014-08-04 12:52:27 -07:00
Mohamed Hegazy 5d26599811 remove documentsByName 2014-08-04 12:26:44 -07:00
Mohamed Hegazy 4da02cbc06 rename values named document to sourceFile 2014-08-04 12:00:47 -07:00
Mohamed Hegazy aa75de9c70 Consolidate Document and SoruceFile 2014-08-04 12:00:37 -07:00
Mohamed Hegazy 41b7eb25a3 Make goto def jump to labels across function boundries 2014-08-01 17:11:41 -07:00
Mohamed Hegazy 8606873db6 move identifier-like node handleing (e.g. super, this, string property access etc..) to the checker 2014-08-01 17:11:11 -07:00
Mohamed Hegazy e6f930b53a support goto def on object literal properties 2014-08-01 15:09:12 -07:00
Mohamed Hegazy 76bca3a766 Add support for goto def on external module name 2014-08-01 13:07:52 -07:00
Mohamed Hegazy 12490755a8 Fix typos 2014-08-01 11:26:31 -07:00
Mohamed Hegazy c406662bc4 Wire getDefinitionAtPosition using the new compiler implementation 2014-07-31 19:58:18 -07:00
Mohamed Hegazy 732ffc0d5d More changes to address code review comments 2014-07-31 19:04:55 -07:00
Mohamed Hegazy 0a206d8855 Respond to code review comments:
* Change comment to say "noresolve=false" in shims.ts https://github.com/Microsoft/TypeScript/commit/05eeba5bc95f9a39ceb9c17b5674ed7135d74aed
* Switch newline to "\r\n" https://github.com/Microsoft/TypeScript/commit/9395eeaedbb4279480c306f88e7916fa9694de31
* Use hasOwnProperty for Map types https://github.com/Microsoft/TypeScript/commit/212c18460281cac5b5be5239d45f7d04212f62d8
* Switch "s" to "S" in typescriptServices.ts filename https://github.com/Microsoft/TypeScript/commit/9061e58dffbeaf3f72cee1c6ca6d8fc0b98b1ea5
* Change method names in Node to be more detailed
2014-07-30 14:46:33 -07:00
Mohamed Hegazy f5091c226f Use correct casing for file references 2014-07-29 15:03:35 -07:00
Mohamed Hegazy 0a08a42abe enbale fourslash tests 2014-07-29 12:17:33 -07:00
Mohamed Hegazy 4e570248d6 remove unused methods 2014-07-29 12:16:43 -07:00
Mohamed Hegazy 96a9cc9b55 remove unneded ts. qualifiers 2014-07-29 12:16:11 -07:00
Mohamed Hegazy e9f0c0ae49 Fix noimplicitany issues 2014-07-29 12:16:01 -07:00
Mohamed Hegazy 87ddcbf632 switch document to an interface 2014-07-29 12:15:51 -07:00
Mohamed Hegazy 89161c7bc7 move DocumentRegistry to an interface 2014-07-29 12:15:41 -07:00
Mohamed Hegazy ee8c4e961e remove _ prefix when applicable 2014-07-29 12:15:32 -07:00