René's URL Explorer Experiment


Title: docs(plugins): 写明后端决定启动方式的语言服务器在立即生效的设置变化时重新调用启动函数取配置 by xiaoyumuxi · Pull Request #176 · Lithe-IDEA/Lithe-core-rust · GitHub

Open Graph Title: docs(plugins): 写明后端决定启动方式的语言服务器在立即生效的设置变化时重新调用启动函数取配置 by xiaoyumuxi · Pull Request #176 · Lithe-IDEA/Lithe-core-rust

X Title: docs(plugins): 写明后端决定启动方式的语言服务器在立即生效的设置变化时重新调用启动函数取配置 by xiaoyumuxi · Pull Request #176 · Lithe-IDEA/Lithe-core-rust

Description: 背景 后端决定启动方式(launch.kind: "backend")的语言服务器,启动函数的应答可以自带 workspaceConfiguration,例如 Python Support 1.0.0 起在应答里给 Pyrefly 发送「工具链」解析出的 python.pythonPath 和按设置换算出的 Pyrefly 设置。契约只写了“immediate 设置变化时宿主用 lsp.updateWorkspaceConfiguration 推送新值”,没有写这个新值从哪来。桌面端因此总是发送清单里声明的展开,整体替换掉应答里的配置(1lck/Lithe-IDEA#2319)。 这个 PR 只补文档,把桌面端修复采用的行为写进契约。Core 代码不变:plugins.languageServers.decodeLaunch 在应答不带 workspaceConfiguration 时本来就用声明的展开补上。 改动 契约 README: Workspace configuration 一节:新值整体替换原配置;后端决定启动方式且应答自带 workspaceConfiguration 的服务器,新值由启动函数重新给出,不用声明的展开。 Backend-resolved launch 一节新增一条:immediate 设置变化时,宿主用这次启动的目录、工作区 context 和新的 settings 再调用一次 function,同样解码,只发送计划里的 workspaceConfiguration,其余部分等下次启动。所以这类函数每次启动可能被调用多次,安装或下载只应在缺少时进行。应答不带 workspaceConfiguration 时,宿主发送声明的展开,不再调用函数。 reference/domains/languages.md(中英):工作区配置一段补同样的说明,后端启动表新增“设置立即生效”一行。 reference/domains/settings.md(中英):immediate 规则后补一句,后端决定启动方式的启动函数也会收到 immediate 设置,变化时只有它重新给出的 workspaceConfiguration 立即生效。 插件协议更新记录“待合入”新增本 PR 的条目(languageServers 0 内的说明补充)。 宿主方法 原计划编号 方法 用途 — — 没有新增或修改宿主方法、宿主通知 对现有插件的影响 Python Support 1.0.0 起:应答自带配置,设置立即生效时由启动函数重新给出,解释器路径不再丢失。 Rust Support:rustAnalyzer.launch 的应答不带 workspaceConfiguration,宿主不会再调用它(它可能执行 rustup component add),行为不变。 验证 node shared/plugins/scripts/verify-docs.mjs:通过。 只改文档,没有运行 Rust 测试。桌面端实现与回归测试在 1lck/Lithe-IDEA#2319 的修复 PR。

Open Graph Description: 背景 后端决定启动方式(launch.kind: "backend")的语言服务器,启动函数的应答可以自带 workspaceConfiguration,例如 Python Support 1.0.0 起在应答里给 Pyrefly 发送「工具链」解析出的 python.pythonPath 和按设置换算出的 Pyrefly 设置。契约只写了“immediate 设置变化时...

X Description: 背景 后端决定启动方式(launch.kind: "backend")的语言服务器,启动函数的应答可以自带 workspaceConfiguration,例如 Python Support 1.0.0 起在应答里给 Pyrefly 发送「工具链」解析出的 python.pythonPath 和按设置换算出的 Pyrefly 设置。契约只写了“immedia...

Opengraph URL: https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1ae173ac-c8c7-94d1-f337-76850b7d2bd7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB88A:21BA9D:B8A3C1:104D1F9:6B072262
html-safe-nonce6c3fbbdde1fda5ce72b59d126b1a8d4d94da09b7f433400f430003c26478f059
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODhBOjIxQkE5RDpCOEEzQzE6MTA0RDFGOTo2QjA3MjI2MiIsInZpc2l0b3JfaWQiOiIyODc0MTY3MDg5NTA0Mzk1ODc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7aea3e9245cfbb8e1b9a8aafcbb529a351f7a784bd208340c97199b49c47c91a
hovercard-subject-tagpull_request:5445042828
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files
twitter:imagehttps://avatars.githubusercontent.com/u/145102356?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/145102356?s=400&v=4
og:image:alt背景 后端决定启动方式(launch.kind: "backend")的语言服务器,启动函数的应答可以自带 workspaceConfiguration,例如 Python Support 1.0.0 起在应答里给 Pyrefly 发送「工具链」解析出的 python.pythonPath 和按设置换算出的 Pyrefly 设置。契约只写了“immediate 设置变化时...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5a20fe9aa5e45c6df9328a5ec3f167a7805856126d8bf72d810541ca01962ef9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/Lithe-IDEA/Lithe-core-rust git https://github.com/Lithe-IDEA/Lithe-core-rust.git
octolytics-dimension-user_id340144206
octolytics-dimension-user_loginLithe-IDEA
octolytics-dimension-repository_id1449354685
octolytics-dimension-repository_nwoLithe-IDEA/Lithe-core-rust
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1449354685
octolytics-dimension-repository_network_root_nwoLithe-IDEA/Lithe-core-rust
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6ce961d9a663a99bc4bcab9fd6ac5cca54bd6fcc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2FLithe-core-rust%2Fpull%2F176%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2FLithe-core-rust%2Fpull%2F176%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=Lithe-IDEA%2FLithe-core-rust
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files
Reloadhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files
Lithe-IDEAhttps://github.com/Lithe-IDEA
Lithe-core-rusthttps://github.com/Lithe-IDEA/Lithe-core-rust
Codehttps://github.com/Lithe-IDEA/Lithe-core-rust
Issues1 (1)https://github.com/Lithe-IDEA/Lithe-core-rust/issues
Pull requests2 (2)https://github.com/Lithe-IDEA/Lithe-core-rust/pulls
Actionshttps://github.com/Lithe-IDEA/Lithe-core-rust/actions
Projectshttps://github.com/Lithe-IDEA/Lithe-core-rust/projects
Security and qualityhttps://github.com/Lithe-IDEA/Lithe-core-rust/security
Insightshttps://github.com/Lithe-IDEA/Lithe-core-rust/insights
Sign up for GitHub https://github.com/signup?return_to=%2FLithe-IDEA%2FLithe-core-rust%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FLithe-IDEA%2FLithe-core-rust%2Fissues%2Fnew%2Fchoose
xiaoyumuxihttps://github.com/xiaoyumuxi
mainhttps://github.com/Lithe-IDEA/Lithe-core-rust/tree/main
docs/backend-launch-immediate-configurationhttps://github.com/Lithe-IDEA/Lithe-core-rust/tree/docs/backend-launch-immediate-configuration
Conversation 0 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176
Commits 2 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/commits
Checks 15 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/checks
Files changed https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files
docs(plugins): 写明后端决定启动方式的语言服务器在立即生效的设置变化时重新调用启动函数取配置 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#top
Show all changes 2 commits https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files
2cadd26 docs(plugins): 写明后端决定启动方式的语言服务器在立即生效的设置变化时重新调用启动函数取配置 xiaoyumuxi Nov 23, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/commits/2cadd2612b031d5323361c157871f186219ab134
1adc625 docs(plugins): 更新记录填上 PR 编号 #176 xiaoyumuxi Nov 23, 2026 https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/commits/1adc625e98596a964b05102934de31718515dde8
Clear filters https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files
README.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-5b3defe79f6648f76410ecc588526d6459e1f66f48305dd73e0c42e8cfc75f72
languages.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-3ead21d6673f4d2a9c65d686a24aecfff02f7a1d4b31c3351f4c600cf00d441f
settings.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-db522a92fc863040029c4a36fbe838a34d3ec166b7f46cf8cd4030d23e9af9b5
protocol-changelog.md https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-b1256ddd3df4587b48c0966049b4bdc0d591695f3c214a009efcb01692e1e160
shared/plugins/contract/v1/README.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-5b3defe79f6648f76410ecc588526d6459e1f66f48305dd73e0c42e8cfc75f72
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/1adc625e98596a964b05102934de31718515dde8/shared/plugins/contract/v1/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-5b3defe79f6648f76410ecc588526d6459e1f66f48305dd73e0c42e8cfc75f72
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-5b3defe79f6648f76410ecc588526d6459e1f66f48305dd73e0c42e8cfc75f72
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-5b3defe79f6648f76410ecc588526d6459e1f66f48305dd73e0c42e8cfc75f72
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-5b3defe79f6648f76410ecc588526d6459e1f66f48305dd73e0c42e8cfc75f72
shared/plugins/reference/domains/languages.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-3ead21d6673f4d2a9c65d686a24aecfff02f7a1d4b31c3351f4c600cf00d441f
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/1adc625e98596a964b05102934de31718515dde8/shared/plugins/reference/domains/languages.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-3ead21d6673f4d2a9c65d686a24aecfff02f7a1d4b31c3351f4c600cf00d441f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-3ead21d6673f4d2a9c65d686a24aecfff02f7a1d4b31c3351f4c600cf00d441f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-3ead21d6673f4d2a9c65d686a24aecfff02f7a1d4b31c3351f4c600cf00d441f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-3ead21d6673f4d2a9c65d686a24aecfff02f7a1d4b31c3351f4c600cf00d441f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-3ead21d6673f4d2a9c65d686a24aecfff02f7a1d4b31c3351f4c600cf00d441f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-3ead21d6673f4d2a9c65d686a24aecfff02f7a1d4b31c3351f4c600cf00d441f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-3ead21d6673f4d2a9c65d686a24aecfff02f7a1d4b31c3351f4c600cf00d441f
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-3ead21d6673f4d2a9c65d686a24aecfff02f7a1d4b31c3351f4c600cf00d441f
shared/plugins/reference/domains/settings.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-db522a92fc863040029c4a36fbe838a34d3ec166b7f46cf8cd4030d23e9af9b5
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/1adc625e98596a964b05102934de31718515dde8/shared/plugins/reference/domains/settings.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-db522a92fc863040029c4a36fbe838a34d3ec166b7f46cf8cd4030d23e9af9b5
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-db522a92fc863040029c4a36fbe838a34d3ec166b7f46cf8cd4030d23e9af9b5
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-db522a92fc863040029c4a36fbe838a34d3ec166b7f46cf8cd4030d23e9af9b5
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-db522a92fc863040029c4a36fbe838a34d3ec166b7f46cf8cd4030d23e9af9b5
shared/plugins/reference/protocol-changelog.mdhttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-b1256ddd3df4587b48c0966049b4bdc0d591695f3c214a009efcb01692e1e160
View file https://github.com/Lithe-IDEA/Lithe-core-rust/blob/1adc625e98596a964b05102934de31718515dde8/shared/plugins/reference/protocol-changelog.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-b1256ddd3df4587b48c0966049b4bdc0d591695f3c214a009efcb01692e1e160
https://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files#diff-b1256ddd3df4587b48c0966049b4bdc0d591695f3c214a009efcb01692e1e160
Please reload this pagehttps://github.com/Lithe-IDEA/Lithe-core-rust/pull/176/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.