Commit Graph

  • 5471f7e97a Merge pull request #1105 from mustiikhalil/issue-939-refactor-will-edit-doc swift-DEVELOPMENT-SNAPSHOT-2024-03-05-a Alex Hoppen 2024-03-05 01:45:08 -08:00
  • 5e2fc40b8c Report whether sourcekit-lsp supports the workspace/tests and textDocument/tests requests Alex Hoppen 2024-03-01 18:01:53 -08:00
  • 9e6e52a8d3 Use logic in swift-syntax to translate sequential edits to concurrent edits Alex Hoppen 2024-03-04 22:35:32 -08:00
  • f7f2cea7c5 Refactor willEditDocument in favor of SourceEdits mustiikhalil 2024-03-05 07:00:58 +01:00
  • 9fcf3645e9 Fix race condition in rename Alex Hoppen 2024-03-04 17:29:06 -08:00
  • 8ea9c534f3 Add Sendable annotations to SKSupport Alex Hoppen 2024-03-03 21:46:12 -08:00
  • 0d906012d2 Add Sendable annotations to LSPLogging Alex Hoppen 2024-03-03 21:20:25 -08:00
  • fa54ef1748 Add Sendable annotations to LanguageServerProtocol Alex Hoppen 2024-03-03 21:12:43 -08:00
  • cbb5693208 Merge pull request #1102 from ahoppen/ahoppen/class-hierarchy-rename swift-DEVELOPMENT-SNAPSHOT-2024-03-04-a swift-DEVELOPMENT-SNAPSHOT-2024-03-03-a Alex Hoppen 2024-03-02 13:57:48 -08:00
  • b2b66ca3c1 Support rename of functions across class hiearchies and protocols Alex Hoppen 2024-02-28 23:16:53 -08:00
  • 6f94d86305 Merge pull request #1103 from ahoppen/ahoppen/call-hierarchy-look-through-protocols Alex Hoppen 2024-03-02 07:29:38 -08:00
  • db633b5d11 Merge pull request #1114 from ahoppen/ahoppen/no-internal-name-in-snippet Alex Hoppen 2024-03-02 07:28:56 -08:00
  • 5405807896 Merge pull request #1108 from ahoppen/ahoppen/diagnose-progress-bar Alex Hoppen 2024-03-02 00:23:06 -08:00
  • edfe80dcdd Merge pull request #1076 from ahoppen/ahoppen/no-implicit-references Alex Hoppen 2024-03-02 00:22:01 -08:00
  • a4b48f466c Merge pull request #1109 from ahoppen/ahoppen/no-log-error-no-package-manifest Alex Hoppen 2024-03-02 00:21:37 -08:00
  • 71037eb522 Merge pull request #1113 from ahoppen/ahoppen/remove-format-task Alex Hoppen 2024-03-02 00:07:30 -08:00
  • d9c5f32fba Merge pull request #1111 from ahoppen/ahoppen/infer-closure-indentation Alex Hoppen 2024-03-01 21:44:30 -08:00
  • a0453673f5 Don’t include internal parameter names in LSP snippets Alex Hoppen 2024-03-01 21:37:53 -08:00
  • fb2826c82b Merge pull request #1110 from ahoppen/ahoppen/update-closure-expansion-tests Alex Hoppen 2024-03-01 19:57:56 -08:00
  • 7c9a6e47e1 Remove the “Run swift-format” task Alex Hoppen 2024-03-01 18:06:21 -08:00
  • d51c92a01b Infer indentation of the current source file when expanding trailing closures Alex Hoppen 2024-03-01 17:39:01 -08:00
  • 20b23a2105 Update closure expansion tests for improved formatting in swift-syntax Alex Hoppen 2024-03-01 17:26:32 -08:00
  • 5d17ee3c26 Don’t log error if workspace root doesn’t contain Swift package manifest Alex Hoppen 2024-03-01 17:01:04 -08:00
  • 96ab4a7776 Add a progress bar to the diagnose subcommand Alex Hoppen 2024-03-01 08:19:54 -08:00
  • 8fa839ca73 Show calls to satisfied protocol requirements in call hierarchy Alex Hoppen 2024-02-28 23:28:30 -08:00
  • cca217741a De-duplicate results from find references Alex Hoppen 2024-02-29 10:24:09 -08:00
  • 331f16dca7 Merge pull request #1091 from ahoppen/ahoppen/markdown-documentation Alex Hoppen 2024-03-01 14:05:12 -08:00
  • e6080e0d9c Merge pull request #1084 from ahoppen/ahoppen/more-diagnose-info Alex Hoppen 2024-03-01 13:53:15 -08:00
  • 2584ba5f5e Add more information to the diagnostic bundle Alex Hoppen 2024-02-23 19:09:06 -08:00
  • 747d2f380f Merge pull request #1106 from ahoppen/ahoppen/fix-it-applier swift-DEVELOPMENT-SNAPSHOT-2024-03-01-a Alex Hoppen 2024-03-01 02:25:39 -08:00
  • d64a4ab136 Merge pull request #1095 from ahoppen/ahoppen/sort-index-results Alex Hoppen 2024-03-01 02:21:33 -08:00
  • e9d894c8e8 Merge pull request #1092 from ahoppen/ahoppen/diagnose-improvements Alex Hoppen 2024-03-01 02:19:32 -08:00
  • 31b7fb7dbe [Diagnose] Allow passing --position to sourcekit-lsp run-sourcekitd-request Alex Hoppen 2024-02-26 20:06:32 -08:00
  • 9b8ed7677e [Diagnose] Print error message if sourcekit-lsp run-sourcekitd-request fails Alex Hoppen 2024-02-26 20:03:59 -08:00
  • decbebad96 [Diagnose] Remove key.sourcetext from the request Alex Hoppen 2024-02-26 20:01:13 -08:00
  • 7f7a76918f Support reduction of requsts that don’t have an offset Alex Hoppen 2024-02-26 20:00:30 -08:00
  • 9d0c3e5261 Use FixItApplier from SwiftSyntax Alex Hoppen 2024-02-29 16:27:00 -08:00
  • 8371d9db83 Merge pull request #1072 from ahoppen/ahoppen/expand-trailing-closure Alex Hoppen 2024-02-29 20:03:42 -08:00
  • 4dea06108a Merge pull request #1104 from ahoppen/ahoppen/file-handling-capability-logging Alex Hoppen 2024-02-29 16:15:06 -08:00
  • 0b2ca89903 Ensure we handle multiple results returned by the index correctly Alex Hoppen 2024-02-29 13:05:52 -08:00
  • fef3cb8f64 Sort results returned by the index Alex Hoppen 2024-02-27 18:22:57 -08:00
  • 6087ce50ef Merge pull request #1096 from ahoppen/ahoppen/format-command-plugin Alex Hoppen 2024-02-29 09:48:07 -08:00
  • c6953d1554 Merge pull request #1087 from ahoppen/ahoppen/call-hierarchy Alex Hoppen 2024-02-29 09:46:55 -08:00
  • 5c3b06cbd7 Merge pull request #1100 from ahoppen/ahoppen/no-parens Alex Hoppen 2024-02-29 09:40:10 -08:00
  • fd12d9df4c Add some logging for testRecomputeFileWorkspaceMembershipOnPackageSwiftChange Alex Hoppen 2024-02-29 09:38:42 -08:00
  • e2e5b7d159 Merge pull request #1079 from ahoppen/ahoppen/sourcekitd-crash-status Alex Hoppen 2024-02-28 23:00:13 -08:00
  • 8d6bf84c74 Don’t include parentheses in Prepare Rename result if function has no parameters Alex Hoppen 2024-02-28 21:51:14 -08:00
  • aeeb7d4ead Merge pull request #1099 from ahoppen/ahoppen/rename-param-ref Alex Hoppen 2024-02-28 20:19:50 -08:00
  • cc6b4abb84 Merge pull request #1090 from ahoppen/ahoppen/remove-logging-dependency-from-sourcekitd swift-DEVELOPMENT-SNAPSHOT-2024-02-29-a Alex Hoppen 2024-02-28 12:12:04 -08:00
  • 7d6555c108 Merge pull request #1081 from ahoppen/ahoppen/implicit-workspace Alex Hoppen 2024-02-28 12:03:23 -08:00
  • b6f5fbe3fc Support rename of function parameters from variables that reference them Alex Hoppen 2024-02-28 10:54:46 -08:00
  • ff32570b08 Show an indicator in the client if sourcekitd has crashed Alex Hoppen 2024-02-22 17:20:21 -08:00
  • 884b1f595e Merge pull request #1082 from ahoppen/ahoppen/rename-param-vars Alex Hoppen 2024-02-28 09:43:27 -08:00
  • dec57f9ec0 Merge pull request #1085 from ahoppen/ahoppen/capability-registry Alex Hoppen 2024-02-28 09:42:46 -08:00
  • aff620481f In call hierarchy look through variable accessors and show surrounding function call Alex Hoppen 2024-02-23 23:23:47 -08:00
  • d12b258d99 Rename SourceKitDImpl to DynamicallyLoadedSourceKitD Alex Hoppen 2024-02-24 09:10:14 -08:00
  • d76e9059bf Provide semantic functionality for packages that are subdirectories of a workspace folder Alex Hoppen 2024-02-23 00:34:10 -08:00
  • 5589caad16 Merge pull request #1086 from ahoppen/ahoppen/push-diags-in-tests Alex Hoppen 2024-02-27 22:04:35 -08:00
  • 7cc467d300 Add swift-format to the dependencies so the Format Swift Code command plugin can be used to format the codebase Alex Hoppen 2024-02-27 19:19:31 -08:00
  • 1877d470a3 Use pull diagnostics by default in tests Alex Hoppen 2024-02-23 22:23:29 -08:00
  • 5d8ebc3ae7 Merge pull request #1093 from ahoppen/ahoppen/sleep Alex Hoppen 2024-02-27 15:26:30 -08:00
  • fd6c668f7c Sleep sourcekit-lsp’s main thread for 10 years instead of leaking a continuation Alex Hoppen 2024-02-27 11:40:13 -08:00
  • a6b8cbecad Emit raw documentation comments instead of parsing XML Alex Hoppen 2024-02-26 19:55:23 -08:00
  • 8d31abceda Modernize hover tests Alex Hoppen 2024-02-26 18:11:19 -08:00
  • 8066447e93 Move hover tests into their own file Alex Hoppen 2024-02-26 18:08:26 -08:00
  • 7f2234cb70 Merge pull request #1078 from ahoppen/ahoppen/dont-check-document-out-of-date Alex Hoppen 2024-02-24 22:11:03 -08:00
  • 37198b5ac7 Merge pull request #1083 from ahoppen/ahoppen/no-compiler-args-message Alex Hoppen 2024-02-24 22:10:48 -08:00
  • 755868a330 Merge pull request #1074 from ahoppen/ahoppen/dont-report-definition-and-declaration Alex Hoppen 2024-02-24 22:10:27 -08:00
  • 90c124c369 Expand trailing closures of code completion items Alex Hoppen 2024-02-19 20:07:52 -08:00
  • 5f69147bf9 Remove logging dependency from SourceKitD Alex Hoppen 2024-02-24 09:08:06 -08:00
  • a6c236ea94 Work around a compiler assertion failure rdar://116221716 Alex Hoppen 2024-02-24 08:23:16 -08:00
  • a60690858c Show message in the client if no compiler arguments could be found for a file Alex Hoppen 2024-02-23 18:05:04 -08:00
  • 4269e90f13 Merge pull request #1056 from ahoppen/ahoppen/sourcekitd-functions Alex Hoppen 2024-02-23 23:26:48 -08:00
  • 0ce6802025 Simplify CapabilityRegistry Alex Hoppen 2024-02-23 21:30:06 -08:00
  • cc4327dc9b Merge pull request #1077 from ahoppen/ahoppen/de-dupe-definitions Alex Hoppen 2024-02-23 17:06:08 -08:00
  • 67e45bde7b Merge pull request #1075 from ahoppen/ahoppen/disable-syntactic-open-edit-options Alex Hoppen 2024-02-23 17:05:48 -08:00
  • 74404ad86b Merge pull request #1080 from ahoppen/ahoppen/semantic-tokens-fallback Alex Hoppen 2024-02-23 16:59:59 -08:00
  • 6b2b70207b Rename references to function parameters inside function bodies Alex Hoppen 2024-02-23 16:31:12 -08:00
  • f5ea4eb598 Split RenameTests and CrossLanguageRenameTests to separate files Alex Hoppen 2024-02-23 13:06:02 -08:00
  • 05c8968d99 Merge pull request #1070 from ahoppen/ahoppen/invalid-compilation-db Alex Hoppen 2024-02-23 12:21:10 -08:00
  • f5fb23ad4c Rename sourcekitd_ to sourcekitd_api_ and add nullability annotations to sourcekit_functions.h Alex Hoppen 2024-02-15 21:11:10 -08:00
  • 3d82a89d32 If sourcekitd doesn't support the semantic tokens request, return results from swift-syntax Alex Hoppen 2024-02-22 22:19:25 -08:00
  • 82936eb70a Fix typos in SourceKitServer.swift Alex Hoppen 2024-02-22 20:42:16 -08:00
  • ff2b27acd0 Only report a single item in prepareCallHierarchy Alex Hoppen 2024-02-20 20:19:55 -08:00
  • acff38b788 Merge pull request #1058 from ahoppen/ahoppen/skdrequestvalue Alex Hoppen 2024-02-22 17:33:40 -08:00
  • 9198a002af Merge pull request #1057 from ahoppen/ahoppen/missing-dependency Alex Hoppen 2024-02-22 17:33:26 -08:00
  • 1379c5209e Only check if a document has been modified while loading diagnostics during publishDiagnostics Alex Hoppen 2024-02-22 10:33:32 -08:00
  • a2080999a2 Remove TokenFinder Alex Hoppen 2024-02-22 10:13:20 -08:00
  • 6c53c64915 Fail rename tests if no rename test markers exist in source Alex Hoppen 2024-02-22 10:12:50 -08:00
  • 015e48669a Merge pull request #1073 from ahoppen/ahoppen/adjust-completion-pos-using-swiftsyntax Alex Hoppen 2024-02-21 21:40:18 -08:00
  • 7514ad9287 Merge pull request #1051 from ahoppen/ahoppen/rename-from-param Alex Hoppen 2024-02-21 19:47:00 -08:00
  • 61dde3ff52 De-dupe locations returned from the defintions request Alex Hoppen 2024-02-21 19:42:13 -08:00
  • 2177a58223 Merge pull request #1071 from ahoppen/ahoppen/reload-package-progress-stuck Alex Hoppen 2024-02-21 18:58:09 -08:00
  • 6507937771 Merge pull request #1067 from ahoppen/ahoppen/jumbled-format-response Alex Hoppen 2024-02-21 17:04:12 -08:00
  • e16f8c63bf Merge pull request #1068 from ahoppen/ahoppen/cancel-publish-diags Alex Hoppen 2024-02-21 16:17:01 -08:00
  • 6b0786ef00 Merge pull request #1069 from ahoppen/ahoppen/diagnose-tests-with-xcode-toolchain Alex Hoppen 2024-02-21 16:14:05 -08:00
  • 9dd5f1dbf8 Find completion start position using swift-syntax instead of ASCII-based implemenation Alex Hoppen 2024-02-20 09:13:07 -08:00
  • f7f474a0c8 Don’t crash if a compilation database is malformed JSON Alex Hoppen 2024-02-19 15:50:44 -08:00
  • 28d00a9eef Merge pull request #1066 from ahoppen/ahoppen/nested-mark-comments Alex Hoppen 2024-02-21 15:37:32 -08:00
  • 8bd393ab9f Don’t request syntactic information from sourcekitd on open and edit Alex Hoppen 2024-02-21 15:28:49 -08:00