Lennon’s Blog https://lennon.sh/blog A place to share my thoughts and experiences. en-US [email protected] (Lennon Wang) [email protected] (Lennon Wang) Wed, 24 Dec 2025 00:00:00 GMT https://lennon.sh/blog/tsserver-config-discovery 深入探索 TS Language Server 的配置发现机制 https://lennon.sh/blog/tsserver-config-discovery 本文通过分析 TypeScript 5.9.3 源码,深入剖析 tsserver 的配置发现与工程加载机制,包括就近发现、向上 Solution Searching 与向下 Project References 加载两条路径,并详解 disableSolutionSearching 与 disableReferencedProjectLoad 两个 compilerOptions 如何控制这一过程,帮助开发者理解并优化 monorepo 中的 Language Service 性能问题。 Wed, 24 Dec 2025 00:00:00 GMT [email protected] (Lennon Wang) tsservermonorepo