Title: Feature: Language Server Protocol, Definition support · Issue #676 · processing/processing4 · GitHub
Open Graph Title: Feature: Language Server Protocol, Definition support · Issue #676 · processing/processing4
X Title: Feature: Language Server Protocol, Definition support · Issue #676 · processing/processing4
Description: Created by: Efratror Description Since there now is LSP support for processing, it would be nice if the server would be able to "find declarations" Expected Behavior Finding declarations is supported in the PDE, so it should also be avai...
Open Graph Description: Created by: Efratror Description Since there now is LSP support for processing, it would be nice if the server would be able to "find declarations" Expected Behavior Finding declarations is support...
X Description: Created by: Efratror Description Since there now is LSP support for processing, it would be nice if the server would be able to "find declarations" Expected Behavior Finding declarations ...
Opengraph URL: https://github.com/processing/processing4/issues/676
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature: Language Server Protocol, Definition support","articleBody":"*Created by: Efratror*\n\n## Description\r\nSince there now is [LSP](https://github.com/processing/processing4/pull/564) support for processing, it would be nice if the server would be able to \"find declarations\"\r\n\r\n## Expected Behavior\r\nFinding declarations is supported in the PDE, so it should also be available for the LS\r\n\r\n## Current Behavior\r\nFinding declarations isn't supported at the moment\r\n\r\n## Your Environment\r\n* Processing version: 4.2\r\n* Operating System and OS version: Windows 10\r\n\r\n## Possible Causes / Solutions\r\n- Add a declarationFinder class to the LSP folder\r\n- Use it to find a declaration using the AST from the preprocessor (Use \"InspectMode\" as an example)\r\n- Send (found) the declaration back to a LS-client\r\n\r\n\r\nI'm willing to implement this, so a PR is in the making\r\n","author":{"url":"https://github.com/processing-bot","@type":"Person","name":"processing-bot"},"datePublished":"2023-02-23T08:19:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/676/processing4/issues/676"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:303ca527-1084-0c05-1207-efbf4e31a33d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9738:36419E:321BFE0:417179F:696B8C88 |
| html-safe-nonce | a0cd6f39a52bce34e009a5ffeb9fb3303cad611737206d3263d60f66b9a21543 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzM4OjM2NDE5RTozMjFCRkUwOjQxNzE3OUY6Njk2QjhDODgiLCJ2aXNpdG9yX2lkIjoiNDUyMzkzMjA0Mjk3MzEyMTY3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f62252a6ef60c93d4975c39dae597da10d75e0fb538af5d2dfc4fb761db3b852 |
| hovercard-subject-tag | issue:2472642595 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/676/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bb04ea8617044a5abed66523a66537ebb8fdde20335b7829836fece1695ca1a3/processing/processing4/issues/676 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bb04ea8617044a5abed66523a66537ebb8fdde20335b7829836fece1695ca1a3/processing/processing4/issues/676 |
| og:image:alt | Created by: Efratror Description Since there now is LSP support for processing, it would be nice if the server would be able to "find declarations" Expected Behavior Finding declarations is support... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | processing-bot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width