Commit Graph

1406 Commits

Author SHA1 Message Date
CyrusNajmabadi feabcd044b Merge pull request #2522 from Microsoft/visitWorkaround
Use a function declaration vs a function expression to help deal with a reported Atom+IO.js issue.
2015-04-02 13:30:43 -07:00
Daniel Rosenwasser 17b790b479 Merge branch 'master' into transitiveExports 2015-04-01 12:00:50 -07:00
Mohamed Hegazy f75c1dd7b6 Merge branch 'master' into exportDefaultReference
Conflicts:
	src/compiler/utilities.ts
2015-03-31 21:35:21 -07:00
Mohamed Hegazy 0c5d736251 Respond to code review remarks 2015-03-31 21:17:24 -07:00
Cyrus Najmabadi ee3ba3bf75 CR feedback. 2015-03-31 17:23:52 -07:00
Cyrus Najmabadi 478ac3d3ef Merge branch 'master' into classExpressions 2015-03-31 14:53:39 -07:00
Vladimir Matveev f239bbc3b1 Merge pull request #2550 from Microsoft/separateCompilation
Relax import/export elision rules for separate compilation
2015-03-31 14:51:39 -07:00
Cyrus Najmabadi a1e18fc22b Introduce a new HeritageClauseElment type.
This type represents the expression+type arguments you can get in a class or interface
heritage clause section.  For class-implements clauses, or interface-extends clauses,
these expressions can only be identifiers or dotted names.  For class extends clauses,
these could be any expressions in the future.  However, for now, we only support identifiers
and dotted names.
2015-03-31 12:29:02 -07:00
Vladimir Matveev 955b4c0589 addressed CR feedback 2015-03-30 21:36:06 -07:00
Vladimir Matveev a6c88e290e addressed CR feedback 2015-03-30 21:35:27 -07:00
Mohamed Hegazy 383f01dbf6 Handel export default declaration completions 2015-03-30 20:28:24 -07:00
Vladimir Matveev 4b7e6cfc2e addressed CR feedback, accepted baselines 2015-03-30 20:16:50 -07:00
Paul van Brenk 359648e74b Merge branch 'master' into referencesFileAssert 2015-03-30 13:39:57 -07:00
Vladimir Matveev 8f616ce65c fix typos in comments 2015-03-30 12:43:10 -07:00
Cyrus Najmabadi eb5e1bcbad Use a function declaration vs a function expression to help deal with a reported Atom+IO.js issue. 2015-03-26 23:55:10 -07:00
Vladimir Matveev a51f0bf8bb added relaxed emit rules for separate compilation 2015-03-25 23:18:58 -07:00
Daniel Rosenwasser 82222472b5 Subsume 'getExportsOfImportDeclaration' with 'getExportsOfModule'. 2015-03-25 18:01:57 -07:00
Daniel Rosenwasser d1fa506db6 Use 'symbolsToArray' to avoid filtering. 2015-03-25 17:36:51 -07:00
Daniel Rosenwasser f70e772acc Merge branch 'master' into transitiveExports
Conflicts:
	src/compiler/checker.ts
