Commit Graph

54 Commits

Author SHA1 Message Date
Vladimir Matveev
c14398317a WIP - quickinfo 2016-06-10 16:56:15 -07:00
Vladimir Matveev
b9729a79fc switch to use explicit list of open files 2016-06-09 13:55:08 -07:00
Vladimir Matveev
697661a4be added openExternalProjects method 2016-06-07 17:45:22 -07:00
Vladimir Matveev
00f35d1934 added message handlers 2016-06-07 16:46:40 -07:00
Vladimir Matveev
c84aef39d1 Merge branch 'master' into tsserverVS-WIP 2016-06-07 11:27:18 -07:00
Andy Hanson
e412f52b33 Include indent in navigation bar protocol
Previously navbar01 test had indents when run in the browser but not when run from node. Now they run the same.
2016-06-03 10:04:03 -07:00
Vladimir Matveev
0b7227dce6 remove project options from project 2016-06-02 16:14:26 -07:00
zhengbli
5da620efe4 Add config file diag related types to protocol 2016-04-26 15:31:41 -07:00
zhengbli
cc58e2d7eb Use string literal type for script kind names 2016-04-19 15:20:05 -07:00
zhengbli
a2035a572e Add API support for LS host to specify script kind of a file to open 2016-04-07 23:01:20 -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
Vladimir Matveev
26336cd54b fix linter issues 2016-02-19 22:32:05 -08:00
zhengbli
a0549fa316 Fix lint compliant 2015-11-12 11:33:44 -08:00
zhengbli
278b35b354 Adding test and comments. Override file content even if already opened. 2015-11-12 11:16:11 -08:00
zhengbli
f92d241888 Add file content as a parameter for the tsserver open command 2015-11-10 13:36:19 -08:00
Vladimir Matveev
5ce7fd9781 lint server 2015-10-28 15:42:15 -07:00
zhengbli
b78e560927 Add message in protocol.d.ts and rename "rebuildProjects" to "reloadProjects" 2015-08-20 14:53:29 -07:00
ToddThomson
9146d9bc2f Add Spacing for Nonempty Brackets Formatting Option
User formatting option to add single space after opening and before
closing nonempty brackets.
2015-08-13 11:56:35 -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
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
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
Arthur Ozga
1d5dcf0d0c changes that are non-breaking 2015-06-16 15:39:34 -07:00
Mohamed Hegazy
224e7630ea use namespaces instead of modules in the codebase 2015-06-12 09:01:48 -07:00
Zhengbo Li
a7550dbba1 CR feedback 2015-06-02 15:25:01 -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
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
Daniel Rosenwasser
5b6c65ffe0 Added support for getOccurrences to the server. 2015-04-07 23:31:09 -07:00
Steve Lucco
de2e1455bb Merge pull request #2591 from Microsoft/serverAddExitMessage
Add an exit message for the server.
2015-04-07 16:00:48 -07:00
steveluc
74e6b6eccc Add an exit message for the server. 2015-04-02 00:13:06 -07:00
Cyrus Najmabadi
1385d9b50c Merge branch 'master' into JSLS
Conflicts:
	src/services/services.ts
2015-03-31 17:40:56 -07:00
Dirk Baeumer
631a9d80be Merge pull request #2489 from dbaeumer-feature/formatOptions 2015-03-26 11:23:14 +01:00
Dirk Baeumer
c66571b273 Integrated pull request feedback 2015-03-25 12:31:59 +01:00
Cyrus Najmabadi
f583fd451e Merge branch 'completionEntryDetails' into javascriptLanguageservice
Conflicts:
	src/services/services.ts
2015-03-24 13:48:00 -07:00
Dirk Baeumer
7ed885450b Mark new interfaces with export 2015-03-24 15:48:41 +01:00
Dirk Baeumer
bda471f110 Add SignatureHelp support to Typescript server 2015-03-24 15:44:01 +01: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
51c64b385c Added configuration message. Added logic to expand tabs to spaces using
host-configured tab size.
2015-03-16 14:47:46 -07:00
CyrusNajmabadi
5141f1d4c9 Merge pull request #2111 from Microsoft/navToPatternMatcher
Move NavigateTo over to using the new pattern matcher.
2015-02-23 16:01:23 -08:00
Cyrus Najmabadi
fd1b5875e2 Move NavigateTo over to using the new pattern matcher. 2015-02-22 21:25:43 -08:00
steveluc
f19619e22b Add maxResultCount optional field to NavtoRequestArgs. Change
session.ts to use this field.  Remove sort of nav items from getNavigateToItems in
sesion.ts because LS now does the sort.  Removed no content throw in
quick info as this happens frequently with Sublime (every cursor move
calls quick info, and quick info is only available on symbols).  Added
mechanism for other commands to avoid throwing and instead return a
specific error message, so that we don't make the log unreadable (as it
was with hundreds of quick info stack traces).
2015-02-22 00:44:14 -08:00
steveluc
4b590836e7 Split completions req/response pair into two messages "completions" and
"completionEntryDetails".   This mirrors the function of the LS API and
increases performance of completion in large projects.
2015-02-18 15:12:35 -08:00
steveluc
3868fb5a6b Removed deleteLen from change request; added endLine, endCol that mark
the end of the deleted Range (inclusive).  DeleteLen was not always
accurate because editors normalize \r\n to \n in some cases, affecting
the length of ranges.  In Diagnostic response items, changed len field
to end to address the same range length issue.  Flattened
MessageDiagnosticChains in diagnostic message text, since clients expect
string there.  Renamed ts.server.protocol to simply protocol in
session.ts and client.ts since module name prefix is clear.

Based on protocol feedback: Changed LineCol to Location.  Changed
CodeLocation interface name prefix to FileLocation.  Changed DiagEvent
to DiagnosticEvent.  Removed anonymous types.
2015-02-18 00:14:52 -08:00
steveluc
cadd57c10f Change rename response to return the rename info + nested location
information: one array of location information per file.  Add interface
definition for rename response body.
2015-02-17 02:02:59 -08:00