Commit Graph

64 Commits

Author SHA1 Message Date
zhengbli
b78e560927 Add message in protocol.d.ts and rename "rebuildProjects" to "reloadProjects" 2015-08-20 14:53:29 -07:00
zhengbli
a4d496c4c6 add command for rebuild all project structure 2015-08-20 14:34:46 -07:00
zhengbli
fceba238dd Merge branch 'master' of https://github.com/Microsoft/TypeScript into errorlist
Conflicts:
	src/server/session.ts
2015-08-10 09:40:12 -07:00
Tien Nguyen
bf7d923e09 Add filesToSearch to documentHighlights request. 2015-08-06 14:01:36 -07:00
Tien Nguyen
71e6f3a947 Address PR feedback. 2015-08-05 17:09:01 -07:00
Tien Nguyen
8550c7de4e Address feedback. 2015-08-04 15:46:38 -07:00
Tien Nguyen
d53cfdcb5b Expose document highlighting to server. 2015-08-03 20:45:39 -07:00
Daniel Rosenwasser
3805500e84 Merge pull request #3967 from weswigham/issues/3813
Tests for the Session API
2015-07-23 13:58:07 -07:00
Wesley Wigham
8e93a49c7b Narrow exported session API, Unit tests for session API 2015-07-21 16:05:03 -07:00
zhengbli
5020326df3 Add Comments 2015-07-16 16:49:08 -07:00
zhengbli
b1e688c056 Merge branch 'master' of https://github.com/Microsoft/TypeScript into errorlist 2015-07-16 16:05:29 -07:00
zhengbli
efef7b30c1 Update updateErrorCheck function 2015-07-16 15:45:31 -07:00
Dirk Baeumer
61ca65f22f Fixed #3887 tsserver drops responses 2015-07-16 10:40:06 +02:00
Zhengbo Li
418369a13c incorporate changes in master 2015-07-13 16:38:13 -07:00
Zhengbo Li
6ae543bf54 Remove unnecessary checking 2015-07-13 15:50:06 -07:00
Zhengbo Li
bbf1105c46 Remove log statements 2015-07-13 14:01:03 -07:00
zhengbli
b2ce6db229 Add API for project level GetErr 2015-07-09 14:45:39 -07:00
Wesley Wigham
d1a2ae5e12 Factor switch staement into a map and create a method to add members to it 2015-06-19 12:39:51 -07:00
Mohamed Hegazy
7361d68d25 Merge pull request #3542 from weswigham/jake-lssl
Add build target for packaging tsserver as a library
2015-06-17 23:54:04 -07:00
Wesley Wigham
7390fe0eab Feedback form pr #3513 2015-06-17 13:21:43 -07:00
Arthur Ozga
1d5dcf0d0c changes that are non-breaking 2015-06-16 15:39:34 -07:00
Wesley Wigham
ab1512fb13 Export server & session without any node specifics 2015-06-15 13:37:18 -07:00
Mohamed Hegazy
224e7630ea use namespaces instead of modules in the codebase 2015-06-12 09:01:48 -07:00
Zhengbo Li
70675162dc Add tests for projectinfo command 2015-06-01 17:45:28 -07:00
Zhengbo Li
321cfab2d7 CR feedback 2015-05-29 18:03:41 -07:00
Zhengbo Li
c597bd63fc Add APIs to provide project info for a given file
Return the path of the config file and the file name list of the project
(optionally). This is helpful in differentiate the build command
behavior for loose files and configured projects in sublime.
2015-05-29 17:20:41 -07:00
Mohamed Hegazy
7fc6142def Merge branch 'master' into getTypeDefinitionAtPosition
Conflicts:
	src/services/services.ts
2015-05-04 10:02:37 -07:00
Zhengbo Li
d580063083 Fix host formatting configuration issues 2015-05-03 15:31:07 -07:00
Mohamed Hegazy
f073981474 Update command name 2015-05-01 15:57:11 -07:00
Mohamed Hegazy
b6905aff0c Add getTypeDefinitionAtPosition to tsserver 2015-04-29 22:55:05 -07:00
Dirk Bäumer
62b15de666 Merge pull request #2687 from dbaeumer/feature/fix2507
fixes #2507 - bad formatting for formatonkey if convertTabsToSpaces === false
2015-04-19 21:43:51 +02:00
steveluc
b35fea8e9e Eliminate HUGE (>10X) performance regression on session.ts dispatch that
was causing major lag for Sublime plug-in.  Backs out destructuring
dispatch change in session.ts
2015-04-13 19:59:02 -07:00
Daniel Rosenwasser
180f17d088 Destructure arguments at dispatched calls. 2015-04-08 17:02:42 -07:00
Daniel Rosenwasser
d8d494d4da *Actually dispatched* on the logic. 2015-04-08 00:41:12 -07:00
Daniel Rosenwasser
93bb224545 Actually implemented the session-side logic. 2015-04-08 00:35:34 -07:00
Daniel Rosenwasser
5b6c65ffe0 Added support for getOccurrences to the server. 2015-04-07 23:31:09 -07:00
steveluc
74e6b6eccc Add an exit message for the server. 2015-04-02 00:13:06 -07:00
Dirk Baeumer
c123208784 fixes #2507 - bad formatting for formatonkey if convertTabsToSpaces === false 2015-03-26 15:33:15 +01:00
Dirk Baeumer
631a9d80be Merge pull request #2489 from dbaeumer-feature/formatOptions 2015-03-26 11:23:14 +01:00
Daniel Rosenwasser
e33b24d3d0 Merge pull request #2480 from dbaeumer/feature/signatureHelp
Add signature help to Typescript server
2015-03-25 15:07:24 -07:00
Dirk Baeumer
c66571b273 Integrated pull request feedback 2015-03-25 12:31:59 +01:00
Dirk Baeumer
bda471f110 Add SignatureHelp support to Typescript server 2015-03-24 15:44:01 +01:00
steveluc
7b824bac41 Make completion prefix matching case insensitive. 2015-03-23 17:25:45 -07:00
steveluc
8798235c68 Added support in the server for tsconfig.json. When a host opens a
file F, the server will check whether F is configured by a
tsconfig.json file.  If so, the project specified by the tsconfig.json
file becomes the LS context for F.
2015-03-20 21:56:20 -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
steveluc
e1d7389f3e Merge remote-tracking branch 'origin/master' into
serverConfigurationMessage.
2015-03-17 17:51:16 -07:00
steveluc
2c60cf96dd Add use of host-configured format options to additional code site. 2015-03-16 15:10:58 -07:00
steveluc
51c64b385c Added configuration message. Added logic to expand tabs to spaces using
host-configured tab size.
2015-03-16 14:47:46 -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