Vladimir Matveev
522248a042
rename 'FileMap.delete' to 'FileMap.remove'
2015-06-12 18:48:54 -07:00
Vladimir Matveev
b4f1df2afa
address PR feedback
2015-06-12 18:48:46 -07:00
Vladimir Matveev
25c093673c
introduce FileMap to store mappings with filenames as keys
2015-06-12 18:48:37 -07:00
Vladimir Matveev
7c8a50336d
emit module name for system modules, add moduleName argument to 'transpile' function
...
Conflicts:
src/services/services.ts
2015-06-04 22:37:52 -07:00
Vladimir Matveev
86d9398a92
clean hostCache to avoid extending lifetime of script snapshots
2015-06-03 10:29:32 -07:00
Mohamed Hegazy
2cbe14e131
Respond to code review comments
2015-05-27 10:20:01 -07:00
Mohamed Hegazy
e7eef830e1
Fix #3245 : ensure transpile diagnostics only include syntactic and compiler options diagnostics
2015-05-26 20:18:13 -07:00
Mohamed Hegazy
5ea2cea95d
Merge pull request #3208 from Microsoft/updateSingleCompilationFlagName
...
Update singleCompilation flag name to isolatedModules
2015-05-19 13:54:49 -07:00
Vladimir Matveev
91f69d7a02
Merge pull request #3226 from Microsoft/port-3183
...
Port PR 3183 into release 1.5
2015-05-19 11:53:16 -07:00
Vladimir Matveev
1f35f194d2
use textSpanEnd instead of handrolled version
2015-05-19 11:12:53 -07:00
Vladimir Matveev
845820dfe9
addressed PR feedback
2015-05-19 11:12:42 -07:00
Vladimir Matveev
0b9dd9e239
during file update request only changed portion of the text from the host
2015-05-19 11:12:25 -07:00
Vladimir Matveev
2252e3045c
add optional 'getProjectVersion' method to perform fast up-to-date checks
2015-05-19 11:09:45 -07:00
Mohamed Hegazy
1da04ba8f4
Change flag --singleCompilation to --isolatedModules
2015-05-18 21:49:41 -07:00
CyrusNajmabadi
79ec3ec5a3
Merge pull request #3092 from Microsoft/classificationLoop1.5
...
Prevent infinite loop when classifying.
2015-05-08 13:59:49 -07:00
Cyrus Najmabadi
a8d25c82ac
Prevent infinite loop when classifying.
2015-05-08 13:10:17 -07:00
Vladimir Matveev
a33bb6bb19
use canonical file name when asking the host if file exists
2015-05-06 16:00:50 -07:00
Mohamed Hegazy
7fc6142def
Merge branch 'master' into getTypeDefinitionAtPosition
...
Conflicts:
src/services/services.ts
2015-05-04 10:02:37 -07:00
Daniel Rosenwasser
d5c9857e60
Whoops.
2015-05-01 18:40:58 -07:00
Daniel Rosenwasser
9460fb580d
Use 'lastOrUndefined' where appropriate in the services layer.
2015-05-01 18:34:37 -07:00
Mohamed Hegazy
1de5ea802b
Respond to code review comments
2015-05-01 14:58:23 -07:00
Cyrus Najmabadi
7769b4cd19
Update names.
2015-04-30 17:48:01 -07:00
Cyrus Najmabadi
b49e07c2fa
Fix name.
2015-04-30 17:20:04 -07:00
Cyrus Najmabadi
c0c2c4f9a3
Unify more classification code.
2015-04-30 14:57:38 -07:00
Cyrus Najmabadi
5ad7a593d4
Add a common, dense, format for classification operations to lower cost of processing on the host side.
...
We now just return an array of triples to represent classified results. The triple contains:
1) the start of the classification.
2) the length of the classification.
3) the type of the clasification.
We also encode this into a comma separated string when passing over to the managed side
(as opposed to an JSON array). That way we don't pay such a high JSON parsing cost.
Instead, we can just do a string.split(",") on the encoded triples and process each
element ourselves.
2015-04-30 14:26:46 -07:00
Cyrus Najmabadi
d1607cfc65
Merge branch 'master' into getClassifications2
2015-04-30 13:16:47 -07:00
Mohamed Hegazy
e9f76d0002
Add implementation for getTypeDefinitionAtPosition
2015-04-29 22:54:49 -07:00
Mohamed Hegazy
dda598a8dc
Refactor getDefinition code
2015-04-29 22:54:40 -07:00
Paul van Brenk
54ef1bf93d
Rename HeritageClauseElement to ExpressionWithTypeArguments + related methods.
2015-04-29 14:49:03 -07:00
Anders Hejlsberg
eecf7ba638
Support 'namespace' declarations for internal modules
2015-04-26 16:12:16 -07:00
Cyrus Najmabadi
25c52bb406
Faster getClassifications
2015-04-23 13:40:34 -07:00
Cyrus Najmabadi
8e757c044e
Merge branch 'master' into jsSigHelp
...
Conflicts:
src/services/outliningElementsCollector.ts
src/services/services.ts
2015-04-14 14:22:48 -07:00
Mohamed Hegazy
db492f1c10
Merge pull request #2747 from Microsoft/FixGetOccurances
...
Fix getOccurances filter check
2015-04-14 10:33:03 -07:00
Mohamed Hegazy
4e42054277
Fix #2725 : Add check for parent before using it
2015-04-13 16:28:06 -07:00
Mohamed Hegazy
a72a22edbe
Fix getOccurances filter check
2015-04-13 13:19:17 -07:00
Mohamed Hegazy
b416bf2d80
move check outside switch statement
2015-04-13 12:20:25 -07:00
Guillaume Salles
7119165bd0
Fix issue #2677 : Labels should not get quick info
2015-04-12 16:04:32 -04:00
Cyrus Najmabadi
024d653efc
Rename type.
2015-04-09 22:27:18 -07:00
Cyrus Najmabadi
fc512b284b
Use modules with const members.
2015-04-09 15:11:26 -07:00
Cyrus Najmabadi
9627746ba9
Add the 'none' kind.
2015-04-09 14:49:00 -07:00
Cyrus Najmabadi
73121ce451
Distinguish written vs read references.
2015-04-09 14:37:21 -07:00
Cyrus Najmabadi
585c6aaf65
CR feedback.
2015-04-08 23:24:51 -07:00
Cyrus Najmabadi
575ce27119
Allow the host to indicate which files it would like highlighting spans for.
2015-04-08 23:16:16 -07:00
Cyrus Najmabadi
e5d0ffab15
Use the fileName that is in scope.
2015-04-08 22:28:40 -07:00
Cyrus Najmabadi
0d233fdd17
No need to tweak spans in syntactic highlights.
2015-04-08 22:26:34 -07:00
Cyrus Najmabadi
02778b19b4
Get semantic document highlights as well through the new API.
2015-04-08 22:24:59 -07:00
Cyrus Najmabadi
6dee32a703
Extract code for getting syntactic document highlights into its own function.
2015-04-08 21:59:50 -07:00
Cyrus Najmabadi
4054eca462
Merge branch 'master' into jsSigHelp
...
Conflicts:
tests/baselines/reference/APISample_compile.js
tests/baselines/reference/APISample_compile.types
tests/baselines/reference/APISample_linter.js
tests/baselines/reference/APISample_linter.types
tests/baselines/reference/APISample_linter.types.pull
tests/baselines/reference/APISample_transform.js
tests/baselines/reference/APISample_transform.types
tests/baselines/reference/APISample_watcher.js
tests/baselines/reference/APISample_watcher.types
2015-04-08 02:12:53 -07:00
Cyrus Najmabadi
78a79140b3
Get sighelp for arbitrary functions working in .js files.
2015-04-06 14:10:04 -07:00
Mohamed Hegazy
ccb562385d
Use sys.newLine in transpile when possibel
2015-04-06 14:05:44 -07:00