Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/swiftwasm/sourcekit-lsp
Language Server Protocol implementation for Swift and C-based languages
https://github.com/swiftwasm/sourcekit-lsp
bbb2a34694c399f525665a8ec804aafcb4a0fd24 authored over 4 years ago by Ben Langmuir <[email protected]>
Since it is being used in the LSP protocol layer, give it a name that
clarifies that it is Sourc...
90b4381d04354ad9ae1ce4625acd9676facd0cd6 authored over 4 years ago by Ben Langmuir <[email protected]>
a5832e978b63662902ea34dff12e2e86be4c607d authored over 4 years ago by Ben Langmuir <[email protected]>
fe283fa2c2ee9ac81199fbe6c454b1d9aafa5fb1 authored over 4 years ago by Ben Langmuir <[email protected]>
By default, print 1-based line/column numbers using the defacto standard
line:column format. In ...
With this change, tests pass whether we default to server-side or
client-side filtering. Also du...
024ebdd9b7ab658ef3272f0d683fca46946cf0d8 authored over 4 years ago by Ben Langmuir <[email protected]>
76df5ec2f6698300960037f707245739779da10d authored over 4 years ago by Ben Langmuir <[email protected]>
* The interesting keys to split out are "code-completion options", not
any key that is used by...
c27a76c9c53601ee1f636847f2c17869829c9ac3 authored over 4 years ago by Ben Langmuir <[email protected]>
b7ca21f4333e815461827123619cb29696b19ee4 authored over 4 years ago by Ben Langmuir <[email protected]>
Similar to cursor info, there is enough code here it makes sense to
separate it out.
Work in progress: add a basic implementation for keeping track of the
current completion session...
add note about swift file recognition to vim-lsp section
3792761720d1a0b5f76e1dae226e944d9e517b84 authored over 4 years ago by Tanner <[email protected]>Dup and redirect stdout to defend against accidental print()
21df377efcd4b742a0579e24c1591893de73aa8f authored over 4 years ago by Ben Langmuir <[email protected]>
We currently have a regression where sourcekit-lsp stops working in
some packages, because swif...
* Forward definition requests when index lookup fails
If we're unable to look up a definition...
2840c7dac981218afee4e0a0010aea8312065ebb authored over 4 years ago by David Goldman <[email protected]>Revert "[test] Workaround an issue with createDirectory on Linux"
8449b1c76e3aef7a642537ca4637a5285ae9643a authored over 4 years ago by Ben Langmuir <[email protected]>This reverts commit 4644ffbe4f4f869908afb551dc4881d5967c75b5.
The underlying issue SR-12569 has...
caa30f1e4a99f053714eb9e5f646aa40b7f8d737 authored over 4 years ago by Ben Langmuir <[email protected]>While fallback arguments are being used (either from the fallback build system or fallback setti...
5977d611aa9a71b2b1b06898ed3b17508f075f33 authored over 4 years ago by David Goldman <[email protected]>Fix a number of resource leaks when using SourceKit-LSP in tests or as a library
e4b2b06bb46d63248cf28234c25ccc433e8a5d40 authored over 4 years ago by Ben Langmuir <[email protected]>
When using SourceKit-LSP in tests (or otherwise in a library), we do not
want to leak the toolch...
We should solve this in the JSONRPCConnection itself, but in the
meantime workaround by keeping ...
4a86e81984730de3f89e56da44e13f5ec19fb079 authored over 4 years ago by Ben Langmuir <[email protected]>
Typically this would create a reference cycle.
b4409ff23e76ae52aff5903daf26b6ccd09edc29 authored over 4 years ago by Ben Langmuir <[email protected]>[test] Fix notification handler test when run in serial
0ea45c7e6d275b4f45f53c5a40546e356dcecb18 authored over 4 years ago by Ben Langmuir <[email protected]>build: repair build on Windows
1b5fdceb898e639eec5b462b7768ce30c9871a73 authored over 4 years ago by Ben Langmuir <[email protected]>
Since utilities from isdb are used in our tests, override the toolchain
there as well.
The test was passing with --parallel since each test was being run in
its own process, but not w...
40525486b7bf65c4b4c055b142eb3d8b32710b3c authored over 4 years ago by Ben Langmuir <[email protected]>
This enables building SourceKit-LSP on Windows. This is sufficient to
repair the build, though ...
Expose SourceKitLSP library product
8c658783aac7fdf6b072a3b7647374ad179bbcfc authored over 4 years ago by Ben Langmuir <[email protected]>
It's not at all stable, so underscore it, but it may be useful for
experimentation.
Clarify its role, since it is not really an LSP-independent interface
right now.
[clang] Workaround module format issue with -gmodules
ab6ecdac93ca73044a328d9352c4215f255925c9 authored over 4 years ago by Ben Langmuir <[email protected]>[cmake] Attempt to update the build files for recent changes
9d8a5d41ce1d83a72ccf979f8172671b1ead901c authored over 4 years ago by Ben Langmuir <[email protected]>8fdcd164ae1b3791587bea83d9fa8c6670d7572a authored over 4 years ago by Ben Langmuir <[email protected]>
Update for files added/removed and the new sourcekitd target.
8520c8de10d78828fda7edc707f5a28bddf78a84 authored over 4 years ago by Ben Langmuir <[email protected]>
Clangd is not built with support for the "obj" format of modules, used
by e.g. `-gmodules`. Work...
[sourcekitd] Add support for having multiple notification handlers with correct sharing
f40f61087c5e47509dea8e0072ddfdc3d0153af5 authored over 4 years ago by Ben Langmuir <[email protected]>
Now that sourcekitd has its own module, clarify the naming of the
subdirectories in the primary ...
The notification handler and initialize/shutdown APIs all modify global
state within the service...
Protect ourselves from ever having multiple sourcekitd instances for the
same path live at once,...
0670fb5fc46e0b7a353eaac331ac55ac748190ab authored over 4 years ago by Ben Langmuir <[email protected]>
095ca6c9045282bdffffbe0f314b922675cf7de8 authored over 4 years ago by Ben Langmuir <[email protected]>
68691e5dc9ab373f191732d7e1050a2bd9add49f authored over 4 years ago by Ben Langmuir <[email protected]>
For now, we only have one concrete implementation in sourcekit-lsp
itself, but it is useful for ...
f9d26d6bcf37ac16d0c6bc6b3d5aee3293636fc5 authored over 4 years ago by Ben Langmuir <[email protected]>
* Send `didSave` notifications to clangd if it supports it
- Minor update to the LSP protocol...
8b57352f3b6f5d73eb545835a6dbb088fc581e81 authored over 4 years ago by David Goldman <[email protected]>Remove `settings(for:)` from the BuildSystem API in favor of the change callback
- With the `...
cf19900d846bdd9de21f40694f9ba74d5685b287 authored over 4 years ago by David Goldman <[email protected]>Remove `BuildSystemList`, merge it into `BuildSystemManager`
5cc541312d6221f58dbf38e2c3376eb98721ce61 authored over 4 years ago by David Goldman <[email protected]>Change-Id: Icc32bb2378973684ecd06fd3a665c221a0ee1f0b
8b78f3cd83d0ab15d5e5b11720232b6b8fb8c367 authored over 4 years ago by David Goldman <[email protected]>- As discussed [here](https://forums.swift.org/t/sourcekit-lsp-file-status-ux/35947) the `BuildS...
16d6e39f6aadbe7fcf52fd19a319880ff80f9ddc authored over 4 years ago by David Goldman <[email protected]>[build-script] Clean build directory
e999430cd6a23f4134d8fbec5628d644025c735c authored over 4 years ago by Ben Langmuir <[email protected]>0daa9fa5e39d8bae38c65cd4ba1f2d8d0d6c8d16 authored over 4 years ago by Ben Langmuir <[email protected]>
[vscode-extension] Run 'npm audit fix'
18576d1c834a6d86fcd284d90f6f7635a502946e authored over 4 years ago by Ben Langmuir <[email protected]>Fixes 2 vulnerabilities (1 low, 1 high).
36a352d588505979f9f12142d3ad44f1651cf2b8 authored over 4 years ago by Armand Grillet <[email protected]>[test] Fix data race in build system test
388ec3e7f98d592a943687a64c97e0b53713d522 authored over 4 years ago by Ben Langmuir <[email protected]>This seems more reliable for detecting failures in CI.
233ab60829fd370261376fa9a284215e904216ff authored over 4 years ago by Ben Langmuir <[email protected]>Found by tsan!
bcf7c017392293e5ed867c7ac6be3152068afbeb authored over 4 years ago by Ben Langmuir <[email protected]>[linux] Re-enable parallel testing after avoiding static destructors
5892c04d4f2b6480f59e163a7f43ee22081c2756 authored over 4 years ago by Ben Langmuir <[email protected]>Seems to be the newer version.
4c925df8e798f7224f501e190d8906ccbcee7c2b authored over 4 years ago by Ben Langmuir <[email protected]>rdar://61837752
b3e9a8ffba9bcfee3408d4f92fb2478369d5a1f6 authored over 4 years ago by Ben Langmuir <[email protected]>
After updating libsourcekitdInProc to stop exporting all of the llvm
symbols, we can now safely ...
To prevent crashes during `exit` caused by SR-12668, avoid running
static destructors. During te...
We have a couple of non-deterministic CI failures right now, and they
may be triggered by, or m...
* Add serverArguments extension configuration to allow setting flags for sourcekit-lsp
ef7e1c6a3cb56d641db58058941500b953174cc4 authored over 4 years ago by Ernie Turner <[email protected]>[5.3] [build-script] Remove hard-coded install prefix of /usr and pass it in instead
be0992002bc1d5094023559fa011131eebafa3f9 authored over 4 years ago by Mishal Shah <[email protected]>b7eba90adeb36ecf47e8b696fbd9671bf7ec0dd1 authored over 4 years ago by Butta <[email protected]>
Prettify hover response
a1e31bde7c802c7092636b6195afd4ea5a9e10c9 authored over 4 years ago by Ben Langmuir <[email protected]>Makes symbol name the same size as the rest of text, and puts a dividing line between declaratio...
b3a508d429d15ac1b22b95f6f9c501f27d2a42fc authored over 4 years ago by cukr <[email protected]>[build-script] Remove hard-coded install prefix of /usr and pass it in instead
bf8a1c2f31ee520670bdbf960080adfa785cbbbe authored over 4 years ago by Mishal Shah <[email protected]>[build-script] Add sanitizer flags
8efa31b73bb6c68c80ad4f280b9e2b81e03fca2f authored over 4 years ago by Ben Langmuir <[email protected]>
Add --sanitize to choose a specific sanitizer, or --sanitize-all to run
all the sanitizers in su...
Append working directory to swift compiler args when presented in build settings
ca96138352e05009e3b4a0e23c62c44bbc0d3f59 authored almost 5 years ago by Ben Langmuir <[email protected]>[test] Workaround an issue with createDirectory on Linux
e6448df304d5f02ca91640c2269bb8330ee09f3f authored almost 5 years ago by Ben Langmuir <[email protected]>
Apply the same workaround as we did in indexstore-db. We haven't seen
this particular instance f...
8b161688799a727b7c39698c3afc292ffd75edcd authored almost 5 years ago by Kanglei Fang <[email protected]>
[build-script] Add --parallel to supress output on success
233db3b2270c6b8220c38bd9a540f661d54a59e6 authored almost 5 years ago by Ben Langmuir <[email protected]>
Close the fd via the FileHandle rather than directly on the file
descriptor so that it does not ...
It's slightly faster and it helps supress the test output when tests
succeed (which avoids false...
c22352a5ffaa4e0668361c505b1b27d5c7047d73 authored almost 5 years ago by Kanglei Fang <[email protected]>
6cfa1977330007e28c70da375348cb077b05536d authored almost 5 years ago by Kanglei Fang <[email protected]>
3a9f27b7eba8ec5fabe130625ccd53983c57d574 authored almost 5 years ago by Kanglei Fang <[email protected]>
[gardening] Fix warning and missing test on Linux
733e79b10cd285cea3bbd7b0d94ef116cc026dd0 authored almost 5 years ago by Ben Langmuir <[email protected]>8b9f019d948f8ad4c20da010e1cd3befa780f0bd authored almost 5 years ago by Ben Langmuir <[email protected]>
Was missed after a recent test addition.
a912fc0025f9c32c6769ab5d52a12bfbb9457698 authored almost 5 years ago by Ben Langmuir <[email protected]>[sourcekitd] Add an option to completion request to sort results
e7a46c99857596ac7db0893906137274ce1f719a authored almost 5 years ago by Rintaro Ishizaki <[email protected]>rdar://problem/60799439
a27470dc71ebc03dfd41871dd3e94e59cce138d5 authored almost 5 years ago by Rintaro Ishizaki <[email protected]>1acf71d5659b4d2c16c5095f6a16edb9632b28a5 authored almost 5 years ago by Butta <[email protected]>
Disable testDependenciesUpdatedCXXTibs temporarily
babf190c1886ea3c1b4fe6017285a181ed09b182 authored almost 5 years ago by Ben Langmuir <[email protected]>https://bugs.swift.org/browse/SR-12378
4468fead4349c50c07b3278a194a8cbc530dbd72 authored almost 5 years ago by Ben Langmuir <[email protected]>* Support for clangd's go-to-definition for header files
- By forwarding the request to clang...
81e2688c5d61e7864b525c59b9628ec79af9d16b authored almost 5 years ago by David Goldman <[email protected]>[JSONRPC] Do not exit until outstanding I/O has finished
7d18d3bb3841594f443868bc172bcd8a84d756b9 authored almost 5 years ago by Ben Langmuir <[email protected]>
Specifically, we care that all outstanding **writes** are finished
before we call the close hand...
Adopt the new location of vendored TSC in SwiftPM
b00cff1116dee777e75e587f91bb6c2f8d6c2874 authored almost 5 years ago by Ankit Aggarwal <[email protected]>41c6425f26e507127f23c4abfae7694aa484033b authored almost 5 years ago by Ankit Aggarwal <[email protected]>
Make BuildSystemManager passthrough notifications fully `async
b92d27ed990679f643ef25ef4dcaad1fe8a9bf9e authored almost 5 years ago by Ben Langmuir <[email protected]>
This avoids having a gotcha in the API where if a build system calls
these methods while it is b...