Commit Graph

  • bce9b5ab5a Break out completion symbol collection into its own function. Cyrus Najmabadi 2015-03-23 20:56:38 -07:00
  • 335d5673d0 Comments and cleanup Ron Buckton 2015-03-23 19:51:38 -07:00
  • 7388120386 Fix issue where getSemanticDiagnostics was returning undefined on a .d.ts file. Cyrus Najmabadi 2015-03-23 19:02:46 -07:00
  • 6695981583 Address code review Yui T 2015-03-23 17:59:02 -07:00
  • 85624c0321 Change test files name Yui T 2015-03-23 17:58:53 -07:00
  • 7b824bac41 Make completion prefix matching case insensitive. steveluc 2015-03-23 17:25:45 -07:00
  • 73567756fa Accepting new baselines Anders Hejlsberg 2015-03-23 17:03:54 -07:00
  • 580bb83c37 Fix issue with AMD emit for 'import d, * as x from "foo"' Anders Hejlsberg 2015-03-23 16:56:29 -07:00
  • 141c96b8f3 revised name generation Vladimir Matveev 2015-03-23 16:16:29 -07:00
  • af6d1ebe01 Revert "Emit, even in the presence of declaration errors and noEmitOnError." Cyrus Najmabadi 2015-03-23 16:12:14 -07:00
  • 755d80606f Merge pull request #2461 from Microsoft/emitOnDeclarationErrors CyrusNajmabadi 2015-03-23 16:11:00 -07:00
  • 8dd9b9f2cb Updated check and emit, updated baselines Ron Buckton 2015-03-23 14:47:07 -07:00
  • 1b06677dec Treat .js files as javascript in the LS. Cyrus Najmabadi 2015-03-23 14:14:19 -07:00
  • 5b988cdbe4 Some emit cleanup for ES6 classes, comments. Ron Buckton 2015-03-23 14:09:38 -07:00
  • d2ead15767 Accept baseline changes Mohamed Hegazy 2015-03-23 12:47:39 -07:00
  • d47445b175 Merge branch 'exportEquals' of https://github.com/Microsoft/TypeScript into exportEquals Mohamed Hegazy 2015-03-23 12:37:41 -07:00
  • b9e503d891 Ellide uninstantiated exports in ES6 Mohamed Hegazy 2015-03-23 12:37:22 -07:00
  • bf383b5b54 Simplified check for decorators. Ron Buckton 2015-03-23 12:08:15 -07:00
  • 5979dacf4f Correctly emit bidning pattern with initializer and rest Yui T 2015-03-23 11:30:51 -07:00
  • 86d561d2be Check for instantiation on export default in ES6 Mohamed Hegazy 2015-03-23 11:17:40 -07:00
  • f90253f73e Merge branch 'master' into exportEquals Mohamed Hegazy 2015-03-23 11:06:44 -07:00
  • 6074b3ea24 Consistently error on more than one 'export default' Anders Hejlsberg 2015-03-23 11:05:03 -07:00
  • 1b8933c969 Renamed variables for clarity Ron Buckton 2015-03-23 10:55:09 -07:00
  • 5e241a354d Removed the (now unused) lineBreakBetween Ron Buckton 2015-03-23 10:53:29 -07:00
  • 8943c3952c removed unused functions Vladimir Matveev 2015-03-23 10:06:23 -07:00
  • 19517ac0dd Emit, even in the presence of declaration errors and noEmitOnError. Cyrus Najmabadi 2015-03-22 21:37:03 -07:00
  • 3f0cfe3619 Adding a few comments Anders Hejlsberg 2015-03-22 15:35:08 -07:00
  • b2656b0d78 Deleting unused code Anders Hejlsberg 2015-03-22 14:32:42 -07:00
  • df03c686c4 Accepting new baselines Anders Hejlsberg 2015-03-22 12:19:38 -07:00
  • e63854b40e Adding basic tests Anders Hejlsberg 2015-03-22 12:18:56 -07:00
  • 956d7a82f3 Fixing emit for import d, * as foo from "foo" case Anders Hejlsberg 2015-03-22 12:18:38 -07:00
  • 20d1f73087 Add support for exporting imported symbols Anders Hejlsberg 2015-03-22 09:10:10 -07:00
  • fcd1e1f166 Merge pull request #2448 from Microsoft/newlines CyrusNajmabadi 2015-03-21 22:37:11 -07:00
  • a1525157c7 Emit and use '__export' helper for 'export *' declarations Anders Hejlsberg 2015-03-21 15:46:16 -07:00
  • 6838d47834 Simplify collection of external module info in emitter Anders Hejlsberg 2015-03-21 15:09:54 -07:00
  • f3fb85fa46 Accepting new baselines Anders Hejlsberg 2015-03-21 13:18:11 -07:00
  • 57a9fc54c8 Separate 'export default' and 'export =' Anders Hejlsberg 2015-03-21 13:12:39 -07:00
  • ae4f164eb2 Added gc of configured projects to handle case in which file is opened in directory configured by tsconfig.json, but file not part of the configured project. steveluc 2015-03-20 22:14:39 -07:00
  • 8798235c68 Added support in the server for tsconfig.json. When a host opens a file F, the server will check whether F is configured by a tsconfig.json file. If so, the project specified by the tsconfig.json file becomes the LS context for F. steveluc 2015-03-20 21:56:20 -07:00
  • 6633349b72 Simplified grammar check for decorators. Ron Buckton 2015-03-20 17:42:27 -07:00
  • 299fbe3719 Refactored checkDecoratorSignature and renamed getAnnotationTypeForDecoratorType Ron Buckton 2015-03-20 17:21:25 -07:00
  • 9412a6d3eb Improve display of symbol definitions. Cyrus Najmabadi 2015-03-20 17:16:16 -07:00
  • 9ae0815e21 Treat 0x0085 as whitespace, not as a line terminator. This matches ES5 and ES6. Cyrus Najmabadi 2015-03-20 16:49:21 -07:00
  • cbeeb519b1 Add a new findReferences API that buckets results with the definition they matched against. Cyrus Najmabadi 2015-03-20 14:31:36 -07:00
  • 2078aff69f Minor cleanup of resolveName for decorators Ron Buckton 2015-03-19 23:06:38 -07:00
  • 0fb624a58b PR feedback Ron Buckton 2015-03-19 22:57:03 -07:00
  • 0d2a5bbf7c Merge pull request #2431 from Microsoft/noEmitOnErrorCompileOnSave CyrusNajmabadi 2015-03-19 21:23:58 -07:00
  • 791a0e4e39 Don't actually emit declarations when we just want the diagnostics for them. Cyrus Najmabadi 2015-03-19 21:12:25 -07:00
  • 85d71b2883 No emit should happen if there are declaration errors and noEmitOnErrors is specified. Cyrus Najmabadi 2015-03-19 16:55:07 -07:00
  • b5065f1f3a Allow destructuring in ambient context Yui T 2015-03-19 14:42:57 -07:00
  • 36ea7c8d77 Emit destructuring in parameter Yui T 2015-03-19 14:36:30 -07:00
  • 79272d7cef Merge pull request #2199 from Microsoft/enumCleanup Vladimir Matveev 2015-03-19 11:27:11 -07:00
  • 3e7e9f43ca Merge pull request #2415 from Microsoft/shorthandsOnNonExistentProperty Daniel Rosenwasser 2015-03-18 18:31:54 -07:00
  • c030b83c5d Further simplification Cyrus Najmabadi 2015-03-18 17:59:24 -07:00
  • e14b745df8 Clean up getCompletions code. Cyrus Najmabadi 2015-03-18 17:56:04 -07:00
  • e2db46ecc7 Merge pull request #2419 from Microsoft/instrumenterLibraryTargets Jason Freeman 2015-03-18 17:44:09 -07:00
  • 59338ed566 Add libraryTargets to prereqs of instrumenter Jason Freeman 2015-03-18 17:23:40 -07:00
  • e8b0985753 Merge pull request #2417 from Microsoft/separateDeclEmit_2 Vladimir Matveev 2015-03-18 16:57:38 -07:00
  • 49c4b5ac13 extract declaration emitter to separate file Vladimir Matveev 2015-03-18 16:37:52 -07:00
  • d06f71ef9c Merge pull request #2413 from Microsoft/constAntlyAPainForUs Daniel Rosenwasser 2015-03-18 16:08:34 -07:00
  • 3b453e68c8 Extended test. Daniel Rosenwasser 2015-03-18 16:03:33 -07:00
  • 371f2df90d Merge pull request #2139 from Microsoft/DtsExports_all Vladimir Matveev 2015-03-18 14:45:05 -07:00
  • acd0fdfba5 Fixed issue where goToDef on a shorthand property of an undefined entity would crash. Daniel Rosenwasser 2015-03-18 14:41:45 -07:00
  • 773530c699 Fixed test. Daniel Rosenwasser 2015-03-18 14:35:36 -07:00
  • f96e52c6a6 Merge pull request #2414 from Microsoft/createSourceFile Mohamed Hegazy 2015-03-18 14:35:04 -07:00
  • 2ad40c25c9 addressed PR feedback Vladimir Matveev 2015-03-18 14:29:02 -07:00
  • 2902aa2ba3 Added tests. Daniel Rosenwasser 2015-03-18 14:21:17 -07:00
  • 7462915baf Expose setParentNodes on createCompilerHost Mohamed Hegazy 2015-03-18 14:11:50 -07:00
  • 355dcd11c8 Merge pull request #2396 from Microsoft/completionsInIncompleteConstructs Daniel Rosenwasser 2015-03-18 14:11:05 -07:00
  • 5cbf667d78 Fixed the contextual check for modifiers to check the original modifier instead of the flags of the node. Daniel Rosenwasser 2015-03-18 14:07:42 -07:00
  • 9a507fa5bf Fixed test. Daniel Rosenwasser 2015-03-18 14:06:58 -07:00
  • ce3a91c186 Added tests for const modifiers. Daniel Rosenwasser 2015-03-18 13:55:09 -07:00
  • ee073e19f0 Remove space. Daniel Rosenwasser 2015-03-18 12:27:28 -07:00
  • e82ea7df0f Added test for completions at beginning of file. Daniel Rosenwasser 2015-03-18 12:12:57 -07:00
  • ec4278972d Addressed CR feedback. Daniel Rosenwasser 2015-03-18 12:08:09 -07:00
  • 9761f4b783 PR comment, sourcemap test Ron Buckton 2015-03-18 11:17:26 -07:00
  • 2f7db61f7c Merge pull request #2409 from Microsoft/diagnosticCodes CyrusNajmabadi 2015-03-17 23:16:05 -07:00
  • 34e612c9fc Add handling of hard tabs in server buffers. Change message protocol to pass locations as line/offset pairs instead of line/column pairs, where offset is a 1-based character offset from the beginning of the line. Offset will be equal to column if the line contains no tabs. If the line contains tabs, offset will be less than or equal to column, depending on how many tabs are before the offset. Also added tab size and indent size to file open message. steveluc 2015-03-17 22:58:12 -07:00
  • 7bcd18fe28 Fix diagnostic codes. Cyrus Najmabadi 2015-03-17 22:56:45 -07:00
  • afc142c0f5 Merge remote-tracking branch 'origin/master' into serverConfigurationMessage steveluc 2015-03-17 22:44:31 -07:00
  • 3a75350c42 Merge pull request #2408 from Microsoft/pinnedComments2 CyrusNajmabadi 2015-03-17 19:30:55 -07:00
  • 035ad42c30 Simplify comment emit. Cyrus Najmabadi 2015-03-17 19:25:40 -07:00
  • d2ea675d09 Merge pull request #2406 from Microsoft/pinnedComments CyrusNajmabadi 2015-03-17 19:18:36 -07:00
  • 63e4420887 Simplify flow control. Cyrus Najmabadi 2015-03-17 19:13:00 -07:00
  • 9582d7cf28 Add test for pinned comments. Cyrus Najmabadi 2015-03-17 18:43:39 -07:00
  • 36b99511c6 Simplify code for emitting comments. Cyrus Najmabadi 2015-03-17 18:34:42 -07:00
  • b82fd590d2 merge with master, accept baselines Vladimir Matveev 2015-03-17 18:23:43 -07:00
  • ff356cef4c Added sourcemap tests Ron Buckton 2015-03-17 18:15:02 -07:00
  • c38e065b6b do not emit non-exported import declarations that don't have import clause Vladimir Matveev 2015-03-17 18:00:40 -07:00
  • e1d7389f3e Merge remote-tracking branch 'origin/master' into serverConfigurationMessage. steveluc 2015-03-17 17:51:16 -07:00
  • 17f3e1462d Merge pull request #2402 from Microsoft/dropInternedStrings Vladimir Matveev 2015-03-17 17:17:53 -07:00
  • e4f6f167f6 merge with master, accepted baselines Vladimir Matveev 2015-03-17 17:05:30 -07:00
  • c69846555c Add additional tests. Cyrus Najmabadi 2015-03-17 16:56:19 -07:00
  • bb37ea99c1 Merge pull request #2400 from Microsoft/toolsversion Paul van Brenk 2015-03-17 16:46:48 -07:00
  • 8afde73e0b drop interned indentation prefixes if format options has changed Vladimir Matveev 2015-03-17 16:34:13 -07:00
  • 1eca182ceb Add additional tests. Cyrus Najmabadi 2015-03-17 16:32:19 -07:00
  • 825c301ace We only need the 2 most significant digits. Paul van Brenk 2015-03-17 16:31:18 -07:00
  • e650e8a6d4 Add tests for javascript semantic dianostics. Cyrus Najmabadi 2015-03-17 16:27:56 -07:00
  • bf16ab7535 fix typo Paul van Brenk 2015-03-17 15:52:37 -07:00
  • 4a346045ce Add specialized semantic diagnostics for JavaScript files. Cyrus Najmabadi 2015-03-17 15:38:26 -07:00