Ron Buckton
92fbe6b231
Added environment variable support to tests
2016-03-21 11:58:34 -07:00
Josh Soref
bb85817d7d
spelling fixes for src
...
Fixes:
* actual
* algorithm
* analyze
* applies
* collapse
* contrast
* definition
* diagnostic
* different
* displayed
* display
* documentation
* finite
* function
* highlight
* initialize
* intentional
* interface
* invariants
* items
* keystroke
* language
* literal
* original
* output
* position
* receive
* recorder
* response
* sequence
* simplicity
* statement
Changing a \ to a /
2016-02-25 20:08:44 +00:00
Jason Ramsay
2aa8f05e64
Fix to test harness and addressing CR comments
2016-02-16 22:44:43 -08:00
Jason Ramsay
a71fa457bd
Salsa: adding ScriptKind to ensure script blocks (.html, .aspx, .ascx, etc) are processed as JS
2016-02-16 17:37:24 -08:00
Vladimir Matveev
8a8ed0a871
update implementation based on the results of design meeting
2016-01-25 11:49:26 -08:00
Vladimir Matveev
36af815bba
add optional 'directoryExists' method to hosts to reduce amount of disk probings that are known to fail
2016-01-06 12:37:52 -08:00
Daniel Rosenwasser
3dee60f6ef
Removed unused declarations in 'harnessLanguageService.ts'.
2015-12-17 15:01:48 -08:00
Vladimir Matveev
762e1eb0a8
cleanup harness code
2015-11-14 13:57:11 -08:00
zhengbli
278b35b354
Adding test and comments. Override file content even if already opened.
2015-11-12 11:16:11 -08:00
Ryan Cavanaugh
7dd1bf487d
Merge branch 'master' into javaScriptModules
...
# Conflicts:
# lib/lib.es6.d.ts
# lib/tsc.js
# lib/tsserver.js
# lib/typescript.d.ts
# lib/typescript.js
# lib/typescriptServices.d.ts
# lib/typescriptServices.js
# src/compiler/binder.ts
# src/compiler/checker.ts
# src/compiler/parser.ts
# src/compiler/program.ts
# src/harness/fourslash.ts
2015-11-06 16:49:09 -08:00
Wesley Wigham
8a93b48945
fix lint: prefer const
2015-11-04 14:51:36 -08:00
Ryan Cavanaugh
eda6eca3c7
Merge remote-tracking branch 'upstream/master' into javaScriptModules
2015-10-19 13:53:52 -07:00
Ryan Cavanaugh
1a36fce4c2
JavaScript LS scaffolding + JS module inference
2015-10-14 17:36:03 -07:00
zhengbli
8171dede90
Lint fixes and test fixes
2015-10-06 12:33:06 -07:00
Wesley Wigham
3fe379ce52
lint harness, disablow control flow analysis because buggy
2015-09-30 15:45:23 -07:00
Vladimir Matveev
e0c16b4332
Check if imported file is a proper external module
2015-09-10 16:00:44 -07:00
Vladimir Matveev
a88bfbd651
Merge branch 'master' into reuseAndCache
2015-08-17 14:36:17 -07:00
zhengbli
b3f0a2a2e4
Merge branch 'master' into JSDocCommentScaffolding
2015-08-10 12:55:45 -07:00
Vladimir Matveev
a69b04145d
delete entry from the cache when referenced file is removed, added tests
2015-08-06 16:23:21 -07:00
Vladimir Matveev
6455b8e59b
merge with master
2015-08-06 16:14:51 -07:00
Vladimir Matveev
03aaf7cd7c
addressed PR feedback
2015-08-04 21:22:37 -07:00
Wesley Wigham
91f034669d
Conform lint of the future, unify quotations
2015-08-04 13:33:01 -07:00
Arthur Ozga
8d07c6929a
rename feature
2015-08-03 14:28:21 -07:00
Vladimir Matveev
36043cd88a
merge with master
2015-07-29 17:16:58 -07:00
Vladimir Matveev
544a7939f0
return ambient external modules as a results of preprocessing
2015-07-29 16:47:34 -07:00
Arthur Ozga
6d174a0f18
Adjust carat after insertion
2015-07-20 18:31:17 -07:00
Arthur Ozga
0dcb9007a3
Merge branch 'master' into JSDocCommentScaffolding
2015-07-16 17:54:40 -07:00
Vladimir Matveev
9332f7e1e3
introduce ModuleResolutionHost interface
2015-07-15 11:40:49 -07:00
Dan Quirk
cb4577e3e8
var->let and a few misc other fixes
2015-07-14 17:47:07 -07:00
Arthur Ozga
7923e8e619
Setup shim and stubbed out functions
2015-07-13 18:56:38 -07:00
Cyrus Najmabadi
c9c0f3a4ad
PR feedback.
2015-06-18 12:04:26 -07:00
Wesley Wigham
7390fe0eab
Feedback form pr #3513
2015-06-17 13:21:43 -07:00
Wesley Wigham
ab1512fb13
Export server & session without any node specifics
2015-06-15 13:37:18 -07:00
Mohamed Hegazy
7fc6142def
Merge branch 'master' into getTypeDefinitionAtPosition
...
Conflicts:
src/services/services.ts
2015-05-04 10:02:37 -07:00
Cyrus Najmabadi
7769b4cd19
Update names.
2015-04-30 17:48:01 -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
Cyrus Najmabadi
25c52bb406
Faster getClassifications
2015-04-23 13:40:34 -07:00
Paul van Brenk
80ae52b7e9
expose the config file processing throught the LS and
...
add a callback to enumerate files in a directory
2015-04-21 13:24:02 -07:00
Cyrus Najmabadi
1d1ebd536a
Fix up the harness code.
2015-04-08 23:41:22 -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
cbeeb519b1
Add a new findReferences API that buckets results with the definition they matched against.
2015-03-20 14:31:36 -07:00
steveluc
04320e415e
Renames and comments as requested by feedback.
2015-03-09 01:23:03 -07:00
steveluc
360e47880e
Addressed comments on code style and organization.
2015-03-07 23:19:58 -08:00
steveluc
865802a63c
Added new logger methods to test harness.
2015-03-07 17:46:56 -08:00
Cyrus Najmabadi
c8399fc6c5
Use CRLF not LF.
2015-03-02 14:46:15 -08:00
Cyrus Najmabadi
eb5936b06f
Merge branch 'master' into baseZero
...
Conflicts:
src/harness/harnessLanguageService.ts
2015-02-20 16:56:58 -08:00
Cyrus Najmabadi
124a77cc3a
Remove 'ZeroBased' from all APIs, now that all APIs are zero based.
2015-02-16 19:35:45 -08:00
Cyrus Najmabadi
261c8b5bd3
Stop using one based math in fourslash.
2015-02-16 18:23:58 -08:00