Commit Graph

6862 Commits

Author SHA1 Message Date
Daniel Rosenwasser ce3a91c186 Added tests for const modifiers. 2015-03-18 13:55:09 -07:00
Daniel Rosenwasser ee073e19f0 Remove space. 2015-03-18 12:27:28 -07:00
Daniel Rosenwasser e82ea7df0f Added test for completions at beginning of file. 2015-03-18 12:12:57 -07:00
Daniel Rosenwasser ec4278972d Addressed CR feedback. 2015-03-18 12:08:09 -07:00
Ron Buckton 9761f4b783 PR comment, sourcemap test 2015-03-18 11:17:26 -07:00
CyrusNajmabadi 2f7db61f7c Merge pull request #2409 from Microsoft/diagnosticCodes
Fix diagnostic codes.
2015-03-17 23:16:05 -07:00
steveluc 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.
2015-03-17 22:58:12 -07:00
Cyrus Najmabadi 7bcd18fe28 Fix diagnostic codes. 2015-03-17 22:56:45 -07:00
steveluc afc142c0f5 Merge remote-tracking branch 'origin/master' into serverConfigurationMessage 2015-03-17 22:44:31 -07:00
CyrusNajmabadi 3a75350c42 Merge pull request #2408 from Microsoft/pinnedComments2
Simplify comment emit.
2015-03-17 19:30:55 -07:00
Cyrus Najmabadi 035ad42c30 Simplify comment emit. 2015-03-17 19:25:40 -07:00
CyrusNajmabadi d2ea675d09 Merge pull request #2406 from Microsoft/pinnedComments
Simplify code for emitting comments.
2015-03-17 19:18:36 -07:00
Cyrus Najmabadi 63e4420887 Simplify flow control. 2015-03-17 19:13:00 -07:00
Cyrus Najmabadi 9582d7cf28 Add test for pinned comments. 2015-03-17 18:43:39 -07:00
Cyrus Najmabadi 36b99511c6 Simplify code for emitting comments.
Also, always emit pinned comments, even when the 'removeComments' compiler
option is provided.
2015-03-17 18:34:42 -07:00
Vladimir Matveev b82fd590d2 merge with master, accept baselines 2015-03-17 18:23:43 -07:00
Ron Buckton ff356cef4c Added sourcemap tests 2015-03-17 18:15:02 -07:00
Vladimir Matveev c38e065b6b do not emit non-exported import declarations that don't have import clause 2015-03-17 18:00:40 -07:00
steveluc e1d7389f3e Merge remote-tracking branch 'origin/master' into
serverConfigurationMessage.
2015-03-17 17:51:16 -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 e4f6f167f6 merge with master, accepted baselines 2015-03-17 17:05:30 -07:00
Cyrus Najmabadi c69846555c Add additional tests. 2015-03-17 16:56:19 -07:00
Paul van Brenk bb37ea99c1 Merge pull request #2400 from Microsoft/toolsversion
Add toolsversion to shim so we can read it from VS.
2015-03-17 16:46:48 -07:00
Vladimir Matveev 8afde73e0b drop interned indentation prefixes if format options has changed 2015-03-17 16:34:13 -07:00
Cyrus Najmabadi 1eca182ceb Add additional tests. 2015-03-17 16:32:19 -07:00
Paul van Brenk 825c301ace We only need the 2 most significant digits. 2015-03-17 16:31:18 -07:00
Cyrus Najmabadi e650e8a6d4 Add tests for javascript semantic dianostics. 2015-03-17 16:27:56 -07:00
Paul van Brenk bf16ab7535 fix typo 2015-03-17 15:52:37 -07:00
Cyrus Najmabadi 4a346045ce Add specialized semantic diagnostics for JavaScript files. 2015-03-17 15:38:26 -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 5673400f82 Updated baselines 2015-03-17 15:03:25 -07:00
Ron Buckton f909c6c9f7 Updated baselines 2015-03-17 14:21:13 -07:00
Ron Buckton 6c32a8bdb0 Updated baselines 2015-03-17 14:21:08 -07:00
Ron Buckton f1e8e611ab Updated formatting for decorators 2015-03-17 14:21:01 -07:00
Ron Buckton bd4d7fc9ee Emit for decorators, updated to ES6 classes. 2015-03-17 14:20:57 -07:00
Ron Buckton 39001f5395 Checker updates for decorators 2015-03-17 14:17:37 -07:00
Ron Buckton 8282a0b9ca Parser updates for decorators 2015-03-17 14:17:33 -07:00
Ron Buckton fb10deb49c Scanner updates for decorators 2015-03-17 14:17:28 -07:00
Ron Buckton efd8a89f69 Diagnostics for decorators 2015-03-17 14:17:24 -07:00
Ron Buckton fb7dd52bdc Utilities for decorators 2015-03-17 14:07:06 -07:00
Ron Buckton 5db3b0d904 Types for decorators 2015-03-17 14:07:02 -07:00
Vladimir Matveev eb1160731e use type annotation when emitting declarations 2015-03-17 14:02:19 -07:00
Mohamed Hegazy 42a0c34641 Merge pull request #2335 from Microsoft/es6ImportExportEmit
ES6 emit for new import / export syntax
2015-03-17 13:59:30 -07:00
Daniel Rosenwasser e49fc058b0 Added tests. 2015-03-17 13:33:01 -07:00
Daniel Rosenwasser 3418a49f8a Line endings. 2015-03-17 13:20:44 -07:00
Mohamed Hegazy a06ce61684 Merge branch 'master' into es6ImportExportEmit 2015-03-17 13:03:17 -07:00
Mohamed Hegazy 766cb68f7c Add comments 2015-03-17 13:03:13 -07:00
Daniel Rosenwasser f33d165d5f Merge branch 'master' into completionsInIncompleteConstructs 2015-03-17 12:59:33 -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
Dan Quirk 6155832ce7 Merge pull request #2395 from Microsoft/removeCodeClimateStuff
Remove CodeClimate stuff
2015-03-17 12:35:06 -07:00