Cyrus Najmabadi
3439029a76
Indentation.
2014-08-16 19:20:40 -07:00
Cyrus Najmabadi
de114d9b6c
Rename certain parameters.
2014-08-16 19:03:07 -07:00
Cyrus Najmabadi
bc71ef009e
Remove unnecessary LS code.
2014-08-16 16:07:55 -07:00
Cyrus Najmabadi
87ebb6b2da
add rename localization messages.
2014-08-15 16:22:58 -07:00
Cyrus Najmabadi
edd82cee48
Fix json for text spans.
2014-08-15 15:34:11 -07:00
Cyrus Najmabadi
7f0ae3f882
Change marshalling form for indentation.
2014-08-15 15:06:23 -07:00
Cyrus Najmabadi
751ac3103d
Stop referencing 'this' in functions.
2014-08-15 14:39:45 -07:00
Cyrus Najmabadi
7e70f695bb
Revert "Merge branch 'master' into newLanguageService"
...
This reverts commit d135fa43f50e6c22053075b36288a43ed655cc01, reversing
changes made to 7ddc00cba9a691c4e5ea5bde00da06695fc00546.
2014-08-14 17:49:02 -07:00
Cyrus Najmabadi
d135fa43f5
Merge branch 'master' into newLanguageService
2014-08-14 17:48:31 -07:00
Cyrus Najmabadi
a1b7c4f54c
Revert "Merge pull request #444 from Microsoft/newCompilerLS"
...
This reverts commit ae5f4c26171cc56bdff56e2893dc8ac113596270, reversing
changes made to 2f963743c4da421cc0a2fbf00a209dfff7f9aac4.
2014-08-14 17:37:45 -07:00
Cyrus Najmabadi
7ddc00cba9
Initial port of the new language service work.
2014-08-14 16:51:16 -07:00
Cyrus Najmabadi
088e58644a
Merge branch 'master' into newCompilerLS
...
Conflicts:
src/services/services.ts
2014-08-13 15:41:42 -07:00
Mohamed Hegazy
2a106bf923
Merge pull request #427 from sparecycles/fix/reference-static-regex
...
fix: /// <reference path="..." static='true' />
2014-08-12 17:46:06 -07:00
Cyrus Najmabadi
474cf0d575
Port over changes to the ScriptSnapshot API from the languageService-v2 branch.
2014-08-12 17:12:23 -07:00
Vladimir Matveev
ccaf904cfa
support outlining for arbitrary blocks
2014-08-12 15:47:57 -07:00
Mohamed Hegazy
0b41303df2
Ensure scriptsnapshot is set when creating a source file
2014-08-12 13:33:48 -07:00
Vladimir Matveev
a409ec9790
switch to getStart
2014-08-11 22:57:32 -07:00
Vladimir Matveev
bf3fbe347a
adressed CR feedback: use pos instead of full start
2014-08-11 22:34:58 -07:00
Vladimir Matveev
5e0221eeac
switch to using OutliningSpan instead of TextSpan to better support language service
2014-08-11 15:08:40 -07:00
Vladimir Matveev
785c083888
enable outlining atop of new compiler
2014-08-11 13:15:07 -07:00
Adam Freidin
988cec595d
fix: /// <reference path="..." static='true' />
...
The second quote of the static attribute was incorrectly
matched against the first quote of the path attribute.
2014-08-11 10:38:41 -07:00
Dick van den Brink
877b0cfa1a
Fixed typo soruceFile -> sourceFile
2014-08-08 20:19:51 +02:00
Dick van den Brink
e0f738429f
Added missing semicolons
2014-08-07 21:08:38 +02:00
Mohamed Hegazy
9222711ace
change name of the flag to emitBOM
2014-08-06 14:24:47 -07:00
Mohamed Hegazy
b1335e1795
add generateBOM switch
2014-08-06 11:37:59 -07:00
Mohamed Hegazy
63b835a7a9
Remove ByteOrderMark
2014-08-06 11:13:49 -07:00
Mohamed Hegazy
0c9510e6f1
Wire cleanupSemanticCache
2014-08-04 17:23:09 -07:00
Mohamed Hegazy
93a48a314e
respond to code review comments
2014-08-04 16:56:58 -07:00
Mohamed Hegazy
acfcf40735
Add uptodate checks for program object to avoid recomputation if not needed
2014-08-04 16:09:25 -07:00
Mohamed Hegazy
21fb3bc675
Update check for syntax tree existance
2014-08-04 15:36:26 -07:00
Mohamed Hegazy
a48ec090ae
add missing semicolons
2014-08-04 15:07:42 -07:00
Mohamed Hegazy
f8228e1544
Change variabel names:
...
* documentsByName to sourceFilesByName
* getSymbolOfIdentifierLikeNode to getSymbolInfo
2014-08-04 13:37:17 -07:00
Mohamed Hegazy
c92addf821
Revert "remove documentsByName"
...
This reverts commit 5d26599811f9c8432b3c782f90f264d9255cf49d.
2014-08-04 13:20:02 -07:00
Mohamed Hegazy
5c350e4d3d
adapt to changes after merge
2014-08-04 12:56:48 -07:00
Mohamed Hegazy
1667894ec6
Merge branch 'master' into getDefinition
2014-08-04 12:52:27 -07:00
Mohamed Hegazy
5d26599811
remove documentsByName
2014-08-04 12:26:44 -07:00
Mohamed Hegazy
4da02cbc06
rename values named document to sourceFile
2014-08-04 12:00:47 -07:00
Mohamed Hegazy
aa75de9c70
Consolidate Document and SoruceFile
2014-08-04 12:00:37 -07:00
Mohamed Hegazy
41b7eb25a3
Make goto def jump to labels across function boundries
2014-08-01 17:11:41 -07:00
Mohamed Hegazy
8606873db6
move identifier-like node handleing (e.g. super, this, string property access etc..) to the checker
2014-08-01 17:11:11 -07:00
Mohamed Hegazy
e6f930b53a
support goto def on object literal properties
2014-08-01 15:09:12 -07:00
Mohamed Hegazy
76bca3a766
Add support for goto def on external module name
2014-08-01 13:07:52 -07:00
Mohamed Hegazy
12490755a8
Fix typos
2014-08-01 11:26:31 -07:00
Mohamed Hegazy
c406662bc4
Wire getDefinitionAtPosition using the new compiler implementation
2014-07-31 19:58:18 -07:00
Mohamed Hegazy
732ffc0d5d
More changes to address code review comments
2014-07-31 19:04:55 -07:00
Mohamed Hegazy
0a206d8855
Respond to code review comments:
...
* Change comment to say "noresolve=false" in shims.ts 05eeba5bc9
* Switch newline to "\r\n" 9395eeaedb
* Use hasOwnProperty for Map types 212c184602
* Switch "s" to "S" in typescriptServices.ts filename 9061e58dff
* Change method names in Node to be more detailed
2014-07-30 14:46:33 -07:00
Mohamed Hegazy
f5091c226f
Use correct casing for file references
2014-07-29 15:03:35 -07:00
Mohamed Hegazy
0a08a42abe
enbale fourslash tests
2014-07-29 12:17:33 -07:00
Mohamed Hegazy
4e570248d6
remove unused methods
2014-07-29 12:16:43 -07:00
Mohamed Hegazy
96a9cc9b55
remove unneded ts. qualifiers
2014-07-29 12:16:11 -07:00