Daniel Rosenwasser
dae34875b4
Minor CR feedback addressed.
2014-09-10 18:59:12 -07:00
Daniel Rosenwasser
d98a11e6f7
Modified tests and added a test for labeled continues in a switch block.
2014-09-10 11:54:10 -07:00
Daniel Rosenwasser
2e2d0c3bf1
Extracted 'break'/'continue' aggregation into common helper function.
...
Also addressed other CR feedback. Still need tests.
2014-09-09 17:43:46 -07:00
Daniel Rosenwasser
90dd327635
Changed logic for break/continue search in switch statements and loops.
...
Now if a labeled break in a switch refers to its original switch statement, we also highlight the 'switch' keyword.
Also added tests for loop/break/continue.
2014-09-09 14:30:14 -07:00
Daniel Rosenwasser
69803d4d3c
Implemented getOccurrences for for/for-in/while/do-while loops and their breaks/continues.
...
This includes labelled break/continue.
2014-09-09 14:28:06 -07:00
Daniel Rosenwasser
e1f8aa7b8f
Merge pull request #632 from Microsoft/getOccurrencesSuperThanksForAsking
...
Get occurrences for 'super' keywords
2014-09-09 14:25:27 -07:00
Daniel Rosenwasser
83c35ad059
Addressed CR feedback.
2014-09-09 12:50:14 -07:00
Daniel Rosenwasser
0e93d283e3
Separated 'super'/'this' keyword searching to simplify logic.
2014-09-09 12:41:57 -07:00
Daniel Rosenwasser
131ac2f188
Disabled findAllRefs for 'this'/'super'.
2014-09-08 17:44:15 -07:00
Daniel Rosenwasser
dd5d216038
Merge pull request #600 from Microsoft/getOccurrencesThis
...
Get occurrences for 'this' keywords
2014-09-08 17:19:42 -07:00
Daniel Rosenwasser
1cd0b306ed
Added tests for getOccurrences on super.
2014-09-08 14:40:44 -07:00
Daniel Rosenwasser
1121e11c45
Basic implementation without tests for findAllRefs/getOccs for 'super' keywords.
2014-09-08 13:52:28 -07:00
Daniel Rosenwasser
024ca6d6ac
Addressed CR feedback.
2014-09-05 15:58:22 -07:00
Daniel Rosenwasser
84e385ddfa
Made a getThisContainer function.
2014-09-05 12:14:50 -07:00
Daniel Rosenwasser
a6a6d77d4a
Added fourslash tests for 'this' keyword findOccs/findRefs.
2014-09-04 13:30:18 -07:00
Daniel Rosenwasser
e6e9979482
getRefs/getOccs support for 'this' keyword.
2014-09-04 13:30:16 -07:00
Daniel Rosenwasser
492e1c5d72
Merge pull request #593 from Microsoft/getOccurrencesReturn
...
Get occurrences for return keywords.
2014-09-04 13:20:07 -07:00
Daniel Rosenwasser
7b5440bb8d
Addressed more CR feedback.
2014-09-04 12:44:18 -07:00
Daniel Rosenwasser
294ad06b68
Merge branch 'getOccurrences' of https://github.com/Microsoft/TypeScript into getOccurrences
2014-09-04 12:01:24 -07:00
Daniel Rosenwasser
837dddaec3
Addressed CR feedback.
2014-09-04 11:54:16 -07:00
Ryan Cavanaugh
4381f725ed
Merge pull request #581 from Microsoft/instrument
...
Add jake task for making instrumented tsc
2014-09-04 10:55:01 -07:00
Anders Hejlsberg
5b1789b2b8
Merge pull request #597 from Microsoft/cacheFileLookups
...
Cache unsuccessful file lookups for improved performance.
2014-09-04 10:48:52 -07:00
Ryan Cavanaugh
b8b522784c
Address CR feedback
2014-09-04 10:44:36 -07:00
Anders Hejlsberg
f62bbc238d
Cache unsuccessful file lookups for improved performance.
2014-09-04 10:17:39 -07:00
Sheetal Nandi
3cc4b73858
Merge pull request #570 from Microsoft/linemaps
...
Handles all the line breaks in calculation of line-character position
2014-09-04 09:53:06 -07:00
Mohamed Hegazy
5e98138921
Fix typo in running the tests section
2014-09-04 09:47:32 -07:00
Mohamed Hegazy
46f0c6cec4
Update .gitignore
2014-09-04 09:46:15 -07:00
Mohamed Hegazy
4ac4dd15d5
Merge pull request #588 from Microsoft/rwcImporter
...
Rwc importer
2014-09-04 09:44:12 -07:00
Ryan Cavanaugh
0aba039a0d
Speed up RWC IO playback by removing unfound files from resolution candidates
2014-09-04 09:18:29 -07:00
Ryan Cavanaugh
f2546c1392
Correctly handle zero-length test inputs
2014-09-04 09:09:22 -07:00
Daniel Rosenwasser
e060a8e710
Merge pull request #561 from Microsoft/getOccurrencesIfElseIfElseIfElse
...
getOccurrencesAtPosition support for if/else keywords
2014-09-03 14:26:19 -07:00
Mohamed Hegazy
755fce2fd3
Merge pull request #493 from RReverser/patch-1
...
Fix for importing modules from definitions
2014-09-03 13:13:29 -07:00
Mohamed Hegazy
c952750327
Fix typo in file name
2014-09-03 13:10:31 -07:00
Anders Hejlsberg
a611ef40a8
Merge pull request #589 from Microsoft/updateLanguageSpec
...
Language Specification updated to version 1.1
2014-09-03 11:46:44 -07:00
Anders Hejlsberg
542f3601b0
Language Specification updated to version 1.1
2014-09-03 11:32:50 -07:00
Anders Hejlsberg
dab3691af6
Merge pull request #550 from Microsoft/deferredTypeLiterals
...
Deferred resolution of object literal members to support recursive types.
2014-09-03 11:03:24 -07:00
Anders Hejlsberg
be08411a6c
Merge branch 'master' into deferredTypeLiterals
2014-09-03 10:53:21 -07:00
Mohamed Hegazy
08130e0ba9
increase the timeout for RWC tests
2014-09-03 10:37:32 -07:00
Mohamed Hegazy
4e21f1e548
Import Definitlly typed unit tests into the RWC suite
2014-09-03 10:37:03 -07:00
Ingvar Stepanyan
797ab01467
Return undefined instead of null.
2014-09-03 20:06:17 +03:00
Ingvar Stepanyan
4083d9299b
Fixes #492
...
Conflicts:
src/services/services.ts
2014-09-03 20:06:14 +03:00
Sheetal Nandi
2f7429e887
Merge pull request #572 from Microsoft/commentFormatting
...
Fix the tab and indent calculation when formatting comments in the emitted output
2014-09-02 21:24:34 -07:00
Sheetal Nandi
7181184e32
Fixed the parenthesis around the expression around line indent calculation
2014-09-02 21:13:11 -07:00
Sheetal Nandi
223aaca674
Corrected linepos assignment
2014-09-02 21:11:21 -07:00
Ryan Cavanaugh
f328c7c6f8
Handle missing files more gracefully; big perf gains in loggedIO
2014-09-02 17:16:25 -07:00
Ryan Cavanaugh
1249e9d06c
Add timestamp to capture files for better tracking
2014-09-02 15:40:15 -07:00
Ryan Cavanaugh
7ae6739ff1
Correctly handle async calls; fix formatting
2014-09-02 14:22:14 -07:00
Ryan Cavanaugh
18de560402
Add jake task for making instrumented tsc
2014-09-02 12:19:58 -07:00
Anders Hejlsberg
2105404931
Merge branch 'master' into deferredTypeLiterals
2014-08-30 16:14:11 -07:00
Sheetal Nandi
816b018ae2
Fix the tab and indent calculation when formatting comments in the emitted output
2014-08-29 20:49:47 -07:00