Commit Graph

1387 Commits

Author SHA1 Message Date
Vladimir Matveev 4b7e6cfc2e addressed CR feedback, accepted baselines 2015-03-30 20:16:50 -07:00
Vladimir Matveev 8f616ce65c fix typos in comments 2015-03-30 12:43:10 -07:00
Vladimir Matveev a51f0bf8bb added relaxed emit rules for separate compilation 2015-03-25 23:18: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
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
Paul van Brenk 825c301ace We only need the 2 most significant digits. 2015-03-17 16:31:18 -07:00
Paul van Brenk bf16ab7535 fix typo 2015-03-17 15:52:37 -07:00
Paul van Brenk 667bc03db2 Add toolsversion to shim so we can read it from VS. 2015-03-17 15:26:55 -07:00
Ron Buckton f1e8e611ab Updated formatting for decorators 2015-03-17 14:21:01 -07:00
Daniel Rosenwasser 3418a49f8a Line endings. 2015-03-17 13:20:44 -07:00
Daniel Rosenwasser 735452c80b Merge branch 'master' into completionsInIncompleteConstructs
Conflicts:
	src/services/formatting/smartIndenter.ts
	src/services/services.ts
2015-03-17 12:39:37 -07:00
Daniel Rosenwasser 7a716d9d42 Start handling element access expressions. 2015-03-17 12:27:59 -07:00
Daniel Rosenwasser 860c046376 Start using nodeIsMissing. 2015-03-17 12:27:24 -07:00
Daniel Rosenwasser 754a8a617c More cases and tests for them. 2015-03-17 12:21:35 -07:00
Daniel Rosenwasser 122721005b Merge pull request #2385 from Microsoft/completeIsCompleteNode
More thorough node completed-ness checking
2015-03-17 11:35:26 -07:00
Daniel Rosenwasser ad084ded72 Account for typeof expressions, added test. 2015-03-17 08:07:40 -07:00
Daniel Rosenwasser 0aa3a72d5b Merge branch 'completeIsCompleteNode' into completionsInIncompleteConstructs
Conflicts:
	src/services/formatting/smartIndenter.ts
2015-03-17 07:45:01 -07:00
Daniel Rosenwasser 857d1e0bb6 Fixed case for index signatures. 2015-03-17 07:42:24 -07:00
Daniel Rosenwasser c89febeb23 Added completion check for prefix-unary, binary, and conditional expressions. 2015-03-17 00:46:21 -07:00
Daniel Rosenwasser c27e07a69b Moved logic from smart indenter; use 'scope nodes' for completions. 2015-03-17 00:34:05 -07:00
Daniel Rosenwasser 6a6839a1b3 Always indent on tuple type literals. 2015-03-16 23:10:36 -07:00
Daniel Rosenwasser 686a10085c Moved construct signature down appropriately, fixed logic for function-like constructs. 2015-03-16 23:05:03 -07:00