2015-03-25 17:02:58 -07:00
Daniel Rosenwasser 0437dfb594 Adjust the context token if the previous token is a word, not just if it's an identifier. 2015-03-25 16:37:41 -07:00
Daniel Rosenwasser 93108ef612 Adjust 'position' to beginning of identifier when 'contextToken' has been readjusted. 2015-03-25 14:25:29 -07:00
Ron Buckton ea15225a9e Merge pull request #2399 from Microsoft/decorators_min 2015-03-24 19:57:21 -07:00
Daniel Rosenwasser fd3b4ca9cd Fixed transitive export completion list issue. 2015-03-24 18:45:38 -07:00
Cyrus Najmabadi 69ff9b3c13 PR feedback. 2015-03-24 16:50:11 -07:00
Cyrus Najmabadi e26c260822 PR feedback. 2015-03-24 15:35:27 -07:00
Cyrus Najmabadi 63278ca037 Don't bother with a predicate. It doesn't provide enough of a perf savings. 2015-03-24 15:30:32 -07:00
Cyrus Najmabadi 614b1066dc Merge branch 'master' into completionEntryDetails 2015-03-24 14:55:34 -07:00
Cyrus Najmabadi 927e60d592 Merge branch 'master' into findReferences 2015-03-24 14:11:20 -07:00
Cyrus Najmabadi 8d55fe00dd PR feedback. 2015-03-24 12:28:41 -07:00
Cyrus Najmabadi a5bd9196f2 PR feedback. 2015-03-24 01:10:03 -07:00
Cyrus Najmabadi 4802b4b2d6 CR feedback. 2015-03-24 00:35:30 -07:00
Cyrus Najmabadi c459bb7ce9 CR feedback. 2015-03-24 00:25:23 -07:00
Cyrus Najmabadi eed6f0deca Use an output format for quickinfo that more closely matches the original source.
i.e. use  "var v: string" instead of "(var) v: string".

The parens case should only be used when we're using an english description instead of
an actual language construct.
2015-03-24 00:16:49 -07:00
Cyrus Najmabadi 2af1b92239 CR feedback. 2015-03-23 22:44:57 -07:00
Cyrus Najmabadi 66b3fae09a Remove the active completion session. 2015-03-23 21:44:27 -07:00
Cyrus Najmabadi a1cbfdf01d Use the same logic for completion entry details that we do for getting completion entries. 2015-03-23 21:26:29 -07:00
Cyrus Najmabadi bce9b5ab5a Break out completion symbol collection into its own function. 2015-03-23 20:56:38 -07:00
Cyrus Najmabadi 7388120386 Fix issue where getSemanticDiagnostics was returning undefined on a .d.ts file. 2015-03-23 19:02:46 -07:00
Cyrus Najmabadi 9412a6d3eb Improve display of symbol definitions. 2015-03-20 17:16:16 -07:00
Cyrus Najmabadi cbeeb519b1 Add a new findReferences API that buckets results with the definition they matched against. 2015-03-20 14:31:36 -07:00
Cyrus Najmabadi 85d71b2883 No emit should happen if there are declaration errors and noEmitOnErrors is specified. 2015-03-19 16:55:07 -07:00
Daniel Rosenwasser 3e7e9f43ca Merge pull request #2415 from Microsoft/shorthandsOnNonExistentProperty
Fixed crash on goToDef when a shorthand property refers to an undefined entity
2015-03-18 18:31:54 -07:00
Daniel Rosenwasser d06f71ef9c Merge pull request #2413 from Microsoft/constAntlyAPainForUs
Fix getOccurrences for 'const' modifier with exported & ambient declarations
2015-03-18 16:08:34 -07:00
Daniel Rosenwasser acd0fdfba5 Fixed issue where goToDef on a shorthand property of an undefined entity would crash. 2015-03-18 14:43:16 -07:00
Daniel Rosenwasser 355dcd11c8 Merge pull request #2396 from Microsoft/completionsInIncompleteConstructs
Better completions in incomplete constructs
2015-03-18 14:11:05 -07:00
Daniel Rosenwasser 5cbf667d78 Fixed the contextual check for modifiers to check the original modifier instead of the flags of the node. 2015-03-18 14:07:42 -07:00
Daniel Rosenwasser ee073e19f0 Remove space. 2015-03-18 12:27:28 -07:00
Daniel Rosenwasser ec4278972d Addressed CR feedback. 2015-03-18 12:08:09 -07:00
Vladimir Matveev 17f3e1462d Merge pull request #2402 from Microsoft/dropInternedStrings
drop interned indentation prefixes if format options has changed
2015-03-17 17:17:53 -07:00
Vladimir Matveev 8afde73e0b drop interned indentation prefixes if format options has changed 2015-03-17 16:34:13 -07:00