Commit Graph
224 Commits
Author SHA1 Message Date
Yui T c91c52de39 Clarify comments 2014-09-18 14:07:48 -07:00
Yui T 360d332bd4 Address code-review comments 2014-09-18 13:50:38 -07:00
Yui T 48002d4d48 Fix language service; doesn't capture declaration emit errors 2014-09-18 12:41:41 -07:00
Dick van den Brink d16dcaaf1d Remove some unused variables 2014-09-17 19:55:03 +02:00
Yui T 9ee63fa21d Merge branch 'master' into getEmitOutput
Conflicts:
	src/services/services.ts
2014-09-16 17:40:38 -07:00
Mohamed Hegazy 50a4926eaf Merge branch 'master' into navigateTo
Conflicts:
	src/services/services.ts
2014-09-16 16:54:01 -07:00
Yui T 0ef50efae1 Minor fix on checking getEmitOutputWriter 2014-09-16 16:04:24 -07:00
Yui T e75a1e3694 Change getEmitOutputBaseline 2014-09-16 15:19:41 -07:00
Mohamed Hegazy d8d1ed399c Respond to code review comments 2014-09-16 14:27:05 -07:00
Yui T 54dcf39674 Add getCurrentDirectory and getDefaultLibFilename into interface for host 2014-09-16 13:19:49 -07:00
Vladimir Matveev 08f446ddf7 resolve merge conflicts 2014-09-16 11:27:58 -07:00
Vladimir Matveev f3aba2177e merge with master 2014-09-16 11:24:00 -07:00
Mohamed Hegazy 1dc7ab04b2 Add implementation of getNavigateToItems based on the new compiler 2014-09-16 10:54:54 -07:00
Yui T 94723a9ad1 Remove concatenation of syntacticErrors instead return immediately if encountering any error 2014-09-16 10:28:05 -07:00
CyrusNajmabadi f89804e074 Merge pull request #672 from Microsoft/getSyntacticClassifications
Add support for syntactic classification.
2014-09-15 18:56:25 -07:00
Cyrus Najmabadi 38d29249a4 CR feedback. 2014-09-15 18:52:07 -07:00
Vladimir Matveev e369e369cc split 'find' function into 'find' and 'findRightmostChildNodeWithTokens' 2014-09-15 18:21:45 -07:00
Cyrus Najmabadi ebb0beb203 Adding classification tests. 2014-09-15 17:23:38 -07:00
Vladimir Matveev c4e6ad8dd9 address CR feedback: renames, handle smart indentation in type argument lists in type references 2014-09-15 16:08:33 -07:00
Daniel Rosenwasser 358733fda3 Merge branch 'master' into getOccurrencesLoopBreakContinue 2014-09-15 16:01:05 -07:00
Daniel Rosenwasser 7f12b6dd31 Spelling corrections. 2014-09-15 15:44:42 -07:00
Vladimir Matveev 685d131f4a addressed CR feedback: use isDeclaration from parser, drop 'useTabs' check 2014-09-15 12:18:09 -07:00
Vladimir Matveev aa7ffdba4c address CR feedback 2014-09-12 22:45:52 -07:00
Cyrus Najmabadi 9825342d89 Adding semantic classification. 2014-09-12 18:28:54 -07:00
Cyrus Najmabadi a6497d8b09 Add support for syntactic classification.
Tests pending.
2014-09-12 17:19:48 -07:00
Vladimir Matveev 54b8c73a78 when looking for a start node consider only nodes that can contribute to indentation 2014-09-12 16:18:06 -07:00
Vladimir Matveev cd663f07f3 minor code cleanup 2014-09-12 15:41:46 -07:00
Vladimir Matveev 221f805d09 remove singleTokenIndenter.ts 2014-09-12 13:28:39 -07:00
Yui T 2ad20d2e6b Fix declaring function for writer and setting writer to undefined 2014-09-12 13:19:26 -07:00
Yui T 0b06ddcc9a Fix getEmitOutput to only output one file except when 'out' flag is specified. Add testcases 2014-09-12 12:57:00 -07:00
Vladimir Matveev ddbe031a8b use actual indentation if possible 2014-09-12 00:26:46 -07:00
Vladimir Matveev d119de8227 added support for smart indentation in the middle of list items, updated test baselines 2014-09-11 19:23:57 -07:00
Vladimir Matveev e9227d656d added support for smart indentation in the middle of list items, updated test baselines 2014-09-11 17:26:05 -07:00
Vladimir Matveev 9a3462a161 added handling for smart indentation in the beginning of list items, updated test baselines. TODO: smart indentation in the middle of list items (2 failing tests) 2014-09-11 16:17:31 -07:00
Daniel Rosenwasser 480aac9ede Merge branch 'master' into getOccurrences 2014-09-11 11:04:01 -07:00
Vladimir Matveev 641e659ffd initial revision of SmartIndenter (TODO: indentation in list items) 2014-09-11 00:35:03 -07:00
Vladimir Matveev 24c40bb4bc added optional 'sourceFile' argument to methods of Node to avoid unnecesary tree walk 2014-09-10 23:13:41 -07:00
Daniel Rosenwasser 1e8772c7a5 Merge branch 'getOccurrences' into getOccurrencesLoopBreakContinue
Conflicts:
	src/services/services.ts
2014-09-10 19:19:53 -07:00
Daniel Rosenwasser efed1f9acd Simplified ownership code for continue/break statements. 2014-09-10 19:02:50 -07:00
Daniel Rosenwasser dae34875b4 Minor CR feedback addressed. 2014-09-10 18:59:12 -07:00
Yui T 26fbb987bb Remove getCurrentDirectory and getDefaultLibFilename from LanguageServiceShimHost 2014-09-10 16:10:40 -07:00
Yui T 7b0662be9e Remove getDirectory from LanguageServiceShimHost 2014-09-10 15:58:16 -07:00
Yui T 6cba535f20 Fix spelling 2014-09-10 09:57:36 -07:00
Yui T be4133a162 Add meta-data flag name to modify compilationSettings 2014-09-10 09:57:28 -07:00
Yui T 6ef41a74c7 Move checking semantic diagnostics into emitFiles function rather than
getEmitOutput
2014-09-10 09:57:26 -07:00
Yui T 537f55cede Change getCurrentDirectory and getDefaultLibname from passing around
function to its final value
2014-09-10 09:57:24 -07:00
Yui T 451f92bc24 Expose function shouldEmitToOwnFile to be called in services.ts 2014-09-10 09:57:16 -07:00
Yui T 2acd98e03e Minor spelling and spacing fix 2014-09-10 09:54:42 -07:00
Yui T d52fe20df3 Add getEmitOutput and update call to getCurrentDirectory 2014-09-10 09:54:34 -07:00
Yui T 6cb5096087 Make getCurrentDirectory and getDefaultLibFilename invocation in management side 2014-09-10 09:54:28 -07:00